Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. PH-Messung

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    PH-Messung

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      daniel_iobroker @apollon77 last edited by

      @apollon77

      Hier noch ein logauszug nach ein paar Minuten:

      2022-05-26 12:11:17.261  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:11:25.911  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":713,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:11:27.330  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:11:37.353  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:11:42.282  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":714,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:11:47.362  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:11:57.377  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:00.713  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":715,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:12:07.383  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:17.105  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":716,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:12:17.395  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:27.419  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:29.398  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":717,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:12:37.426  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:43.723  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":718,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:12:45.095  - info: influxdb.0 (29706) Store 101 buffered influxDB history points
      2022-05-26 12:12:47.432  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:12:57.443  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:01.137  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":719,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:13:07.455  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:17.466  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:21.622  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":720,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:13:27.474  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:36.984  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":721,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:13:37.481  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:47.489  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:13:50.283  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":722,"phOutlet":true,"redoxOutlet":false}
      2022-05-26 12:13:57.570  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:14:07.733  - info: ph803w.0 (25630) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.19:12416
      2022-05-26 12:14:09.742  - debug: ph803w.0 (25630) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.71,"redox":723,"phOutlet":true,"redoxOutlet":false}
      

      Der Adapter wird übrigens als gelb angezeigt. Die Werte werden jedoch aktualisiert

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Alles klar, dann bitte nochmal GitHub und Log bitte wieder posten. War sehr hilfreich

        D 1 Reply Last reply Reply Quote 1
        • D
          daniel_iobroker @apollon77 last edited by

          @apollon77 Danke für das Anpassen. Freut mich, dass ich dir helfen konnte.
          Hier der neue Log nach dem Update aus github:

          2022-05-27 08:45:30.547  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 (force=false, process=true)
          2022-05-27 08:45:30.873  - info: ph803w.0 (14758) Got terminate signal TERMINATE_YOURSELF
          2022-05-27 08:45:30.877  - info: ph803w.0 (14758) terminating
          2022-05-27 08:45:30.878  - debug: ph803w.0 (14758) Plugin sentry destroyed
          2022-05-27 08:45:30.879  - info: ph803w.0 (14758) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2022-05-27 08:45:31.115  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 send kill signal
          2022-05-27 08:45:31.216  - info: ph803w.0 (14758) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.16:12416
          2022-05-27 08:45:31.757  - info: host.raspberrypi instance system.adapter.ph803w.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2022-05-27 08:45:34.426  - info: host.raspberrypi instance system.adapter.ph803w.0 started with pid 22393
          2022-05-27 08:45:36.641  - debug: ph803w.0 (22393) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2022-05-27 08:45:36.728  - debug: ph803w.0 (22393) Objects client ready ... initialize now
          2022-05-27 08:45:36.731  - debug: ph803w.0 (22393) Objects create System PubSub Client
          2022-05-27 08:45:36.732  - debug: ph803w.0 (22393) Objects create User PubSub Client
          2022-05-27 08:45:36.734  - debug: ph803w.0 (22393) Objects client initialize lua scripts
          2022-05-27 08:45:36.777  - debug: ph803w.0 (22393) Objects connected to redis: 127.0.0.1:9001
          2022-05-27 08:45:36.787  - debug: ph803w.0 (22393) objectDB connected
          2022-05-27 08:45:36.789  - debug: ph803w.0 (22393) Redis States: Use Redis connection: 127.0.0.1:9000
          2022-05-27 08:45:36.805  - debug: ph803w.0 (22393) States create System PubSub Client
          2022-05-27 08:45:36.806  - debug: ph803w.0 (22393) States create User PubSub Client
          2022-05-27 08:45:36.845  - debug: ph803w.0 (22393) States connected to redis: 127.0.0.1:9000
          2022-05-27 08:45:36.846  - debug: ph803w.0 (22393) statesDB connected
          2022-05-27 08:45:37.693  - debug: ph803w.0 (22393) Plugin sentry Initialize Plugin (enabled=true)
          2022-05-27 08:45:37.717  - info: ph803w.0 (22393) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
          2022-05-27 08:45:37.820  - info: ph803w.0 (22393) starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.17.4, js-controller: 3.3.22
          2022-05-27 08:45:37.972  - debug: ph803w.0 (22393) Init 1 known devices without discovery ...
          2022-05-27 08:45:37.975  - debug: ph803w.0 (22393) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.16
          2022-05-27 08:45:38.264  - info: ph803w.0 (22393) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.16:12416
          2022-05-27 08:45:38.364  - info: ph803w.0 (22393) PH803W Device 5b4qJ9jHFtEQXmuJEMyHoJ discovered on 192.168.8.17
          2022-05-27 08:45:38.365  - warn: ph803w.0 (22393) Device 5b4qJ9jHFtEQXmuJEMyHoJ already known on undefined and not connected. Overwrite!
          2022-05-27 08:45:38.366  - debug: ph803w.0 (22393) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.17
          2022-05-27 08:45:38.467  - info: ph803w.0 (22393) Connected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.17 ... logging in ...
          2022-05-27 08:45:38.546  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"11","binFlags2":"1","ph":7.8,"redox":735,"phOutlet":true,"redoxOutlet":false}
          2022-05-27 08:45:38.547  - debug: ph803w.0 (22393) Initialization for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.17 done (1/2)
          2022-05-27 08:45:49.416  - info: ph803w.0 (22393) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.16:12416
          2022-05-27 08:50:44.846  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.8,"redox":736,"phOutlet":true,"redoxOutlet":false}
          2022-05-27 08:50:50.991  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.8,"redox":735,"phOutlet":true,"redoxOutlet":false}
          2022-05-27 08:50:57.003  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.8,"redox":736,"phOutlet":true,"redoxOutlet":false}
          2022-05-27 08:51:05.331  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.8,"redox":735,"phOutlet":true,"redoxOutlet":false}
          2022-05-27 08:51:12.493  - debug: ph803w.0 (22393) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.8,"redox":736,"phOutlet":true,"redoxOutlet":false}
          
          

          Es gab einmal die Meldung, dass der ph803w nicht mit der alten ip gefunden wurde. Danach keine Meldung mehr. Sieht sehr gut aus. Danke 🙂

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @daniel_iobroker last edited by

            @daniel_iobroker Hi,

            im Log gefällt mir noch was nicht ... könntest Du noch ein letztes mal die GitHub version checken bitte?

            D 1 Reply Last reply Reply Quote 0
            • D
              dala last edited by

              Hi @apollon77 !
              I took a lot of inspiration from your java implementation of the client and created a python version to integrate directly in Home Assistant as a custom integration. Still a lot of testing to do and se how it performs over time but have at least come as far as it now shows 5 sensors (ph, orp, in_water?, ph_on and orp_on). https://github.com/dala318/python_ph803w
              (Please let me know if you want any more/different credit to your solution shown in my project page)

              I selected the approach to keep the connection open and poll the device constantly, could be that it brings to much strain on the HA manager and a better approach would be to only update every 60s or so and then reconnect every time.

              For some reason the device discovery will not work in the Home Assistant environment (mine is running on PC in Hyper-V with a virtual switch that gives every VM it's own IP in my home network), probably has something to do with UDS broadcast ing and receiving response within HA. With the stand-alone lib/main it works...

              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @dala last edited by

                @dala Hi, great to hear and great that my lib was a help.Credits are completely fine that way.

                1 Reply Last reply Reply Quote 0
                • D
                  daniel_iobroker @apollon77 last edited by

                  @apollon77 Hi, sorry bin erst heute wieder dazu gekommen.
                  Hier der log nach dem update aus github von heute:

                  2022-06-03 06:56:43.854  - debug: ph803w.0 (5707) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:56:49.844  - debug: ph803w.0 (5707) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:56:54.812  - info: host.raspberrypi "system.adapter.ph803w.0" disabled
                  2022-06-03 06:56:54.813  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 (force=false, process=true)
                  2022-06-03 06:56:54.834  - info: ph803w.0 (5707) Got terminate signal TERMINATE_YOURSELF
                  2022-06-03 06:56:54.837  - info: ph803w.0 (5707) terminating
                  2022-06-03 06:56:54.839  - debug: ph803w.0 (5707) Plugin sentry destroyed
                  2022-06-03 06:56:54.840  - info: ph803w.0 (5707) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  2022-06-03 06:56:54.842  - info: ph803w.0 (5707) Disconnected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.17 (0/1)
                  2022-06-03 06:56:55.026  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 send kill signal
                  2022-06-03 06:56:55.588  - info: host.raspberrypi instance system.adapter.ph803w.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                  2022-06-03 06:57:37.502  - info: influxdb.0 (3092) Store 101 buffered influxDB history points
                  2022-06-03 06:58:12.795  - info: host.raspberrypi "system.adapter.ph803w.0" enabled
                  2022-06-03 06:58:13.157  - info: host.raspberrypi instance system.adapter.ph803w.0 started with pid 12291
                  2022-06-03 06:58:15.153  - debug: ph803w.0 (12291) Redis Objects: Use Redis connection: 127.0.0.1:9001
                  2022-06-03 06:58:15.242  - debug: ph803w.0 (12291) Objects client ready ... initialize now
                  2022-06-03 06:58:15.245  - debug: ph803w.0 (12291) Objects create System PubSub Client
                  2022-06-03 06:58:15.247  - debug: ph803w.0 (12291) Objects create User PubSub Client
                  2022-06-03 06:58:15.248  - debug: ph803w.0 (12291) Objects client initialize lua scripts
                  2022-06-03 06:58:15.287  - debug: ph803w.0 (12291) Objects connected to redis: 127.0.0.1:9001
                  2022-06-03 06:58:15.297  - debug: ph803w.0 (12291) objectDB connected
                  2022-06-03 06:58:15.300  - debug: ph803w.0 (12291) Redis States: Use Redis connection: 127.0.0.1:9000
                  2022-06-03 06:58:15.322  - debug: ph803w.0 (12291) States create System PubSub Client
                  2022-06-03 06:58:15.323  - debug: ph803w.0 (12291) States create User PubSub Client
                  2022-06-03 06:58:15.363  - debug: ph803w.0 (12291) States connected to redis: 127.0.0.1:9000
                  2022-06-03 06:58:15.365  - debug: ph803w.0 (12291) statesDB connected
                  2022-06-03 06:58:16.138  - debug: ph803w.0 (12291) Plugin sentry Initialize Plugin (enabled=true)
                  2022-06-03 06:58:16.142  - info: ph803w.0 (12291) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                  2022-06-03 06:58:16.162  - info: ph803w.0 (12291) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.17.4, js-controller: 3.3.22
                  2022-06-03 06:58:16.253  - debug: ph803w.0 (12291) Init 1 known devices without discovery ...
                  2022-06-03 06:58:16.256  - debug: ph803w.0 (12291) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.17
                  2022-06-03 06:58:16.483  - info: ph803w.0 (12291) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.17:12416
                  2022-06-03 06:58:16.570  - info: ph803w.0 (12291) PH803W Device 5b4qJ9jHFtEQXmuJEMyHoJ discovered on 192.168.8.15
                  2022-06-03 06:58:16.571  - warn: ph803w.0 (12291) Device 5b4qJ9jHFtEQXmuJEMyHoJ already known on 192.168.8.17 and not connected. Overwrite!
                  2022-06-03 06:58:16.573  - debug: ph803w.0 (12291) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15
                  2022-06-03 06:58:16.801  - info: ph803w.0 (12291) Connected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 ... logging in ...
                  2022-06-03 06:58:16.875  - debug: ph803w.0 (12291) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"11","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:58:16.876  - debug: ph803w.0 (12291) Initialization for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 done (1/1)
                  2022-06-03 06:58:24.207  - debug: ph803w.0 (12291) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:58:26.501  - info: ph803w.0 (12291) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect ECONNREFUSED 192.168.8.17:12416
                  2022-06-03 06:58:26.502  - warn: ph803w.0 (12291) Device 5b4qJ9jHFtEQXmuJEMyHoJ already known on 192.168.8.15 and connected. Ignore this old IP 192.168.8.17!
                  2022-06-03 06:58:26.504  - error: ph803w.0 (12291) uncaught exception: Cannot read property 'destroy' of undefined
                  2022-06-03 06:58:26.505  - error: ph803w.0 (12291) TypeError: Cannot read property 'destroy' of undefined
                      at PH803WDevice.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:218:45)
                      at PH803WDevice.emit (events.js:400:28)
                      at Socket.<anonymous> (/opt/iobroker/node_modules/node-ph803w/lib/device.js:118:22)
                      at Socket.emit (events.js:400:28)
                      at emitErrorNT (internal/streams/destroy.js:106:8)
                      at emitErrorCloseNT (internal/streams/destroy.js:74:3)
                      at processTicksAndRejections (internal/process/task_queues.js:82:21)
                  2022-06-03 06:58:26.506  - error: ph803w.0 (12291) Cannot read property 'destroy' of undefined
                  2022-06-03 06:58:26.648  - info: ph803w.0 (12291) terminating
                  2022-06-03 06:58:26.650  - debug: ph803w.0 (12291) Plugin sentry destroyed
                  2022-06-03 06:58:26.651  - warn: ph803w.0 (12291) Terminated (UNCAUGHT_EXCEPTION): Without reason
                  2022-06-03 06:58:26.654  - info: ph803w.0 (12291) Disconnected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 (0/1)
                  2022-06-03 06:58:27.531  - error: host.raspberrypi instance system.adapter.ph803w.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                  2022-06-03 06:58:27.532  - info: host.raspberrypi Restart adapter system.adapter.ph803w.0 because enabled
                  2022-06-03 06:58:57.590  - info: host.raspberrypi instance system.adapter.ph803w.0 started with pid 14415
                  2022-06-03 06:58:59.415  - debug: ph803w.0 (14415) Redis Objects: Use Redis connection: 127.0.0.1:9001
                  2022-06-03 06:58:59.496  - debug: ph803w.0 (14415) Objects client ready ... initialize now
                  2022-06-03 06:58:59.499  - debug: ph803w.0 (14415) Objects create System PubSub Client
                  2022-06-03 06:58:59.500  - debug: ph803w.0 (14415) Objects create User PubSub Client
                  2022-06-03 06:58:59.501  - debug: ph803w.0 (14415) Objects client initialize lua scripts
                  2022-06-03 06:58:59.529  - debug: ph803w.0 (14415) Objects connected to redis: 127.0.0.1:9001
                  2022-06-03 06:58:59.537  - debug: ph803w.0 (14415) objectDB connected
                  2022-06-03 06:58:59.539  - debug: ph803w.0 (14415) Redis States: Use Redis connection: 127.0.0.1:9000
                  2022-06-03 06:58:59.552  - debug: ph803w.0 (14415) States create System PubSub Client
                  2022-06-03 06:58:59.553  - debug: ph803w.0 (14415) States create User PubSub Client
                  2022-06-03 06:58:59.575  - debug: ph803w.0 (14415) States connected to redis: 127.0.0.1:9000
                  2022-06-03 06:58:59.576  - debug: ph803w.0 (14415) statesDB connected
                  2022-06-03 06:59:00.498  - debug: ph803w.0 (14415) Plugin sentry Initialize Plugin (enabled=true)
                  2022-06-03 06:59:00.503  - info: ph803w.0 (14415) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                  2022-06-03 06:59:00.529  - info: ph803w.0 (14415) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.17.4, js-controller: 3.3.22
                  2022-06-03 06:59:00.662  - debug: ph803w.0 (14415) Init 1 known devices without discovery ...
                  2022-06-03 06:59:00.664  - debug: ph803w.0 (14415) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15
                  2022-06-03 06:59:00.831  - info: ph803w.0 (14415) Connected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 ... logging in ...
                  2022-06-03 06:59:00.890  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:00.893  - debug: ph803w.0 (14415) Initialization for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 done (1/1)
                  2022-06-03 06:59:00.923  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"11","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:00.956  - debug: ph803w.0 (14415) Discovered PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.15 already known, ignore
                  2022-06-03 06:59:06.890  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:13.328  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:14.340  - info: influxdb.0 (3092) Store 101 buffered influxDB history points
                  2022-06-03 06:59:20.535  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:26.510  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:32.511  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:40.985  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":760,"phOutlet":true,"redoxOutlet":false}
                  2022-06-03 06:59:58.383  - debug: ph803w.0 (14415) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.64,"redox":761,"phOutlet":true,"redoxOutlet":false}
                  

                  Bis auf den Fehler nach dem ersten Start des Adapters und anschließendem automatischem Neustart des Adapters, ist mir nichts negatives aufgefallen.

                  Danke nochmals für das anpassen 🙂

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @daniel_iobroker last edited by

                    @daniel_iobroker Ok, fix kommt

                    punker 1 Reply Last reply Reply Quote 0
                    • punker
                      punker @apollon77 last edited by punker

                      @apollon77

                      Hi, ich lese hier seit einiger Zeit mit und hab mir auch einen 803w gekauft.
                      Leider nutze ich FHEM als Hausautomation.
                      Dein Programm unter SSH funzt einwandfrei.
                      Aber wie kann ich die Werte an einen MQTT-Server senden bzw. wenigstens in eine Logdatei schreiben?
                      Diese könnte ich dann in FHEM weiternutzen.

                      Update: Umleiten in eine Datei hab ich hinbekommen!

                      LG
                      Dieter

                      apollon77 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @punker last edited by

                        @punker auch wenn hier off topic aber ich glaub das hat mal jemand gebaut https://github.com/cellerich/ph803w_2_mqtt

                        punker 2 Replies Last reply Reply Quote 0
                        • punker
                          punker last edited by

                          @apollon77 Dockercontainer. Hab ich nicht laufen.
                          Vielleicht krieg ichs anders hin. In die Logdatei schreibt er ja.

                          Danke

                          1 Reply Last reply Reply Quote 0
                          • punker
                            punker @apollon77 last edited by punker

                            @apollon77 So, hab jetzt doch noch iobroker in Docker aufgesetzt.
                            Den 803w Adapter aus Github installiert, aber er zeigt ein gelbes Dreieck mit Ausrufezeichen, auch nach restart der Instanz.
                            Erkannt wird er offensichtlich.
                            Woran kanns liegen?

                            Update: Hab iobroker nun normal (nicht als Docker-Image) installiert und nu funzt es!

                            1 Reply Last reply Reply Quote 1
                            • punker
                              punker @apollon77 last edited by

                              @apollon77 Muss dich leider nochmal belästigen. 😀
                              Dein Adapter für den 803w gibt ja den Status für die beiden Steckdosen aus. Jeweils true für ein und false für aus.
                              Wie kann ich in ioBroker die Texte true bzw. false auf ein und aus ändern?

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @punker last edited by

                                @punker Diu meinst im Admin? Gar nicht weil das die Zustände sind. Admin ist ein operatives Tool und keine "Visualisierung". Was genau ist dein Thema? 🙂

                                punker 1 Reply Last reply Reply Quote 0
                                • punker
                                  punker @apollon77 last edited by

                                  @apollon77 said in PH-Messung:

                                  @punker Diu meinst im Admin? Gar nicht weil das die Zustände sind. Admin ist ein operatives Tool und keine "Visualisierung". Was genau ist dein Thema? 🙂

                                  Ist eigentlich nur ein "optisches Problemchen" in FHEM, weil da halt bei den Pumpenstati die Werte false und true stehen anstatt aus oder ein.
                                  Das will ich ändern. Evtl. gehts in FHEM aber ich dachte in ioBroker wärs einfacher!

                                  Aber Danke trotzdem

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @punker last edited by

                                    @punker EIn Boolean Wert hat die Stati "true" und "false" ... Das sind die natürlichen Boolschen Werte. Musst Du in FHEM lösen da wo es visualisiert wird

                                    punker 1 Reply Last reply Reply Quote 0
                                    • punker
                                      punker @apollon77 last edited by

                                      @apollon77 Danke ich versuchs!

                                      1 Reply Last reply Reply Quote 0
                                      • D3ltoroxp
                                        D3ltoroxp last edited by

                                        Ich würde mich hier noch mal mit anhängen. Mein Gerät ist heute gekommen, ich bekomme es aber einfach nicht ins WLAN. Hab den QR Code gescannt und heruntergeladen, Standort ein und WLAN Daten eingegeben, das Gerät eingesteckt und WLAN Symbol zum blinken gebracht, die Schritte an der App habe ich auch durch. Nach der Suche 100% findet er einfach das Gerät nicht. In der Fritz sehe ich aber einen ESP, das sollte der PH803 sein.

                                        Wenn er in der Liste vom Funknetz steht, hat sich doch der PH803 mit meinem WLAN verbunden, sonst hätte er doch keine IP und würde nicht angezeigt oder ?

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @D3ltoroxp last edited by

                                          @d3ltoroxp Das klingt korrekt ... findet der Adapter ihn?

                                          D3ltoroxp 1 Reply Last reply Reply Quote 0
                                          • D3ltoroxp
                                            D3ltoroxp @apollon77 last edited by

                                            @apollon77 Jetzt ja.

                                            Ich habe noch mal im Netz eine andere Anleitung gefunden, mit dem QR Code habe ich eine ältere Version von der App bekommen, mit der habe ich gerade auch das Gerät ins WLAN und die App gebracht und auch der Adapter hat das Gerät nun gefunden.

                                            Mit der neusten scheint das nicht zu klappen, zumindest bei mir nicht.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            535
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            47
                                            432
                                            68744
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo