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.
    • T
      Tobi68 last edited by Tobi68

      Habe eben mal versucht das Teil schon mal ins Netzwerk einzubinden.

      Geht das mit IOS Geräten nicht mehr?
      Hätte sonst nur noch nen Windows PC zur Verfügung..
      Ich bekomme nach 5sec. drücken der Wlan taste am 803W kein Wlan von seinem AP angezeigt.

      Edit:
      Habs irgendwie hinnbekommen, er ist im Netz.
      Hagelt aber Fehlermeldungen vom Adapter, wo hängts da?
      Habe keine Elektroden angeschlossen, falls es damit zusammen hängen könnte..

      
      UNCAUGHT_EXCEPTION): Without reason
      
      ph803w.0
      2022-04-27 08:55:18.987	info	terminating
      
      ph803w.0
      2022-04-27 08:55:18.966	error	The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:55:18.965	error	Error: The id is empty! Please provide a valid id. at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19) at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23) at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16 at new Promise (<anonymous>) at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16) at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20) at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24) at PH803WDiscovery.emit (events.js:400:28) at PH803WDiscovery.emit (domain.js:475:12) at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
      
      ph803w.0
      2022-04-27 08:55:18.696	error	unhandled promise rejection: The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:55:18.695	error	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().
      
      ph803w.0
      2022-04-27 08:55:18.691	info	PH803W Device discovered on 192.168.178.134
      
      ph803w.0
      2022-04-27 08:55:18.553	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
      
      ph803w.0
      2022-04-27 08:54:45.813	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      ph803w.0
      2022-04-27 08:54:45.810	info	terminating
      
      ph803w.0
      2022-04-27 08:54:45.749	error	The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:54:45.748	error	Error: The id is empty! Please provide a valid id. at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19) at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23) at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16 at new Promise (<anonymous>) at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16) at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20) at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24) at PH803WDiscovery.emit (events.js:400:28) at PH803WDiscovery.emit (domain.js:475:12) at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
      
      ph803w.0
      2022-04-27 08:54:45.443	error	unhandled promise rejection: The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:54:45.442	error	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().
      
      ph803w.0
      2022-04-27 08:54:45.433	info	PH803W Device discovered on 192.168.178.134
      
      ph803w.0
      2022-04-27 08:54:45.290	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
      
      ph803w.0
      2022-04-27 08:54:12.155	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      ph803w.0
      2022-04-27 08:54:12.153	info	terminating
      
      ph803w.0
      2022-04-27 08:54:12.127	error	The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:54:12.126	error	Error: The id is empty! Please provide a valid id. at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19) at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23) at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16 at new Promise (<anonymous>) at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16) at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20) at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24) at PH803WDiscovery.emit (events.js:400:28) at PH803WDiscovery.emit (domain.js:475:12) at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
      
      ph803w.0
      2022-04-27 08:54:11.874	error	unhandled promise rejection: The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:54:11.873	error	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().
      
      ph803w.0
      2022-04-27 08:54:11.869	info	PH803W Device discovered on 192.168.178.134
      
      ph803w.0
      2022-04-27 08:54:11.602	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
      
      ph803w.0
      2022-04-27 08:53:51.371	info	Got terminate signal TERMINATE_YOURSELF
      
      ph803w.0
      2022-04-27 08:53:51.368	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      ph803w.0
      2022-04-27 08:53:51.366	info	terminating
      
      ph803w.0
      2022-04-27 08:53:51.340	error	The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:53:51.338	error	Error: The id is empty! Please provide a valid id. at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19) at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23) at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16 at new Promise (<anonymous>) at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16) at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20) at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24) at PH803WDiscovery.emit (events.js:400:28) at PH803WDiscovery.emit (domain.js:475:12) at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
      
      ph803w.0
      2022-04-27 08:53:51.012	error	unhandled promise rejection: The id is empty! Please provide a valid id.
      
      ph803w.0
      2022-04-27 08:53:51.011	error	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().
      
      ph803w.0
      2022-04-27 08:53:51.000	info	PH803W Device discovered on 192.168.178.134
      
      ph803w.0
      2022-04-27 08:53:50.718	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
      
      ph803w.0
      2022-04-27 08:53:47.554	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      
      ph803w.0
      2022-04-27 08:53:47.552	info	terminating
      
      
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Tobi68 last edited by

        @tobi68 ja, seeehr strange ... Er bekommt vom Gerät beim Discovery keine ID. Bitte lösche nochmal die Instanz und leg Sie neu an. geht es dann?

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

          @apollon77

          Nein geht nicht, muss noch was anderes installiert sein?

          
          host.raspberrypi
          2022-04-27 10:31:48.366	warn	Do not restart adapter system.adapter.ph803w.0 because restart loop detected
          host.raspberrypi
          2022-04-27 10:31:48.366	info	Restart adapter system.adapter.ph803w.0 because enabled
          host.raspberrypi
          2022-04-27 10:31:48.366	error	instance system.adapter.ph803w.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at PH803WDiscovery.emit (domain.js:475:12)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at PH803WDiscovery.emit (events.js:400:28)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20)
          host.raspberrypi
          2022-04-27 10:31:48.365	error	Caught by controller[1]: at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16)
          host.raspberrypi
          2022-04-27 10:31:48.364	error	Caught by controller[1]: at new Promise (<anonymous>)
          host.raspberrypi
          2022-04-27 10:31:48.364	error	Caught by controller[1]: at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16
          host.raspberrypi
          2022-04-27 10:31:48.364	error	Caught by controller[1]: at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23)
          host.raspberrypi
          2022-04-27 10:31:48.364	error	Caught by controller[1]: at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19)
          host.raspberrypi
          2022-04-27 10:31:48.363	error	Caught by controller[1]: Error: The id is empty! Please provide a valid id.
          host.raspberrypi
          2022-04-27 10:31:48.363	error	Caught by controller[0]: 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(). The promise rejected with the reason:
          
          ph803w.0
          2022-04-27 10:31:47.725	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
          
          ph803w.0
          2022-04-27 10:31:47.723	info	terminating
          
          ph803w.0
          2022-04-27 10:31:47.679	error	The id is empty! Please provide a valid id.
          
          ph803w.0
          2022-04-27 10:31:47.677	error	Error: The id is empty! Please provide a valid id. at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19) at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23) at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16 at new Promise (<anonymous>) at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16) at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20) at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24) at PH803WDiscovery.emit (events.js:400:28) at PH803WDiscovery.emit (domain.js:475:12) at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
          
          ph803w.0
          2022-04-27 10:31:47.426	error	unhandled promise rejection: The id is empty! Please provide a valid id.
          
          ph803w.0
          2022-04-27 10:31:47.425	error	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().
          
          ph803w.0
          2022-04-27 10:31:47.421	info	PH803W Device discovered on 192.168.178.134
          
          ph803w.0
          2022-04-27 10:31:47.285	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
          
          
          apollon77 1 Reply Last reply Reply Quote 1
          • apollon77
            apollon77 @Tobi68 last edited by

            @tobi68 Ok, dann brauche ich bitte mehr Infos weil das ist komisch das es ohne ID ankommt.

            Bitte lösch nochmal die Objekte falls welche da sind. (sollte aber ja nicht).

            Dann bitte Adapter stoppen.
            Dann eine Shell auf den iobroker host auf machen
            Dort DEBUG=ph803* node /opt/iobroker/node_modules/iobroker.ph803w/main.js --debug --logs

            Und dann Bitte log posten

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

              Bzw eine Frage: Du hast das Gerät jetzt aber schon per App einmalig ins WLAN gebracht und so verbunden? Darf es zu dem Cloud Host reden oder hast du es dem nie erlaubt mit seinem Cloud Host zu reden oder sowas?

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

                @apollon77

                Ich habe es mit IOS irgendwie mit der App geschafft das er bei mir im Wlan aufgetaucht ist.
                Ich konnte die Installation mit der app aber nicht kl. fertig abschliessen. Er hat von mir die Wlan zugangsdaten bekommen das wars.
                Danach hatte ich in der Fritz ein neues Esp Gerät entdeckt.

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

                  @tobi68 Ok, dann bvllt ein setup was bisher noch nicht so vorkam. Daher mach mal das oben geschriebene Log dann schaue ich

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

                    @apollon77

                    Shell auf den Iobroher host 😕
                    Hoffe mal mit putty ist das gleiche..:
                    Noch ne Info, DHCP macht bei mir ne 7590 der 803 ist im Garten-Accespoint per TPLink CPE210 eingebunden.

                    pi@raspberrypi:~ $ DEBUG=ph803* node /opt/iobroker/node_modules/iobroker.ph803w/main.js --debug --logs
                    2022-04-27 15:07:10.720  - debug: ph803w.0 (27168) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    2022-04-27 15:07:10.787  - debug: ph803w.0 (27168) Objects client ready ... initialize now
                    2022-04-27 15:07:10.790  - debug: ph803w.0 (27168) Objects create System PubSub Client
                    2022-04-27 15:07:10.792  - debug: ph803w.0 (27168) Objects create User PubSub Client
                    2022-04-27 15:07:10.852  - debug: ph803w.0 (27168) Objects client initialize lua scripts
                    2022-04-27 15:07:10.860  - debug: ph803w.0 (27168) Objects connected to redis: 127.0.0.1:9001
                    2022-04-27 15:07:10.899  - debug: ph803w.0 (27168) Redis States: Use Redis connection: 127.0.0.1:9000
                    2022-04-27 15:07:10.919  - debug: ph803w.0 (27168) States create System PubSub Client
                    2022-04-27 15:07:10.921  - debug: ph803w.0 (27168) States create User PubSub Client
                    2022-04-27 15:07:10.955  - debug: ph803w.0 (27168) States connected to redis: 127.0.0.1:9000
                    2022-04-27 15:07:11.069  - debug: ph803w.0 (27168) Plugin sentry Initialize Plugin (enabled=true)
                    2022-04-27 15:07:11.486  - info: ph803w.0 (27168) starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
                      ph803w:discovery Listen for local PH803W devices on port 12414 +0ms
                      ph803w:discovery Send broadcast message 0000000303000003 +2ms
                      ph803w:discovery Parsing discovered device: 192.168.178.134:12414 - 000000036400000400000006c45bbed045690008303430323030334100203264336439353464396262373431623461313962613131353331303439333262000000000000000265756170692e67697a776974732e636f6d3a383000342e312e32003033303330303030 +94ms
                      ph803w:discovery Discovered device: {"ip":"192.168.178.134","id":"","data1":"c45bbed04569","data2":"3034303230303341","data3":"2d3d954d9bb741b4a19ba1153104932b","apiServer":"euapi.gizwits.com:80","version":"4.1.2"} +1ms
                    2022-04-27 15:07:11.710  - info: ph803w.0 (27168) PH803W Device  discovered on 192.168.178.134
                    2022-04-27 15:07:11.712  - debug: ph803w.0 (27168) Start PH803W Device initialization for  on IP 192.168.178.134
                    2022-04-27 15:07:11.715  - error: ph803w.0 (27168) 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().
                    2022-04-27 15:07:11.716  - error: ph803w.0 (27168) unhandled promise rejection: The id is empty! Please provide a valid id.
                    2022-04-27 15:07:11.986  - error: ph803w.0 (27168) Error: The id is empty! Please provide a valid id.
                        at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19)
                        at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23)
                        at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16
                        at new Promise (<anonymous>)
                        at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16)
                        at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20)
                        at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24)
                        at PH803WDiscovery.emit (events.js:400:28)
                        at PH803WDiscovery.emit (domain.js:475:12)
                        at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
                    2022-04-27 15:07:11.989  - error: ph803w.0 (27168) The id is empty! Please provide a valid id.
                    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(). The promise rejected with the reason:
                    Error: The id is empty! Please provide a valid id.
                        at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19)
                        at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23)
                        at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16
                        at new Promise (<anonymous>)
                        at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16)
                        at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20)
                        at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24)
                        at PH803WDiscovery.emit (events.js:400:28)
                        at PH803WDiscovery.emit (domain.js:475:12)
                        at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
                    2022-04-27 15:07:12.013  - info: ph803w.0 (27168) terminating
                    2022-04-27 15:07:12.014  - debug: ph803w.0 (27168) Plugin sentry destroyed
                    2022-04-27 15:07:12.016  - warn: ph803w.0 (27168) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • T
                      Tobi68 @apollon77 last edited by

                      @apollon77 sagte in PH-Messung:

                      DEBUG=ph803* node /opt/iobroker/node_modules/iobroker.ph803w/main.js --debug --logs

                      Und noch einmal genau in der Reihenfolge die die beschrieben hast:

                      pi@raspberrypi:~ $ DEBUG=ph803* node /opt/iobroker/node_modules/iobroker.ph803w/                                                                                                                                                             main.js --debug --logs
                      2022-04-27 15:11:19.463  - debug: ph803w.0 (27608) Redis Objects: Use Redis conn                                                                                                                                                             ection: 127.0.0.1:9001
                      2022-04-27 15:11:19.532  - debug: ph803w.0 (27608) Objects client ready ... init                                                                                                                                                             ialize now
                      2022-04-27 15:11:19.534  - debug: ph803w.0 (27608) Objects create System PubSub                                                                                                                                                              Client
                      2022-04-27 15:11:19.536  - debug: ph803w.0 (27608) Objects create User PubSub Cl                                                                                                                                                             ient
                      2022-04-27 15:11:19.612  - debug: ph803w.0 (27608) Objects client initialize lua                                                                                                                                                              scripts
                      2022-04-27 15:11:19.619  - debug: ph803w.0 (27608) Objects connected to redis: 1                                                                                                                                                             27.0.0.1:9001
                      2022-04-27 15:11:19.654  - debug: ph803w.0 (27608) Redis States: Use Redis conne                                                                                                                                                             ction: 127.0.0.1:9000
                      2022-04-27 15:11:19.674  - debug: ph803w.0 (27608) States create System PubSub C                                                                                                                                                             lient
                      2022-04-27 15:11:19.676  - debug: ph803w.0 (27608) States create User PubSub Cli                                                                                                                                                             ent
                      2022-04-27 15:11:19.708  - debug: ph803w.0 (27608) States connected to redis: 12                                                                                                                                                             7.0.0.1:9000
                      2022-04-27 15:11:19.821  - debug: ph803w.0 (27608) Plugin sentry Initialize Plug                                                                                                                                                             in (enabled=true)
                      2022-04-27 15:11:20.032  - error: ph803w.0 (27608) adapter disabled
                      2022-04-27 15:11:20.241  - info: ph803w.0 (27608) starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
                        ph803w:discovery Listen for local PH803W devices on port 12414 +0ms
                        ph803w:discovery Send broadcast message 0000000303000003 +1ms
                        ph803w:discovery Parsing discovered device: 192.168.178.134:12414 - 000000036400000400000006c45bbed045690008303430323030334100203264336439353464396262373431623461313962613131353331303439333262000000000000000265756170692e67697a776974732e636f6d3a383000342e312e32003033303330303030 +60ms
                        ph803w:discovery Discovered device: {"ip":"192.168.178.134","id":"","data1":"c45bbed04569","data2":"3034303230303341","data3":"2d3d954d9bb741b4a19ba1153104932b","apiServer":"euapi.gizwits.com:80","version":"4.1.2"} +1ms
                      2022-04-27 15:11:20.399  - info: ph803w.0 (27608) PH803W Device  discovered on 192.168.178.134
                      2022-04-27 15:11:20.400  - debug: ph803w.0 (27608) Start PH803W Device initialization for  on IP 192.168.178.134
                      2022-04-27 15:11:20.405  - error: ph803w.0 (27608) 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().
                      2022-04-27 15:11:20.406  - error: ph803w.0 (27608) unhandled promise rejection: The id is empty! Please provide a valid id.
                      2022-04-27 15:11:20.690  - error: ph803w.0 (27608) Error: The id is empty! Please provide a valid id.
                          at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19)
                          at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23)
                          at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16
                          at new Promise (<anonymous>)
                          at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16)
                          at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20)
                          at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24)
                          at PH803WDiscovery.emit (events.js:400:28)
                          at PH803WDiscovery.emit (domain.js:475:12)
                          at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
                      2022-04-27 15:11:20.692  - error: ph803w.0 (27608) The id is empty! Please provide a valid id.
                      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(). The promise rejected with the reason:
                      Error: The id is empty! Please provide a valid id.
                          at Utils.validateId (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/utils.ts:161:19)
                          at Ph803w.extendObject (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:2142:23)
                          at /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2116:16
                          at new Promise (<anonymous>)
                          at Ph803w.extendObjectAsync (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2115:16)
                          at Ph803w.initDevice (/opt/iobroker/node_modules/iobroker.ph803w/main.js:134:20)
                          at PH803WDiscovery.<anonymous> (/opt/iobroker/node_modules/iobroker.ph803w/main.js:113:24)
                          at PH803WDiscovery.emit (events.js:400:28)
                          at PH803WDiscovery.emit (domain.js:475:12)
                          at PH803WDiscovery._parseResponse (/opt/iobroker/node_modules/node-ph803w/lib/discovery.js:149:14)
                      2022-04-27 15:11:20.713  - info: ph803w.0 (27608) terminating
                      2022-04-27 15:11:20.714  - debug: ph803w.0 (27608) Plugin sentry destroyed
                      2022-04-27 15:11:20.715  - warn: ph803w.0 (27608) Terminated (UNCAUGHT_EXCEPTION): Without reason
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 last edited by

                        Najaok dann gibts als den Fall das das Gerät keine ID hat 🙂 Versuch mal die GitHub version vom Adapter bitte.

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

                          @apollon77

                          danke hat geklappt, werde ichs doch in den Pool einbauen 🙂

                          
                          ph803w.0 5785	2022-04-28 03:56:28.318	info	Connected PH803W device 192168178134-1651110988215 on IP 192.168.178.134 ... logging in ...
                          
                          ph803w.0 5785	2022-04-28 03:56:28.215	info	PH803W Device 192168178134-1651110988215 discovered on 192.168.178.134
                          
                          ph803w.0 5785	2022-04-28 03:56:28.214	info	PH803W Device 192.168.178.134 has no ID, define one by ourself
                          
                          ph803w.0 5785	2022-04-28 03:56:27.966	info	starting. Version 1.0.2 (non-npm: Apollon77/ioBroker.ph803w) in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.18.3, js-controller: 4.0.21
                          
                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @Tobi68 last edited by

                            @tobi68 korrekte Daten kommen auch?

                            T 2 Replies Last reply Reply Quote 0
                            • T
                              Tobi68 @apollon77 last edited by

                              @apollon77 sagte in PH-Messung:

                              @tobi68 korrekte Daten kommen auch?

                              Soweit bin ich noch nicht, muss noch 100 Seiten im Poolforum lesen..
                              Ich habe noch keine Kalibrierlösung.. und habe die Elektroden noch gar nicht angeschlossen..
                              Hast du bedenken? Dann ziehe ich die Bestellung und Einrichtung vor?

                              56908f83-9998-43de-8dd4-859d48f9e9bf-image.png

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

                                @apollon77

                                Es kommt auf jeden Fall schon mal ne veränderung an.
                                Hab die Sonden mal angeschlossen. Scheint zu klappen.

                                AA08BAF2-EF93-4211-A2FE-61C547A7EA2E.jpeg B088DAD3-8B95-45CC-8538-B1F1198C840E.jpeg

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

                                  @tobi68 Das reicht ja ... am Ende ists ok wenn die Werte im ioBroker zu denen passen die das Display anzeigt

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

                                    @apollon77
                                    Hi Apollon.
                                    Inzwischen habe ich den ph803w auch im Pool system installiert. Dein Adapter funktioniert soweit super. Das einzige Problem was ich habe ist, wenn ich den ph803w ausschalte und wieder einschalte, dann bekommt er eine andere IP Adresse. Danach findet ihn der Adapter nicht mehr. Auch ein Neustart des Adapters hilft da nichts.
                                    Ich muss dann die Objekte unter dem Ph803 löschen, den Adapter neu starten und dann wird er sofort gefunden..

                                    Allerdings sind dann die werte aus der Datenbank verloren, da die ja neu getrackt werden müssen - ebenso muss ich dann in der vis natürlich die neuen Objekte auswählen.

                                    Wäre es nicht besser, wenn der Adapter den ph803w bei Neustart sucht und sich dann verbindet dann über die id herausfindet, dass es eh das gleiche Gerät ist und dann die bestehenden Objekte weiter aktualisiert?

                                    Oder ist bei mir hier was faul?

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

                                      @daniel_iobroker Hm ... zeig mal ein Debug log von einem Adapterstart bitte wo das passiert ist. Ansonsten: Pin die IP zur Mac Adresse doch in deinem Router fest?

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

                                        @apollon77 Sorry, bin erst Heute dazu gekommen, das Log mit dem Laptop zu machen. Hier das log:

                                        2022-05-25 18:03:11.648  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 (force=false, process=true)
                                        2022-05-25 18:03:11.761  - info: ph803w.0 (26058) Got terminate signal TERMINATE_YOURSELF
                                        2022-05-25 18:03:11.787  - info: ph803w.0 (26058) terminating
                                        2022-05-25 18:03:11.795  - debug: ph803w.0 (26058) Plugin sentry destroyed
                                        2022-05-25 18:03:11.797  - info: ph803w.0 (26058) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        2022-05-25 18:03:11.819  - info: host.raspberrypi stopInstance system.adapter.ph803w.0 send kill signal
                                        2022-05-25 18:03:12.525  - info: host.raspberrypi instance system.adapter.ph803w.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        2022-05-25 18:03:15.346  - info: host.raspberrypi instance system.adapter.ph803w.0 started with pid 31494
                                        2022-05-25 18:03:18.105  - debug: ph803w.0 (31494) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                        2022-05-25 18:03:18.246  - debug: ph803w.0 (31494) Objects client ready ... initialize now
                                        2022-05-25 18:03:18.276  - debug: ph803w.0 (31494) Objects create System PubSub Client
                                        2022-05-25 18:03:18.278  - debug: ph803w.0 (31494) Objects create User PubSub Client
                                        2022-05-25 18:03:18.279  - debug: ph803w.0 (31494) Objects client initialize lua scripts
                                        2022-05-25 18:03:18.788  - debug: ph803w.0 (31494) Objects connected to redis: 127.0.0.1:9001
                                        2022-05-25 18:03:18.799  - debug: ph803w.0 (31494) objectDB connected
                                        2022-05-25 18:03:18.803  - debug: ph803w.0 (31494) Redis States: Use Redis connection: 127.0.0.1:9000
                                        2022-05-25 18:03:20.802  - warn: ph803w.0 (31494) slow connection to states DB. Still waiting ...
                                        2022-05-25 18:03:21.166  - debug: ph803w.0 (31494) States create System PubSub Client
                                        2022-05-25 18:03:21.171  - debug: ph803w.0 (31494) States create User PubSub Client
                                        2022-05-25 18:03:22.169  - debug: ph803w.0 (31494) States connected to redis: 127.0.0.1:9000
                                        2022-05-25 18:03:22.171  - debug: ph803w.0 (31494) statesDB connected
                                        2022-05-25 18:03:23.423  - debug: ph803w.0 (31494) Plugin sentry Initialize Plugin (enabled=true)
                                        2022-05-25 18:03:23.431  - info: ph803w.0 (31494) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                        2022-05-25 18:03:23.453  - info: ph803w.0 (31494) starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.17.4, js-controller: 3.3.22
                                        2022-05-25 18:03:23.580  - debug: ph803w.0 (31494) Init 1 known devices without discovery ...
                                        2022-05-25 18:03:23.581  - debug: ph803w.0 (31494) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.21
                                        2022-05-25 18:03:26.918  - info: ph803w.0 (31494) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect EHOSTUNREACH 192.168.8.21:12416
                                        2022-05-25 18:03:40.036  - info: ph803w.0 (31494) PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ Error: Error: connect EHOSTUNREACH 192.168.8.21:12416
                                        

                                        Eigentlich steht da nicht viel, außer dass er sich mit der bei der initialisierung gefundenen IP verbinden will. Da der PH803w jedoch eine neue IP bekommen hat, geht das natürlich nicht.

                                        Da der PH803w über 2 Repeater verbunden ist, sehe ich im Router leider den PH803w leider gar nicht. Daher kann ich die IP Adresse nicht direkt zuweisen. Das geht nur mit Clients, die direkt mit dem Router verbunden sind (Ist leider bei dem Router so). Alternativ wäre es noch möglich, im PH803w direkt eine IP Adresse zu hinterlegen. Leider ist dafür in der PH803w App keine Möglichkeit vorgesehen.

                                        Am einfachsten wäre es, wenn der Adapter hier nach dem Gerät sucht und dieses dann verbindet - unabhängig der IP Adresse.

                                        Nach dem löschen der Objekte unter dem PH803 Ordner und anschließendem Neustart des Adapaters wird der PH803w sofort mit der gleichen ID gefunden (nur halt anderer IP Adresse). Siehe hier das log dazu:

                                        2022-05-25 18:13:50.140  - info: host.raspberrypi "system.adapter.ph803w.0" enabled
                                        2022-05-25 18:13:52.247  - info: host.raspberrypi instance system.adapter.ph803w.0 started with pid 30431
                                        2022-05-25 18:13:54.716  - debug: ph803w.0 (30431) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                        2022-05-25 18:13:54.784  - debug: ph803w.0 (30431) Objects client ready ... initialize now
                                        2022-05-25 18:13:54.787  - debug: ph803w.0 (30431) Objects create System PubSub Client
                                        2022-05-25 18:13:54.788  - debug: ph803w.0 (30431) Objects create User PubSub Client
                                        2022-05-25 18:13:54.789  - debug: ph803w.0 (30431) Objects client initialize lua scripts
                                        2022-05-25 18:13:54.826  - debug: ph803w.0 (30431) Objects connected to redis: 127.0.0.1:9001
                                        2022-05-25 18:13:54.837  - debug: ph803w.0 (30431) objectDB connected
                                        2022-05-25 18:13:54.840  - debug: ph803w.0 (30431) Redis States: Use Redis connection: 127.0.0.1:9000
                                        2022-05-25 18:13:54.861  - debug: ph803w.0 (30431) States create System PubSub Client
                                        2022-05-25 18:13:54.862  - debug: ph803w.0 (30431) States create User PubSub Client
                                        2022-05-25 18:13:54.882  - debug: ph803w.0 (30431) States connected to redis: 127.0.0.1:9000
                                        2022-05-25 18:13:54.884  - debug: ph803w.0 (30431) statesDB connected
                                        2022-05-25 18:13:55.619  - debug: ph803w.0 (30431) Plugin sentry Initialize Plugin (enabled=true)
                                        2022-05-25 18:13:55.629  - info: ph803w.0 (30431) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                        2022-05-25 18:13:55.694  - info: ph803w.0 (30431) starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.ph803w, node: v14.17.4, js-controller: 3.3.22
                                        2022-05-25 18:13:56.093  - info: ph803w.0 (30431) PH803W Device 5b4qJ9jHFtEQXmuJEMyHoJ discovered on 192.168.8.19
                                        2022-05-25 18:13:56.096  - debug: ph803w.0 (30431) Start PH803W Device initialization for 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.19
                                        2022-05-25 18:13:56.412  - info: ph803w.0 (30431) Connected PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.19 ... logging in ...
                                        2022-05-25 18:13:56.484  - debug: ph803w.0 (30431) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"11","binFlags2":"1","ph":7.62,"redox":731,"phOutlet":true,"redoxOutlet":false}
                                        2022-05-25 18:13:56.486  - debug: ph803w.0 (30431) Initialization for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ on IP 192.168.8.19 done (1/1)
                                        2022-05-25 18:15:01.925  - info: influxdb.0 (29706) Store 101 buffered influxDB history points
                                        2022-05-25 18:16:52.008  - info: influxdb.0 (29706) Store 101 buffered influxDB history points
                                        2022-05-25 18:17:00.285  - debug: ph803w.0 (30431) Data received for PH803W device 5b4qJ9jHFtEQXmuJEMyHoJ: {"binFlags1":"100","binFlags2":"1","ph":7.62,"redox":732,"phOutlet":true,"redoxOutlet":false}
                                        
                                        apollon77 2 Replies Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @daniel_iobroker last edited by apollon77

                                          @daniel_iobroker Und du unterschlägst beim ersten Log nicht vllt was? Weil an sich läuft das Discovery auch wenn er versucht eine andere IP zu verbinden und die internen Datenstrukturen merken sichgerade die IP ... also hätte ich trotzdem eine " ... discovered on ..." Zeile erwartet ....

                                          EDIT 1... aaahhhh ... i seeeeee the issue

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

                                            @daniel_iobroker Ok, dann versuch mal die GitHub version ... Und poste bitte mal Debug Log.

                                            Achtung: Mit npm6 können GitHub Installs aktuell 10+Minuten dauern ... einfach Geduld haben.

                                            D 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            382
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            47
                                            432
                                            69554
                                            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