Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. PH-Messung

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

PH-Messung

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
432 Beiträge 48 Kommentatoren 107.2k Aufrufe 50 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • apollon77A apollon77

    @coyote also ja die beiden Relais hab ich ja in binFlag2 gefunden. Da holt er die True/false auch her. Frage ist jetzt ob noch andere Dinge vom Display (Annahme vor allem in binFlag1) eine Korrelation haben. Mal mindestens drei der Bits haben sich bisher generell mal geändert.

    coyoteC Offline
    coyoteC Offline
    coyote
    Most Active
    schrieb am zuletzt editiert von
    #83

    @apollon77 wo find ich denn binFlag1/2 in Wireshark?

    apollon77A 1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      skinni
      schrieb am zuletzt editiert von
      #84

      "binFlags2":"11" wenn PH an und ORP an
      "binFlags2":"10" wenn PH aus und ORP an
      "binFlags2":"0" wenn PH aus und ORP aus
      "binFlags2":"1" wenn PH an und ORP aus

      apollon77A 1 Antwort Letzte Antwort
      0
      • S skinni

        "binFlags2":"11" wenn PH an und ORP an
        "binFlags2":"10" wenn PH aus und ORP an
        "binFlags2":"0" wenn PH aus und ORP aus
        "binFlags2":"1" wenn PH an und ORP aus

        apollon77A Online
        apollon77A Online
        apollon77
        schrieb am zuletzt editiert von
        #85

        @skinni genau. Da kommen ja die Boolean Werte schon her ;-)))

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • coyoteC coyote

          @apollon77 wo find ich denn binFlag1/2 in Wireshark?

          apollon77A Online
          apollon77A Online
          apollon77
          schrieb am zuletzt editiert von
          #86

          @coyote das sind dort zahlen und die Library stellt es als binärstring dar das man es einfacher anschauen kann weil ich denke das es Bits sind.

          Vergiss wireshark, mach neuen Test mit der Library ;-)

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            skinni
            schrieb am zuletzt editiert von
            #87

            sonst seh ich keine Werte die sich ändern, abgesehen von PH und redox

            apollon77A 1 Antwort Letzte Antwort
            0
            • S skinni

              sonst seh ich keine Werte die sich ändern, abgesehen von PH und redox

              apollon77A Online
              apollon77A Online
              apollon77
              schrieb am zuletzt editiert von
              #88

              @skinni Im Wireshark und zb auch bei deinem einen Post https://forum.iobroker.net/post/635416 hat sich was geändert ... schau mal am anfang ... binFlag1. Die Werte die wir schon gesehen haben stehen auf meiner GitHub seite ... aber die Bedeutung ist noch unklar.

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              S 1 Antwort Letzte Antwort
              0
              • apollon77A apollon77

                @skinni Im Wireshark und zb auch bei deinem einen Post https://forum.iobroker.net/post/635416 hat sich was geändert ... schau mal am anfang ... binFlag1. Die Werte die wir schon gesehen haben stehen auf meiner GitHub seite ... aber die Bedeutung ist noch unklar.

                S Offline
                S Offline
                skinni
                schrieb am zuletzt editiert von
                #89

                @apollon77 Hatte mir das nicht so genau angeschaut, bin noch am arbeiten. Das erste Paket hat immer die 11 im binFlag1, danach ist es immer 100 und ändert sich auch nie.
                Es ändern sich bei mir nur die Schaltzustände im binFlag2 und die Werte für PH/Redox.

                apollon77A 1 Antwort Letzte Antwort
                0
                • S skinni

                  @apollon77 Hatte mir das nicht so genau angeschaut, bin noch am arbeiten. Das erste Paket hat immer die 11 im binFlag1, danach ist es immer 100 und ändert sich auch nie.
                  Es ändern sich bei mir nur die Schaltzustände im binFlag2 und die Werte für PH/Redox.

                  apollon77A Online
                  apollon77A Online
                  apollon77
                  schrieb am zuletzt editiert von
                  #90

                  @skinni im wireshark von @coyote hatten sich die binFlag1 auch geändert als er es ins Wasser getan hat und rausgenommen und sowas. Also da ist irgendwas ;-)

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  coyoteC 1 Antwort Letzte Antwort
                  0
                  • S skinni

                    sorry mein Fehler, bin aus dem Verzeichnis raus, dann hats geklappt.

                    Reconnect geht aber immer noch nicht:

                      ph803w:device Send ping +4s
                      ph803w:device received pong +3ms
                      ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true} +2s
                    Data: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true}
                      ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.7,"redox":-151,"phSwitch":false,"redoxSwitch":true} +0ms
                      ph803w:device Send ping +2s
                      ph803w:device received pong +3ms
                      ph803w:device Send ping +4s
                      ph803w:device Ping response overdue, reconnect +8s
                    
                    

                    Ab da kommt nix mehr

                    apollon77A Online
                    apollon77A Online
                    apollon77
                    schrieb am zuletzt editiert von
                    #91

                    @skinni Kannst Du bitte nochmal updaten und nochmal checken? So ein Debig log wäre perfekt dazu

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @skinni im wireshark von @coyote hatten sich die binFlag1 auch geändert als er es ins Wasser getan hat und rausgenommen und sowas. Also da ist irgendwas ;-)

                      coyoteC Offline
                      coyoteC Offline
                      coyote
                      Most Active
                      schrieb am zuletzt editiert von
                      #92

                      @apollon77

                      root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w*                                                                                                                      node data.js 192.168.66.56
                        ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                        ph803w:device Write and register for response type 7: 0000000303000006 +3ms
                        ph803w:device Passcode received: IIXODDIHLL +14ms
                        ph803w:device Resolve for message type 7: IIXODDIHLL +0ms
                        ph803w:device Write and register for response type 9: 000000030f000008000a4949                                                                                                                     584f444449484c4c +2ms
                        ph803w:device login success +7ms
                        ph803w:device Resolve for message type 9: true +0ms
                        ph803w:device Write and register for response type 145: 000000030400009002 +1m                                                                                                                     s
                        ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.49,"re                                                                                                                     dox":-31,"phSwitch":false,"redoxSwitch":true} +44ms
                      Data: {"binFlags1":"11","binFlags2":"10","ph":7.49,"redox":-31,"phSwitch":false,                                                                                                                     "redoxSwitch":true}
                        ph803w:device Resolve for message type 145: [object Object] +3ms
                        ph803w:device Send ping +4s
                        ph803w:device received pong +9ms
                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true} +40ms
                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true}
                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true} +0ms
                        ph803w:device Send ping +4s
                        ph803w:device received pong +3ms
                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true} +2s
                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true}
                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true} +0ms
                        ph803w:device Send ping +2s
                        ph803w:device received pong +11ms
                        ph803w:device Send ping +4s
                        ph803w:device received pong +3ms
                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true} +15ms
                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true}
                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true} +1ms
                        ph803w:device Send ping +4s
                        ph803w:device received pong +3ms
                        ph803w:device Send ping +4s
                        ph803w:device Ping response overdue, reconnect +8s
                        ph803w:device Destroy socket +0ms
                        ph803w:device Connected to TCP 192.168.66.56:12416 +17s
                        ph803w:device Socket end, Reconnect: true +10s
                      (node:29697) UnhandledPromiseRejectionWarning: Error: Already connected to device
                          at /home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:53:24
                          at new Promise (<anonymous>)
                          at PH803WDevice.connect (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:50:16)
                          at Timeout._onTimeout (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:91:34)
                          at listOnTimeout (internal/timers.js:554:17)
                          at processTimers (internal/timers.js:497:7)
                      (node:29697) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                      (node:29697) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                      root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# 
                      
                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • coyoteC coyote

                        @apollon77

                        root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w*                                                                                                                      node data.js 192.168.66.56
                          ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                          ph803w:device Write and register for response type 7: 0000000303000006 +3ms
                          ph803w:device Passcode received: IIXODDIHLL +14ms
                          ph803w:device Resolve for message type 7: IIXODDIHLL +0ms
                          ph803w:device Write and register for response type 9: 000000030f000008000a4949                                                                                                                     584f444449484c4c +2ms
                          ph803w:device login success +7ms
                          ph803w:device Resolve for message type 9: true +0ms
                          ph803w:device Write and register for response type 145: 000000030400009002 +1m                                                                                                                     s
                          ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.49,"re                                                                                                                     dox":-31,"phSwitch":false,"redoxSwitch":true} +44ms
                        Data: {"binFlags1":"11","binFlags2":"10","ph":7.49,"redox":-31,"phSwitch":false,                                                                                                                     "redoxSwitch":true}
                          ph803w:device Resolve for message type 145: [object Object] +3ms
                          ph803w:device Send ping +4s
                          ph803w:device received pong +9ms
                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true} +40ms
                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true}
                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-29,"phSwitch":false,"redoxSwitch":true} +0ms
                          ph803w:device Send ping +4s
                          ph803w:device received pong +3ms
                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true} +2s
                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true}
                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.5,"redox":-28,"phSwitch":false,"redoxSwitch":true} +0ms
                          ph803w:device Send ping +2s
                          ph803w:device received pong +11ms
                          ph803w:device Send ping +4s
                          ph803w:device received pong +3ms
                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true} +15ms
                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true}
                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.49,"redox":-25,"phSwitch":false,"redoxSwitch":true} +1ms
                          ph803w:device Send ping +4s
                          ph803w:device received pong +3ms
                          ph803w:device Send ping +4s
                          ph803w:device Ping response overdue, reconnect +8s
                          ph803w:device Destroy socket +0ms
                          ph803w:device Connected to TCP 192.168.66.56:12416 +17s
                          ph803w:device Socket end, Reconnect: true +10s
                        (node:29697) UnhandledPromiseRejectionWarning: Error: Already connected to device
                            at /home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:53:24
                            at new Promise (<anonymous>)
                            at PH803WDevice.connect (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:50:16)
                            at Timeout._onTimeout (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:91:34)
                            at listOnTimeout (internal/timers.js:554:17)
                            at processTimers (internal/timers.js:497:7)
                        (node:29697) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                        (node:29697) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                        root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# 
                        
                        apollon77A Online
                        apollon77A Online
                        apollon77
                        schrieb am zuletzt editiert von
                        #93

                        @coyote sagte in PH-Messung:

                        Please try again :-) (update auf GitHub) ...

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        coyoteC 1 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          @coyote sagte in PH-Messung:

                          Please try again :-) (update auf GitHub) ...

                          coyoteC Offline
                          coyoteC Offline
                          coyote
                          Most Active
                          schrieb am zuletzt editiert von
                          #94

                          @apollon77

                          Also, das hier kommt wenn ich das Gerät etwas länger aus lasse, keine Ahnung 30s oder so

                          root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                            ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                            ph803w:device Write and register for response type 7: 0000000303000006 +3ms
                            ph803w:device Passcode received: IIXODDIHLL +10ms
                            ph803w:device Resolve for message type 7: IIXODDIHLL +0ms
                            ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +1ms
                            ph803w:device login success +13ms
                            ph803w:device Resolve for message type 9: true +0ms
                            ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                            ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true} +45ms
                          Data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Resolve for message type 145: [object Object] +2ms
                            ph803w:device Send ping +4s
                            ph803w:device received pong +12ms
                            ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +1s
                          Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +0ms
                            ph803w:device Send ping +3s
                            ph803w:device received pong +3ms
                            ph803w:device Send ping +4s
                            ph803w:device received pong +5ms
                            ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +2s
                          Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +0ms
                            ph803w:device Send ping +2s
                            ph803w:device received pong +5ms
                            ph803w:device Send ping +4s
                            ph803w:device Ping response overdue, reconnect +8s
                            ph803w:device Destroy socket +1ms
                            ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.66.56:12416 +29s
                          Error: Error: connect EHOSTUNREACH 192.168.66.56:12416
                          (node:32240) UnhandledPromiseRejectionWarning: Error
                              at Socket.<anonymous> (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:78:28)
                              at Socket.emit (events.js:314:20)
                              at emitErrorNT (internal/streams/destroy.js:92:8)
                              at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                              at processTicksAndRejections (internal/process/task_queues.js:84:21)
                          (node:32240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                          (node:32240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                          root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example#
                          
                          

                          Stecke ich es aus und nach paar Sek. wieder ein, siehts so aus

                          root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                            ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                            ph803w:device Write and register for response type 7: 0000000303000006 +4ms
                            ph803w:device Passcode received: IIXODDIHLL +5ms
                            ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                            ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +0ms
                            ph803w:device login success +16ms
                            ph803w:device Resolve for message type 9: true +0ms
                            ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                            ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true} +53ms
                          Data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Resolve for message type 145: [object Object] +1ms
                            ph803w:device Send ping +4s
                            ph803w:device received pong +4ms
                            ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +849ms
                          Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +1ms
                            ph803w:device Send ping +3s
                            ph803w:device received pong +3ms
                            ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +3s
                          Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true}
                            ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +7ms
                            ph803w:device Send ping +1s
                            ph803w:device received pong +3ms
                            ph803w:device Send ping +4s
                            ph803w:device Ping response overdue, reconnect +8s
                            ph803w:device Destroy socket +0ms
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                            ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                            ph803w:device Socket end, Reconnect: true +10s
                          
                          

                          Mehr tut sich da leider nicht mehr

                          apollon77A 2 Antworten Letzte Antwort
                          0
                          • coyoteC coyote

                            @apollon77

                            Also, das hier kommt wenn ich das Gerät etwas länger aus lasse, keine Ahnung 30s oder so

                            root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                              ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                              ph803w:device Write and register for response type 7: 0000000303000006 +3ms
                              ph803w:device Passcode received: IIXODDIHLL +10ms
                              ph803w:device Resolve for message type 7: IIXODDIHLL +0ms
                              ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +1ms
                              ph803w:device login success +13ms
                              ph803w:device Resolve for message type 9: true +0ms
                              ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                              ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true} +45ms
                            Data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Resolve for message type 145: [object Object] +2ms
                              ph803w:device Send ping +4s
                              ph803w:device received pong +12ms
                              ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +1s
                            Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +0ms
                              ph803w:device Send ping +3s
                              ph803w:device received pong +3ms
                              ph803w:device Send ping +4s
                              ph803w:device received pong +5ms
                              ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +2s
                            Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +0ms
                              ph803w:device Send ping +2s
                              ph803w:device received pong +5ms
                              ph803w:device Send ping +4s
                              ph803w:device Ping response overdue, reconnect +8s
                              ph803w:device Destroy socket +1ms
                              ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.66.56:12416 +29s
                            Error: Error: connect EHOSTUNREACH 192.168.66.56:12416
                            (node:32240) UnhandledPromiseRejectionWarning: Error
                                at Socket.<anonymous> (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:78:28)
                                at Socket.emit (events.js:314:20)
                                at emitErrorNT (internal/streams/destroy.js:92:8)
                                at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                at processTicksAndRejections (internal/process/task_queues.js:84:21)
                            (node:32240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                            (node:32240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                            root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example#
                            
                            

                            Stecke ich es aus und nach paar Sek. wieder ein, siehts so aus

                            root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                              ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                              ph803w:device Write and register for response type 7: 0000000303000006 +4ms
                              ph803w:device Passcode received: IIXODDIHLL +5ms
                              ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                              ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +0ms
                              ph803w:device login success +16ms
                              ph803w:device Resolve for message type 9: true +0ms
                              ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                              ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true} +53ms
                            Data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Resolve for message type 145: [object Object] +1ms
                              ph803w:device Send ping +4s
                              ph803w:device received pong +4ms
                              ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +849ms
                            Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +1ms
                              ph803w:device Send ping +3s
                              ph803w:device received pong +3ms
                              ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +3s
                            Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true}
                              ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +7ms
                              ph803w:device Send ping +1s
                              ph803w:device received pong +3ms
                              ph803w:device Send ping +4s
                              ph803w:device Ping response overdue, reconnect +8s
                              ph803w:device Destroy socket +0ms
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                              ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                              ph803w:device Socket end, Reconnect: true +10s
                            
                            

                            Mehr tut sich da leider nicht mehr

                            apollon77A Online
                            apollon77A Online
                            apollon77
                            schrieb am zuletzt editiert von apollon77
                            #95

                            @coyote alles klar. Checke nach dem Film morgen .. :-)) aber hilfreiches log. Danke.

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            1 Antwort Letzte Antwort
                            0
                            • coyoteC coyote

                              @apollon77

                              Also, das hier kommt wenn ich das Gerät etwas länger aus lasse, keine Ahnung 30s oder so

                              root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                                ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                ph803w:device Write and register for response type 7: 0000000303000006 +3ms
                                ph803w:device Passcode received: IIXODDIHLL +10ms
                                ph803w:device Resolve for message type 7: IIXODDIHLL +0ms
                                ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +1ms
                                ph803w:device login success +13ms
                                ph803w:device Resolve for message type 9: true +0ms
                                ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                                ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true} +45ms
                              Data: {"binFlags1":"11","binFlags2":"10","ph":7.33,"redox":-113,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Resolve for message type 145: [object Object] +2ms
                                ph803w:device Send ping +4s
                                ph803w:device received pong +12ms
                                ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +1s
                              Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-112,"phSwitch":false,"redoxSwitch":true} +0ms
                                ph803w:device Send ping +3s
                                ph803w:device received pong +3ms
                                ph803w:device Send ping +4s
                                ph803w:device received pong +5ms
                                ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +2s
                              Data: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.33,"redox":-111,"phSwitch":false,"redoxSwitch":true} +0ms
                                ph803w:device Send ping +2s
                                ph803w:device received pong +5ms
                                ph803w:device Send ping +4s
                                ph803w:device Ping response overdue, reconnect +8s
                                ph803w:device Destroy socket +1ms
                                ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.66.56:12416 +29s
                              Error: Error: connect EHOSTUNREACH 192.168.66.56:12416
                              (node:32240) UnhandledPromiseRejectionWarning: Error
                                  at Socket.<anonymous> (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:78:28)
                                  at Socket.emit (events.js:314:20)
                                  at emitErrorNT (internal/streams/destroy.js:92:8)
                                  at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                  at processTicksAndRejections (internal/process/task_queues.js:84:21)
                              (node:32240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                              (node:32240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                              root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example#
                              
                              

                              Stecke ich es aus und nach paar Sek. wieder ein, siehts so aus

                              root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                                ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                ph803w:device Write and register for response type 7: 0000000303000006 +4ms
                                ph803w:device Passcode received: IIXODDIHLL +5ms
                                ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                                ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +0ms
                                ph803w:device login success +16ms
                                ph803w:device Resolve for message type 9: true +0ms
                                ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                                ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true} +53ms
                              Data: {"binFlags1":"11","binFlags2":"10","ph":7.38,"redox":-87,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Resolve for message type 145: [object Object] +1ms
                                ph803w:device Send ping +4s
                                ph803w:device received pong +4ms
                                ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +849ms
                              Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-84,"phSwitch":false,"redoxSwitch":true} +1ms
                                ph803w:device Send ping +3s
                                ph803w:device received pong +3ms
                                ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +3s
                              Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true}
                                ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":-83,"phSwitch":false,"redoxSwitch":true} +7ms
                                ph803w:device Send ping +1s
                                ph803w:device received pong +3ms
                                ph803w:device Send ping +4s
                                ph803w:device Ping response overdue, reconnect +8s
                                ph803w:device Destroy socket +0ms
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                                ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                ph803w:device Socket end, Reconnect: true +10s
                              
                              

                              Mehr tut sich da leider nicht mehr

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von apollon77
                              #96

                              @coyote sagte in PH-Messung:

                              Ok, war doch schneller alsgedacht ... Please check again.

                              Wenn ich Dich um einen Zusatztest bitten darf: Starte mal neu während das Gerät aus ist ... und schalte es dann ein, verbindet er sich dann korrekt?

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              Marc RM S J coyoteC 4 Antworten Letzte Antwort
                              0
                              • apollon77A apollon77

                                @coyote sagte in PH-Messung:

                                Ok, war doch schneller alsgedacht ... Please check again.

                                Wenn ich Dich um einen Zusatztest bitten darf: Starte mal neu während das Gerät aus ist ... und schalte es dann ein, verbindet er sich dann korrekt?

                                Marc RM Offline
                                Marc RM Offline
                                Marc R
                                schrieb am zuletzt editiert von
                                #97

                                @apollon77 würde mich da gerne auch als Tester zur Verfügung stellen... Wie installiere ich das am besten? Ich laufe auf Home Assistant, nicht iobroker leider. Soll ich iobroker auf einem separaten Raspi installieren oder gibt es da einfachere Lösungen, zb Virtual Machine auf Win8 oder sowas? Lieben Dank

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @coyote sagte in PH-Messung:

                                  Ok, war doch schneller alsgedacht ... Please check again.

                                  Wenn ich Dich um einen Zusatztest bitten darf: Starte mal neu während das Gerät aus ist ... und schalte es dann ein, verbindet er sich dann korrekt?

                                  S Offline
                                  S Offline
                                  skinni
                                  schrieb am zuletzt editiert von
                                  #98

                                  @apollon77 In beiden Fällen negativ. Hab das script laufen lassen, dann den PH-803w aus und gewartet, aber die Pause war wohl zu lange. Dann hab ich ihn wieder eingeschaltet, bin reingelaufen und hab das script gestartet, aber es konnte sich nicht verbinden.

                                  Update hab ich gerade eben vorher gemacht.

                                    ph803w:device received pong +9ms
                                    ph803w:device Send ping +4s
                                    ph803w:device Ping response overdue, reconnect +8s
                                    ph803w:device Destroy socket +1ms
                                    ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.88.128:12416 +29s
                                  Error: Error: connect EHOSTUNREACH 192.168.88.128:12416
                                  (node:9875) UnhandledPromiseRejectionWarning: Error
                                      at Socket.<anonymous> (/home/pi/node_modules/node-ph803w/lib/device.js:78:28)
                                      at Socket.emit (events.js:314:20)
                                      at emitErrorNT (internal/streams/destroy.js:92:8)
                                      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                      at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                  (node:9875) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                                  (node:9875) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                  
                                  pi@iobroker:~/node_modules/node-ph803w/example $ DEBUG=ph803w* node data.js 192.168.88.128
                                    ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.88.128:12416 +0ms
                                  Error: Error: connect EHOSTUNREACH 192.168.88.128:12416
                                  (node:15611) UnhandledPromiseRejectionWarning: Error
                                      at Socket.<anonymous> (/home/pi/node_modules/node-ph803w/lib/device.js:78:28)
                                      at Socket.emit (events.js:314:20)
                                      at emitErrorNT (internal/streams/destroy.js:92:8)
                                      at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                      at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                  (node:15611) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                                  (node:15611) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @coyote sagte in PH-Messung:

                                    Ok, war doch schneller alsgedacht ... Please check again.

                                    Wenn ich Dich um einen Zusatztest bitten darf: Starte mal neu während das Gerät aus ist ... und schalte es dann ein, verbindet er sich dann korrekt?

                                    J Offline
                                    J Offline
                                    johnbobjamesson
                                    schrieb am zuletzt editiert von
                                    #99

                                    @apollon77 Ich hab's hier eingerichtet und kann auf Zuruf testen, aber ihr kommt ja momentan so aus. Nur, falls Du noch jemanden brauchst, melde Dich. Ach, und danke für die ganze Arbeit! Ich freue mich so darauf, hoffentlich irgendwann die Daten im iobroker zu haben :)
                                    Grüße, Claudio

                                    1 Antwort Letzte Antwort
                                    0
                                    • apollon77A apollon77

                                      @coyote sagte in PH-Messung:

                                      Ok, war doch schneller alsgedacht ... Please check again.

                                      Wenn ich Dich um einen Zusatztest bitten darf: Starte mal neu während das Gerät aus ist ... und schalte es dann ein, verbindet er sich dann korrekt?

                                      coyoteC Offline
                                      coyoteC Offline
                                      coyote
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #100

                                      @apollon77

                                      Log wenn Gerät eingeschaltet, dann ausgeschaltet. Nach ca. 30s bricht er dann komplett ab.

                                      root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w*                                                                                                                      node data.js 192.168.66.56
                                        ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                        ph803w:device Write and register for response type 7: 0000000303000006 +2ms
                                        ph803w:device Passcode received: IIXODDIHLL +7ms
                                        ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                                        ph803w:device Write and register for response type 9: 000000030f000008000a4949                                                                                                                     584f444449484c4c +0ms
                                        ph803w:device login success +16ms
                                        ph803w:device Resolve for message type 9: true +0ms
                                        ph803w:device Write and register for response type 145: 000000030400009002 +1m                                                                                                                     s
                                        ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.35,"re                                                                                                                     dox":96,"phSwitch":false,"redoxSwitch":true} +48ms
                                      Data: {"binFlags1":"11","binFlags2":"10","ph":7.35,"redox":96,"phSwitch":false,"                                                                                                                     redoxSwitch":true}
                                        ph803w:device Resolve for message type 145: [object Object] +2ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"r                                                                                                                     edox":94,"phSwitch":false,"redoxSwitch":true} +3s
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":94,"phSwitch":false,                                                                                                                     "redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {                                                                                                                     "binFlags1":"100","binFlags2":"10","ph":7.35,"redox":94,"phSwitch":false,"redoxS                                                                                                                     witch":true} +0ms
                                        ph803w:device Send ping +1s
                                        ph803w:device received pong +3ms
                                        ph803w:device Send ping +4s
                                        ph803w:device received pong +16ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true} +707ms
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true} +0ms
                                        ph803w:device Send ping +3s
                                        ph803w:device received pong +3ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true} +3s
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true} +0ms
                                        ph803w:device Send ping +1s
                                        ph803w:device received pong +2ms
                                        ph803w:device Send ping +4s
                                        ph803w:device received pong +43ms
                                        ph803w:device Send ping +4s
                                        ph803w:device Ping response overdue, reconnect +8s
                                        ph803w:device Destroy socket +0ms
                                        ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.66.56:12416 +28s
                                      Error: Error: connect EHOSTUNREACH 192.168.66.56:12416
                                      (node:13947) UnhandledPromiseRejectionWarning: Error
                                          at Socket.<anonymous> (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:78:28)
                                          at Socket.emit (events.js:314:20)
                                          at emitErrorNT (internal/streams/destroy.js:92:8)
                                          at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                          at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                      (node:13947) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                                      (node:13947) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                      
                                      

                                      Zweites Log, Gerät nach ca. 10-15s wieder eingesteckt.

                                      root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                                        ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                        ph803w:device Write and register for response type 7: 0000000303000006 +12ms
                                        ph803w:device Passcode received: IIXODDIHLL +7ms
                                        ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                                        ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +1ms
                                        ph803w:device login success +7ms
                                        ph803w:device Resolve for message type 9: true +1ms
                                        ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                                        ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.42,"redox":-59,"phSwitch":false,"redoxSwitch":true} +47ms
                                      Data: {"binFlags1":"11","binFlags2":"10","ph":7.42,"redox":-59,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Resolve for message type 145: [object Object] +2ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true} +3s
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true} +0ms
                                        ph803w:device Send ping +1s
                                        ph803w:device received pong +5ms
                                        ph803w:device Send ping +4s
                                        ph803w:device received pong +2ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true} +3s
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true} +0ms
                                        ph803w:device Send ping +764ms
                                        ph803w:device received pong +2ms
                                        ph803w:device Send ping +4s
                                        ph803w:device received pong +2ms
                                        ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true} +1s
                                      Data: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true}
                                        ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true} +0ms
                                        ph803w:device Send ping +3s
                                        ph803w:device Ping response overdue, reconnect +8s
                                        ph803w:device Destroy socket +0ms
                                        ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                        ph803w:device Socket end, Reconnect: true +10s
                                        ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                        ph803w:device Socket end, Reconnect: true +10s
                                        ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                        ph803w:device Socket end, Reconnect: true +10s
                                      
                                      
                                      S 1 Antwort Letzte Antwort
                                      0
                                      • coyoteC coyote

                                        @apollon77

                                        Log wenn Gerät eingeschaltet, dann ausgeschaltet. Nach ca. 30s bricht er dann komplett ab.

                                        root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w*                                                                                                                      node data.js 192.168.66.56
                                          ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                          ph803w:device Write and register for response type 7: 0000000303000006 +2ms
                                          ph803w:device Passcode received: IIXODDIHLL +7ms
                                          ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                                          ph803w:device Write and register for response type 9: 000000030f000008000a4949                                                                                                                     584f444449484c4c +0ms
                                          ph803w:device login success +16ms
                                          ph803w:device Resolve for message type 9: true +0ms
                                          ph803w:device Write and register for response type 145: 000000030400009002 +1m                                                                                                                     s
                                          ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.35,"re                                                                                                                     dox":96,"phSwitch":false,"redoxSwitch":true} +48ms
                                        Data: {"binFlags1":"11","binFlags2":"10","ph":7.35,"redox":96,"phSwitch":false,"                                                                                                                     redoxSwitch":true}
                                          ph803w:device Resolve for message type 145: [object Object] +2ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"r                                                                                                                     edox":94,"phSwitch":false,"redoxSwitch":true} +3s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.35,"redox":94,"phSwitch":false,                                                                                                                     "redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {                                                                                                                     "binFlags1":"100","binFlags2":"10","ph":7.35,"redox":94,"phSwitch":false,"redoxS                                                                                                                     witch":true} +0ms
                                          ph803w:device Send ping +1s
                                          ph803w:device received pong +3ms
                                          ph803w:device Send ping +4s
                                          ph803w:device received pong +16ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true} +707ms
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":93,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +3s
                                          ph803w:device received pong +3ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true} +3s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.36,"redox":92,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +1s
                                          ph803w:device received pong +2ms
                                          ph803w:device Send ping +4s
                                          ph803w:device received pong +43ms
                                          ph803w:device Send ping +4s
                                          ph803w:device Ping response overdue, reconnect +8s
                                          ph803w:device Destroy socket +0ms
                                          ph803w:device Socket error: Error: connect EHOSTUNREACH 192.168.66.56:12416 +28s
                                        Error: Error: connect EHOSTUNREACH 192.168.66.56:12416
                                        (node:13947) UnhandledPromiseRejectionWarning: Error
                                            at Socket.<anonymous> (/home/coyote/ph803w/node_modules/node-ph803w/lib/device.js:78:28)
                                            at Socket.emit (events.js:314:20)
                                            at emitErrorNT (internal/streams/destroy.js:92:8)
                                            at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                                            at processTicksAndRejections (internal/process/task_queues.js:84:21)
                                        (node:13947) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
                                        (node:13947) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                        
                                        

                                        Zweites Log, Gerät nach ca. 10-15s wieder eingesteckt.

                                        root@debian:/home/coyote/ph803w/node_modules/node-ph803w/example# DEBUG=ph803w* node data.js 192.168.66.56
                                          ph803w:device Connected to TCP 192.168.66.56:12416 +0ms
                                          ph803w:device Write and register for response type 7: 0000000303000006 +12ms
                                          ph803w:device Passcode received: IIXODDIHLL +7ms
                                          ph803w:device Resolve for message type 7: IIXODDIHLL +1ms
                                          ph803w:device Write and register for response type 9: 000000030f000008000a4949584f444449484c4c +1ms
                                          ph803w:device login success +7ms
                                          ph803w:device Resolve for message type 9: true +1ms
                                          ph803w:device Write and register for response type 145: 000000030400009002 +1ms
                                          ph803w:device Retrieved data: {"binFlags1":"11","binFlags2":"10","ph":7.42,"redox":-59,"phSwitch":false,"redoxSwitch":true} +47ms
                                        Data: {"binFlags1":"11","binFlags2":"10","ph":7.42,"redox":-59,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Resolve for message type 145: [object Object] +2ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true} +3s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-56,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +1s
                                          ph803w:device received pong +5ms
                                          ph803w:device Send ping +4s
                                          ph803w:device received pong +2ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true} +3s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.38,"redox":-57,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +764ms
                                          ph803w:device received pong +2ms
                                          ph803w:device Send ping +4s
                                          ph803w:device received pong +2ms
                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true} +1s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":7.39,"redox":-56,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +3s
                                          ph803w:device Ping response overdue, reconnect +8s
                                          ph803w:device Destroy socket +0ms
                                          ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.66.56:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                        
                                        
                                        S Offline
                                        S Offline
                                        skinni
                                        schrieb am zuletzt editiert von
                                        #101

                                        Reconnect geht bei mir jetzt gar nicht mehr. Zumindest kommen keine Werte mehr. Er bricht aber auch nicht ab

                                          ph803w:device Retrieved data: {"binFlags1":"100","binFlags2":"10","ph":6.95,"redox":690,"phSwitch":false,"redoxSwitch":true} +1s
                                        Data: {"binFlags1":"100","binFlags2":"10","ph":6.95,"redox":690,"phSwitch":false,"redoxSwitch":true}
                                          ph803w:device Ignore resolve for message type 145 because no promise stored: {"binFlags1":"100","binFlags2":"10","ph":6.95,"redox":690,"phSwitch":false,"redoxSwitch":true} +0ms
                                          ph803w:device Send ping +3s
                                          ph803w:device received pong +5ms
                                          ph803w:device Send ping +4s
                                          ph803w:device Ping response overdue, reconnect +8s
                                          ph803w:device Destroy socket +1ms
                                          ph803w:device Connected to TCP 192.168.88.128:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.88.128:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.88.128:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.88.128:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                          ph803w:device Connected to TCP 192.168.88.128:12416 +10s
                                          ph803w:device Socket end, Reconnect: true +10s
                                        
                                        1 Antwort Letzte Antwort
                                        0
                                        • apollon77A Online
                                          apollon77A Online
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #102

                                          Grrmpf ... war wohl doch zu spät gestern Abend ... Hab die Änderungen nicht zu GitHub gepusht :-) Also bitte "Nochmal" das ganze

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          454

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe