NEWS
[Gelöst] Netatmo Adapter Installation
-
Hallo,
ich habe mir einen CO-Melder von Netatmo zugelegt und will diesen nun im iobroker einbinden.
Allerdings funktioniert dieses nicht und ich finde meinen Fehler nicht.Ich habe im Netatmo-Adapter meine Client-ID eingetragen und auch die Client-Secret.
Wenn ich auf Authentifizierung drücke, geht ein anderes Fenster auf und ich kann dort zustimmen, das die Daten gelesen werden dürfen.Danach kommt auch die Seite, das dies geklappt hat.
Allerdings habe ich trotzdem keine DP.Meine Log sagt:
2023-02-20 22:56:15.662 - info: host.iobroker stopInstance system.adapter.netatmo.0 (force=false, process=true) 2023-02-20 22:56:15.677 - info: netatmo.0 (497812) Got terminate signal TERMINATE_YOURSELF 2023-02-20 22:56:15.680 - info: netatmo.0 (497812) CO-Sensor: Unregistering realtime events 2023-02-20 22:56:15.686 - info: netatmo.0 (497812) cleaned everything up... 2023-02-20 22:56:15.687 - info: netatmo.0 (497812) terminating 2023-02-20 22:56:15.690 - info: netatmo.0 (497812) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-20 22:56:15.783 - info: host.iobroker stopInstance system.adapter.netatmo.0 send kill signal 2023-02-20 22:56:16.270 - info: host.iobroker instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-02-20 22:56:18.922 - info: host.iobroker instance system.adapter.netatmo.0 started with pid 497912 2023-02-20 22:56:21.406 - info: netatmo.0 (497912) starting. Version 2.0.5 in /opt/iobroker/node_modules/iobroker.netatmo, node: v16.18.1, js-controller: 4.0.24 2023-02-20 22:56:21.451 - info: netatmo.0 (497912) Using stored tokens to initialize ... {"access_token":"63f3bbcc366d65XXXXXXX|d89fbb8e7c3842a7fa6XXXXXXXXX","refresh_token":"63f3bbcc366d65XXXXXXX|d89fbb8e7c3842a7fa6XXXXXXXXX","scope":"read_carbonmonoxidedetector","client_id":"63f3bbcc366d65XXXXXXX"} 2023-02-20 22:56:21.453 - info: netatmo.0 (497912) Authenticating with Netatmo using individual client-ID 63f3bbcc366d65XXXXXXX 2023-02-20 22:56:21.673 - info: netatmo.0 (497912) Successfully authenticated with Netatmo with individual client-ID 63f3bbcc366d65XXXXXXX 2023-02-20 22:56:21.787 - info: netatmo.0 (497912) CO-Sensor: Registering realtime events with Socket instance 2023-02-20 22:56:21.954 - info: netatmo.0 (497912) Webhook added: "{\"status\":\"ok\",\"time_exec\":0.0073490142822265625,\"time_server\":1676930181}" 2023-02-20 22:56:22.011 - info: netatmo.0 (497912) Websocket error: websocket error, Error: websocket error at WS.Transport.onError (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/engine.io-client/lib/transport.js:64:13) at WebSocket.ws.onerror (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/engine.io-client/lib/transports/websocket.js:149:10) at WebSocket.onError (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/ws/lib/WebSocket.js:452:14) at WebSocket.emit (node:events:513:28) at WebSocket.emit (node:domain:489:12) at ClientRequest.response (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/ws/lib/WebSocket.js:721:12) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:525:35) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27) 2023-02-20 22:56:22.159 - info: netatmo.0 (497912) API Warning: getHomeData error: Application does not have the good scope rights 2023-02-20 22:56:22.161 - error: netatmo.0 (497912) Error: getHomeData error: Application does not have the good scope rights 2023-02-20 22:56:22.786 - info: netatmo.0 (497912) Websocket error: websocket error, Error: websocket error at WS.Transport.onError (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/engine.io-client/lib/transport.js:64:13) at WebSocket.ws.onerror (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/engine.io-client/lib/transports/websocket.js:149:10) at WebSocket.onError (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/ws/lib/WebSocket.js:452:14) at WebSocket.emit (node:events:513:28) at WebSocket.emit (node:domain:489:12) at ClientRequest.response (/opt/iobroker/node_modules/iobroker.netatmo/node_modules/ws/lib/WebSocket.js:721:12) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:525:35) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)
MOD EDIT: LOG IN CODE TAGS </> GESETZT
-
@drachensteyn sagte in Netatmo Adapter Installation:
Websocket error: websocket error, Error: websocket error
Lies mal bitte hier: https://forum.iobroker.net/topic/60525/netatmo-websocket-error/20?lang=en-GB
-
Danke für die schnelle Antwort.
Den ist-Adapter habe ich auch schon deswegen installiert und auch eine Lizenz gekauft.Ich schau mir das heute Abend nochmal genau an.
-
Danke nochmal für deinen Tipp. Nach dem Update vom Adapter auf 3.1.0 geht es.
Im iobroker könnte ich nur 2.05 runterladen. -
@drachensteyn Sehr schön.
Editiere doch bitte noch deinen ersten Post und setze ein [Gelöst] vor den Titel