Ankündigung

Einklappen
Keine Ankündigung bisher.

OneWire Binding

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

    OneWire Binding

    Hallo,

    ich habe aktuell ein Problem mit dem OneWire-Binding. OWServer läuft auf der gleichen Maschine wie OpenHAB2. Verbindung steht. Im log bekomme ich folgende Meldungen:

    Code:
    [ERROR] [ding.onewire.internal.OneWireBinding] Set Item for itemName=Temperatur_KG_Flur to Undefined, because the readvalue is null
    Mein Item sieht so aus:
    Code:
     Number Temperature_KG_Flur  "KG Flur [%.1f °C]"  <temperature> { onewire="deviceId=28.B9B11B;propertyName=temperature;refreshinterval=60" }
    Hat jemand eine Idee woran das liegen kann?

    Vielen Dank
    Marcus

    #2
    Keiner eine Idee woran es liegen kann oder fehlen noch weitere Infos?

    Kommentar


      #3
      Hast Du Meldungen im log über Onewire (also openhab.log)?

      Kommentar


        #4
        Ja, die Fehlermeldung erscheint im Log von Openhab. Bin gerade nicht sicher ob im events.log oder im openhab.log. Müsste ich heute abend mal nachsehen wo es genau drin steckt.

        Kommentar


          #5
          Ich meinte jetzt eigentlich, ob es noch andere Fehlermeldungen zum onewire binding gibt, insbesondere in der Startphase.

          Hast Du andere Items, die mit onewire verbunden sind und funktionieren?

          Kommentar


            #6
            Achso
            Nin, es gibt keine Fehlermeldungen. Es gibt die Meldung, dass ich mich erfolgreich mit dem Server verbunden habe und dann kommt auch schon diese Meldung.
            Das Problem tritt mit allen meinem items auf, die mit onewire verbunden sind.

            Kommentar


              #7
              Wie sieht Deine onewire.cfg aus?

              Kommentar


                #8
                So sieht die onewire.cfg aktuell bei mir aus.

                Code:
                # OwServer IP address 
                ip=127.0.0.1
                
                # OwServer Port (optional, defaults to 4304)
                port=4304
                
                # the retry count in case no valid value was returned 
                # upon read (optional, defaults to 3)
                retry=5
                
                # defines which temperature scale owserver should return temperatures in. Valid
                # values are CELSIUS, FAHRENHEIT, KELVIN, RANKIN (optional, defaults to CELSIUS).
                tempscale=CELSIUS
                
                # only changed values are posted to the event-bus, (optinal, defaults to true - values true or false)
                post_only_changed_values=false

                Kommentar


                  #9
                  Und die Konfiguration vom OW-Server lauscht auch auf 127.0.0.1? Ich hab kein Onewire, das wäre nur so ne Idee...

                  Kommentar


                    #10
                    Nur ein kleiner Beitrag: irgendwas funktioniert da nicht, im OH geht da garnix und es liegt hier nicht an fehlenden 1w Sensoren

                    Code:
                    tux-mm-mint:~$ ssh openhabian@openhabianpi.local
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Wed Nov  8 19:15:46 2017 from 172.17.3.116
                    
                    ###############################################################################
                    ################# openHABianPi #################################### 7.05.170509 
                    ###############################################################################
                    ##        Ip = 172.17.3.136
                    ##   Release = Raspbian GNU/Linux 8 (jessie)
                    ##    Kernel = Linux 4.9.35-v7+
                    ##  Platform = Raspberry Pi 2 Model B Rev 1.1
                    ##    Uptime = 3 day(s). 0:42:10
                    ## CPU Usage = 0 % avg over 4 cpu(s)  (4 core(s) x 1 socket(s))
                    ##  CPU Load = 1m: 0.00, 5m: 0.00, 15m: 0.00
                    ##    Memory = Free: 0.38GB (40%), Used: 0.55GB (60%), Total: 0.94GB
                    ##      Swap = Free: 0.09GB (100%), Used: 0.00GB (0%), Total: 0.09GB
                    ##      Root = Free: 11.93GB (85%), Used: 1.99GB (15%), Total: 14.54GB
                    ##   Updates = 0 apt-get updates available.
                    ##  Sessions = 1 sessions
                    ## Processes = 121 running processes of 32768 maximum processes
                    ###############################################################################
                    
                                  Welcome to            __  _____    ____  _
                                ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
                               / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
                              / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
                              \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
                                  /_/
                                      openHAB 2.1.0-1 (Release Build)
                    
                    
                    Looking for a place to get started? Check out 'sudo openhabian-config' and the
                    documentation at http://docs.openhab.org/installation/openhabian.html
                    The openHAB dashboard can be reached at http://openHABianPi:8080
                    
                    [01:40:54] openhabian@openHABianPi:~$ owget
                    /28.E0DA65010000
                    /28.88EB65010000
                    /28.38FA65010000
                    /28.542466010000
                    /28.B2D665010000
                    /28.9DCF1B030000
                    /28.F71666010000
                    /3A.B4D207000000
                    /26.85A82E010000
                    /26.FD9C2E010000
                    /28.DA63EC010000
                    /28.8598EC010000
                    /28.FBA11B030000
                    /28.7FD4EB010000
                    /3A.F43308000000
                    /26.10AB30010000
                    /26.17AA30010000
                    /81.56CC2D000000
                    /81.6CCB2A000000
                    /01.280577120000
                    /01.CE7578120000
                    /81.ED682D000000
                    /81.FFE22A000000
                    /2D.421FC70B0000
                    /23.608C9A010000
                    /2D.CA1AC70B0000
                    /26.6FA787010000
                    /26.78B687010000
                    /28.05271B050000
                    /28.301966010000
                    /28.480266010000
                    /28.282866010000
                    /28.2C0E66010000
                    /28.6CEB65010000
                    /28.921D66010000
                    /28.0E0366010000
                    /28.0936EC010000
                    /28.C50EEC010000
                    /28.C547EC010000
                    /23.A7749A010000
                    /2D.5B1EC70B0000
                    /26.95AA2E010000
                    /26.84528C010000
                    /26.90AA2E010000
                    /3A.3D460D000000
                    /3A.E23E08000000
                    /28.83F465010000
                    /28.6B1666010000
                    /28.77EC65010000
                    /28.9FF465010000
                    /28.5F1966010000
                    /28.FFFA65010000
                    /81.BB812D000000
                    /E1.E20000000084
                    /28.7DCE1B030000
                    /28.0D45EC010000
                    /28.7890EC010000
                    /bus.0
                    /uncached
                    /settings
                    /system
                    /statistics
                    /structure
                    /simultaneous
                    /alarm
                    [01:41:09] openhabian@openHABianPi:~$ owget -s 172.17.2.203
                    /28.E0DA65010000
                    /28.88EB65010000
                    /28.38FA65010000
                    /28.542466010000
                    /28.B2D665010000
                    /28.9DCF1B030000
                    /28.F71666010000
                    /28.DA63EC010000
                    /28.8598EC010000
                    /28.FBA11B030000
                    /28.7FD4EB010000
                    /3A.F43308000000
                    /26.10AB30010000
                    /26.17AA30010000
                    /81.56CC2D000000
                    /3A.B4D207000000
                    /26.85A82E010000
                    /26.FD9C2E010000
                    /81.FFE22A000000
                    /81.6CCB2A000000
                    /01.280577120000
                    /01.CE7578120000
                    /81.ED682D000000
                    /2D.421FC70B0000
                    /23.608C9A010000
                    /2D.CA1AC70B0000
                    /26.6FA787010000
                    /26.78B687010000
                    /28.05271B050000
                    /23.A7749A010000
                    /2D.5B1EC70B0000
                    /26.95AA2E010000
                    /26.84528C010000
                    /26.90AA2E010000
                    /3A.3D460D000000
                    /3A.E23E08000000
                    /28.7DCE1B030000
                    /28.0D45EC010000
                    /28.7890EC010000
                    /28.301966010000
                    /28.480266010000
                    /28.282866010000
                    /28.2C0E66010000
                    /28.6CEB65010000
                    /28.921D66010000
                    /28.0E0366010000
                    /28.0936EC010000
                    /28.C50EEC010000
                    /28.C547EC010000
                    /28.83F465010000
                    /28.6B1666010000
                    /28.77EC65010000
                    /28.9FF465010000
                    /28.5F1966010000
                    /28.FFFA65010000
                    /81.BB812D000000
                    /E1.E20000000084
                    /bus.10
                    /bus.9
                    /bus.8
                    /bus.7
                    /bus.6
                    /bus.5
                    /bus.4
                    /bus.1
                    /bus.0
                    /uncached
                    /settings
                    /system
                    /statistics
                    /structure
                    /simultaneous
                    /alarm
                    [01:41:27] openhabian@openHABianPi:~$
                    EIB/KNX & WireGate & HS3, Russound,mpd,vdr,DM8000, DALI, DMX
                    -> Bitte KEINE PNs!

                    Kommentar


                      #11
                      Hallo,

                      komme leider erst jetzt dazu mich wieder zu melden.
                      Ich habe das Problem gelöst. Ich hatte, aus mir nicht erklärlichen Gründen, ich vermute irgendwo so gesehen, nicht die komplette DeviceID in meiner items-Datei stehen.

                      Jetzt funktioniert es.
                      Vielen Dank

                      Kommentar

                      Lädt...
                      X