Ankündigung

Einklappen
Keine Ankündigung bisher.

Debian9.5 und pip3 Problem

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Vielen Dank für die Hilfe!

    Ich habe die VM neuinstalliert - aber diesmal mit dem netinstaller ISO image. Habe anschließend sofort deine Befehle ausgeführt und siehe da es hat funktioniert.

    Der Server läuft soweit wieder :-) yuhu - endlich wieder eine VISU.


    Ich habe jetzt nur noch eine Kleinigkeit und frage einfach mal:
    Wie lauten die Einstellungen für smartVISU und smarthome.py in der plugin.yaml. Läut beides auf dem selben Server. SmartVISU bekommt nur noch keine Verbindung. Die knxd_opts laufen, also mit dem groupwrites Befehl auf commandline kann ich arbeiten.

    Code:
    # Bereitstellung eines Websockets zur Kommunikation zwischen SmartVISU und SmartHomeNG
    websocket:
        plugin_name: visu_websocket
    #    ip: 192.168.2.245
    #    port: 2424
    #    tls: no
        wsproto: 4
        acl: rw
    Schon jetzt ein herzliches Dankeschön.

    Log von der smartVISU UI:
    Code:
     [h=2]Log[/h][LIST][*]26.10.2018 16:13:07Client 192.168.2.104:58709 requested invalid series: env.core.memory.[*]26.10.2018 16:13:07Client 192.168.2.104:58709 requested invalid series: env.core.threads.[*]26.10.2018 16:13:07Client 192.168.2.104:58709 requested invalid series: env.system.load.[*]26.10.2018 16:13:06Client 192.168.2.104:58707 requested invalid series: env.core.memory.[*]26.10.2018 16:13:06Client 192.168.2.104:58707 requested invalid series: env.core.threads.[*]26.10.2018 16:13:06Client 192.168.2.104:58707 requested invalid series: env.system.load.[*]26.10.2018 16:13:04CLI: You should set a password for this plugin.[/LIST]

    Kommentar


      #17
      Bei mir steht unter anderem für die Visu dieser Abschnitt drin:
      Code:
      WebSocket:
          class_name: WebSocket
          class_path: plugins.visu_websocket
          # ip='0.0.0.0'
          # port=2424
          # tls: no
          wsproto: 4
          # acl: ro
      Sollte also das gleiche sein wie bei Dir. Das Du obige Fehlermeldungen bekommst liegt vermutlich woanders dran. Wie sieht Dein komplettes log aus?

      Kommentar


        #18
        Hier die Plugin.yaml
        Code:
        %YAML 1.1
        ---
        BackendServer:
            plugin_name: backend
            #updates_allowed: False
        
        cli:
            plugin_name: cli
            ip: 0.0.0.0
            #port: 2323
            update: True
            #hashed_password: 1245a9633edf47b7091f37c4d294b5be5a9936c81c5359b16d1c48337$
        
        # memlog:
        #     class_name: MemLog
        #     class_path: plugins.memlog
        #     name: alert
        
        # knx:
        #     class_name: KNX
        #     class_path: plugins.knx
        #     host: 127.0.0.1
        #     port: 6720
        #     send_time: 600    # update date/time every 600 seconds, default none
        #     time_ga: 6/0/0    # default none
        #     date_ga: 6/0/1    # default none
        #     busmonitor: True  # log all knx messages, default false
        #     readonly: True    ## don't write to knx bus, default false"
        #     instance: default
        
        # ow:
        #     class_name: OneWire
        #     class_path: plugins.onewire
        #     host: 127.0.0.1
        #     port: 4304
        
        # Bereitstellung eines Websockets zur Kommunikation zwischen SmartVISU und SmartHomeNG
        websocket:
            class_name: WebSocket
            class_path: plugins.visu_websocket
            # ip='0.0.0.0'
            # port=2424
            # tls: no
            wsproto: 4
            # acl: ro
        
        # Autogenerierung von Webseiten für SmartVISU
        smartvisu:
            class_name: SmartVisu
            class_path: plugins.visu_smartvisu
        #    # '"neue" Linux Versionen (z.B. Debian > 8.x, Ubuntu > 14.x)'
            smartvisu_dir: /var/www/html/smartVISU
        #
        #    # nur \"alte\" Linux-Variationen
        #    # smartvisu_dir: /var/www/smartVISU
        #    # generate_pages: True
        #    # handle_widgets: True
        #    # overwrite_templates: Yes
        #    # visu_style: blk
        
        sql:
            class_name: SQL
            class_path: plugins.sqlite_visu2_8
        
        # apcups:
        #     class_name: APCUPS
        #     class_path: plugins.apcups
        #     host: localhost
        #     port: 3551
        
        # dmx1:
        #     class_name: ArtNet
        #     class_path: plugins.artnet
        #     artnet_subnet: 0
        #     artnet_net: 0
        #     artnet_universe: 0
        #     ip: 192.168.1.123
        #     port: 6454
        
        # ast:
        #     class_name: Asterisk
        #     class_path: plugins.asterisk
        #     username: admin
        #     password: secret
        #     host: 127.0.0.1    # default
        #     port: 5038    # default
        
        # fb1:
        #     class_name: AVM
        #     class_path: plugins.avm
        #     username: ...    # optional
        #     password: '...'
        #     host: fritz.box
        #     port: 49443
        #     cycle: 300
        #     ssl: True    # use https or not
        #     verify: False    # verify ssl certificate
        #     call_monitor: 'True'
        #     call_monitor_incoming_filter: "...    ## optional, don't set if you don't want to watch only one specific number with your call monitor"
        #     avm_identifier: fritzbox_1
        
        # boxcar:
        #     class_name: Boxcar
        #     class_path: plugins.boxcar
        #     apikey: abcdefghij123456    # Get it from your Boxcar Account
        #     email: your@mail.org    # Registered with Boxcar
        
        # comfoair:
        #     class_name: ComfoAir
        #     class_path: plugins.comfoair
        #     kwltype: comfoair350    # Currently supported: comfoair350 and comfoair500
        #     host: 192.168.123.6    # Provide host and port if you want to use TCP connection (for a TCP to serial converter)
        #     port: 5555    # Port
        #     serialport: /dev/ttyUSB0    # Enable this if you want to use a serial connection
        
        # datalog:
        #     class_name: DataLog
        #     class_path: plugins.datalog
        #     path: var/log/data
        #     filepatterns:
        #       - default:{log}-{year}-{month}-{day}.csv
        #       - yearly:{log}-{year}.csv
        #     logpatterns: csv:{time};{item};{value}\n
        #     cycle: 300
        
        # dlms:
        #     class_name: DLMS
        #     class_path: plugins.dlms
        #     serialport: /dev/ttyO1
        #     baudrate: 300    # default 300
        #     update_cycle: 20    # default 20
        #     use_checksum: no    # default no
        #     reset_baudrate: no    # default no
        #     no_waiting: yes    # default yes
        
        # dmx:
        #     class_name: DMX
        #     class_path: plugins.dmx
        #     tty: /dev/usbtty...
        #     interface: nanodmx
        
        # DuW:
        #     class_name: DuW
        #     class_path: plugins.drexelundweiss
        #     tty: /dev/ttyUSB0
        #     Busmonitor: 1
        #     LU_ID: 130
        #     WP_ID: 140
        
        # squeezebox:
        #     class_name: Squeezebox
        #     class_path: plugins.squeezebox
        #     host: squeezeserver
        #     # port: <port>
        
        uzsu:
            class_name: UZSU
            class_path: plugins.uzsu
        
        # simulation:
        #     class_name: Simulation
        #     class_path: plugins.simulation
        #     data_file: /usr/local/smarthome/var/db/simulation.txt
        
        # nw:
        #     class_name: Network
        #     class_path: plugins.network
        #     ip: 0.0.0.0
        #     port: 2727
        #     http: 8765
        #     tcp_acl:
        #       - 127.0.0.1
        #       - 192.168.0.34
        #     udp: 'no'
        #     udp_acl: '*'
        
        # wol:
        #     class_name: WakeOnLan
        #     class_path: plugins.wol
        
        # homematic:
        #     class_name: Homematic
        #     class_path: plugins.homematic
        #     host: 192.168.50.250
        #     port: 2001
        smarthome.py log:
        Code:
        2018-10-27  10:28:46 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:28:46 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:30:46 WARNING  __main__          SmartHomeNG stopped
        2018-10-27  10:30:47 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:30:47 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:41:39 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:41:39 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:47:13 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:47:13 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:48:13 WARNING  __main__          SmartHomeNG stopped
        2018-10-27  10:48:13 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:48:13 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:56:04 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:56:04 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:56:31 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:56:31 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        2018-10-27  10:57:47 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (c4e9acc3)   --------------------
        2018-10-27  10:57:47 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
        Innerhalb der smartVISU wird im Bereich Einstellungen -> SmartHome.py der Busmonitor angezeigt. Verbindung besteht anscheinend. Schalten lässt sich jedoch trotzdem nichts.
        Zuletzt geändert von floho; 27.10.2018, 09:59.

        Kommentar


          #19
          Wenn die '#' bei der plugin.yaml vom knx-Teil entfernst, sollte das Schalten gehen.

          Hast Du die Plugins auf dem neuesten Stand? Also passend zum Master Branch?

          Siehst Du im Backend unter Items was?

          Kommentar


            #20
            Habe es jetzt mal reingenommen, auch so wie es in der Anleitung unter Konfiguration steht.
            Code:
             knx:
                 class_name: KNX
             #    class_path: plugins.knx
                 host: 127.0.0.1
                 port: 6720
            #     send_time: 600    # update date/time every 600 seconds, default none
            #     time_ga: 20/0/1    # default none
            #     date_ga: 20/0/2    # default none
            #     busmonitor: false  # log all knx messages, default false
            #     readonly: false    ## don't write to knx bus, default false"
            #     instance: default
            Die Smarthome NG Weboberfläche startet jetzt nicht mehr.
            SmartHomeNG

            http-Modul von SmartHomeNG.

            Diese Seite wird angezeigt, da (noch) keine Weiterleitung in ../etc/module.yaml festgelegt wurde
            Die Plugins habe ich gestern erst von GIT Repo geklont. Sollten also aktuell sein. Außer es gibt noch eine weitere Update Methode?

            Meine Items habe ich von den conf in die yaml Konfigurationsdateien übernommen. Bevor ich den KNX Bereich in die plugins.yaml aufgenommen habe konnte ich dort auch etwas sehen. Jetzt leider nicht mehr da die obige Fehlermeldung erscheint. Das schalten innerhalb der "items" hat nicht funktioniert. Mit dem groupwirtes Befehl auf kommandozeile hat es geklappt.

            Kommentar

            Lädt...
            X