No Objects in Netatmo folder
Closed this issue · 13 comments
Hi all,
I have a problem with the Netatmo adapter. It is installed and running but does not generate any objects:
I also get an error in the protocol:
2024-05-02 09:43:05.085 info instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
netatmo.0
2024-05-02 09:43:05.013 info terminating
host.iobroker
2024-05-02 09:43:04.589 info stopInstance system.adapter.netatmo.0 send kill signal
netatmo.0
2024-05-02 09:43:04.510 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
netatmo.0
2024-05-02 09:43:04.506 info terminating
netatmo.0
2024-05-02 09:43:04.504 info cleaned everything up...
netatmo.0
2024-05-02 09:43:04.499 info Got terminate signal TERMINATE_YOURSELF
host.iobroker
2024-05-02 09:43:04.487 info stopInstance system.adapter.netatmo.0 (force=false, process=true)
admin.0
2024-05-02 09:42:58.483 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]
admin.0
2024-05-02 09:42:19.857 info ==> Connected system.user.admin from ::ffff:192.168.1.24
admin.0
2024-05-02 09:42:14.165 info <== Disconnect system.user.admin from ::ffff:192.168.1.24 admin
admin.0
2024-05-02 09:39:45.276 info <== Disconnect system.user.admin from ::ffff:192.168.1.24 javascript
admin.0
2024-05-02 09:39:43.894 info ==> Connected system.user.admin from ::ffff:192.168.1.24
admin.0
2024-05-02 09:38:57.968 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]
netatmo.0
2024-05-02 09:38:42.239 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-02 09:38:42.238 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-02 09:38:41.921 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-02 09:38:41.920 warn Invalid check interval "5", fallback to 10 minutes
netatmo.0
2024-05-02 09:38:41.918 info Using stored tokens to initialize ... {"access_token":"DELETED","refresh_token":"DELETED"","scope":"read_station","client_id":"DELETED""}
netatmo.0
2024-05-02 09:38:41.881 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
admin.0
2024-05-02 09:38:40.403 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]
I already tried reinstalling but keep getting the same error.
Any thought or ideas?
Thanks.
You set anything as neded in the config? You also clicked "Authenticate with Netatmo" and did the login/linking there? If yes please show a debug log from the start
Hi Apollon,
Thanks for your fast reply.
The adapter used to run smoothly until end of last year (I just found out some days ago. So, I think I configured it correctly:
I stopped the adapter and restarted. Here is the log:
2024-05-02 11:34:42.622 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-02 11:34:42.621 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-02 11:34:42.310 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-02 11:34:42.308 info Using stored tokens to initialize ... {"access_token":"_DELETE_D","refresh_token":"DELETED","scope":"read_station","client_id":"DELETED"}
netatmo.0
2024-05-02 11:34:42.271 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
host.iobroker
2024-05-02 11:34:39.986 info instance system.adapter.netatmo.0 started with pid 349488
host.iobroker
2024-05-02 11:34:39.798 info "system.adapter.netatmo.0" enabled
host.iobroker
2024-05-02 11:34:36.070 info instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
netatmo.0
2024-05-02 11:34:35.997 info terminating
host.iobroker
2024-05-02 11:34:35.630 info stopInstance system.adapter.netatmo.0 send kill signal
netatmo.0
2024-05-02 11:34:35.493 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
netatmo.0
2024-05-02 11:34:35.490 info terminating
netatmo.0
2024-05-02 11:34:35.489 info cleaned everything up...
netatmo.0
2024-05-02 11:34:35.485 info Got terminate signal TERMINATE_YOURSELF
host.iobroker
2024-05-02 11:34:35.476 info stopInstance system.adapter.netatmo.0 (force=false, process=true)
host.iobroker
2024-05-02 11:34:35.473 info "system.adapter.netatmo.0" disabled
admin.0
2024-05-02 11:32:54.703 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]
I just have very basic knowledge, so I hope this is what you were asking for :-).
Thanks again.
...BTW: The "OK" appeared after pressing the authenticate button.
Does ist now works?
ELse please turn on debug logging and do the "authenticate" again and post the log from all this
No, unfortunately not.
I paused netatmo, restarted and did the reauthrization that resulted in the error message:
2024-05-02 17:08:09.387 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match \"else\" schema"}]
netatmo.0
2024-05-02 17:05:48.566 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-02 17:05:48.565 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-02 17:05:48.258 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-02 17:05:48.256 info Using stored tokens to initialize ... {"access_token":"DELETED","refresh_token":"DELETED","scope":"read_station","client_id":"574ddd152baa3cf9598b46cd"}
netatmo.0
2024-05-02 17:05:48.218 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
host.iobroker
2024-05-02 17:05:45.954 info instance system.adapter.netatmo.0 started with pid 362170
host.iobroker
2024-05-02 17:05:45.808 info "system.adapter.netatmo.0" enabled
host.iobroker
2024-05-02 17:05:41.924 info instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
netatmo.0
2024-05-02 17:05:41.853 info terminating
host.iobroker
2024-05-02 17:05:41.407 info stopInstance system.adapter.netatmo.0 send kill signal
netatmo.0
2024-05-02 17:05:41.349 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
netatmo.0
2024-05-02 17:05:41.347 info terminating
netatmo.0
2024-05-02 17:05:41.346 info cleaned everything up...
netatmo.0
2024-05-02 17:05:41.344 info Got terminate signal TERMINATE_YOURSELF
host.iobroker
2024-05-02 17:05:41.338 info stopInstance system.adapter.netatmo.0 (force=false, process=true)
host.iobroker
2024-05-02 17:05:41.335 info "system.adapter.netatmo.0" disabled
I switched to expert mode but could not find where I would be able to add additional info to the protocol...
Expert mode - instances - expand netatmo.0 ... "log level" -> Debug
Thanks...
Heuer is the log. First I stopped netatmo, restarted and then did the authentication:
netatmo.0
2024-05-03 12:48:39.848 debug Get OAuth start link: https://api.netatmo.com/oauth2/authorize?client_id=574ddd152baa3cf9598b46cd&redirect_uri=http%3A%2F%2F192.168.1.25%3A8081%2Foauth2_callbacks%2Fnetatmo.0%2F&scope=read_station&state=63HIB1cW970DPQq8mhSLlvcL2hx2jbXmBRemvAPO
netatmo.0
2024-05-03 12:48:39.839 debug Get OAuth start link data: {"client_id":"DELETED","client_secret":"DELETED","scopes":{"netatmoCoach":false,"netatmoWeather":true,"netatmoWelcome":false,"netatmoSmokedetector":false,"netatmoCOSensor":false,"netatmoDoorBell":false,"netatmoBubendorff":false},"scope":"read_station","redirect_uri":"http://192.168.1.25:8081/oauth2_callbacks/netatmo.0/"}
netatmo.0
2024-05-03 12:48:39.837 debug Received OAuth start message: {"client_id":"","client_secret":"","redirect_uri_base":"http://192.168.1.25:8081/","scopes":{"netatmoCoach":false,"netatmoWeather":true,"netatmoWelcome":false,"netatmoSmokedetector":false,"netatmoCOSensor":false,"netatmoDoorBell":false,"netatmoBubendorff":false}}
admin.0
2024-05-03 12:48:37.935 warn netatmo has an invalid jsonConfig: [{"instancePath":"/items/_authenticate","schemaPath":"#/definitions/sendToProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"window"},"message":"must NOT have additional properties"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"else"},"message":"must match "else" schema"}]
netatmo.0
2024-05-03 12:48:34.550 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-03 12:48:34.549 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-03 12:48:34.199 debug netatmo: authenticate_refresh: {"grant_type":"refresh_token","refresh_token":"DELETED","client_id":"DELETED","client_secret":"DELETED"}
netatmo.0
2024-05-03 12:48:34.197 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-03 12:48:34.196 info Using stored tokens to initialize ... {"access_token":"DELETED","refresh_token":"DELETED","scope":"read_station","client_id":"DELETED"}
netatmo.0
2024-05-03 12:48:34.159 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
netatmo.0
2024-05-03 12:48:33.850 debug Plugin sentry Initialize Plugin (enabled=true)
netatmo.0
2024-05-03 12:48:33.806 debug States connected to redis: 127.0.0.1:9000
netatmo.0
2024-05-03 12:48:33.735 debug States create User PubSub Client
netatmo.0
2024-05-03 12:48:33.734 debug States create System PubSub Client
netatmo.0
2024-05-03 12:48:33.717 debug Redis States: Use Redis connection: 127.0.0.1:9000
netatmo.0
2024-05-03 12:48:33.676 debug Objects connected to redis: 127.0.0.1:9001
netatmo.0
2024-05-03 12:48:33.667 debug Objects client initialize lua scripts
netatmo.0
2024-05-03 12:48:33.608 debug Objects create User PubSub Client
netatmo.0
2024-05-03 12:48:33.607 debug Objects create System PubSub Client
netatmo.0
2024-05-03 12:48:33.604 debug Objects client ready ... initialize now
netatmo.0
2024-05-03 12:48:33.552 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
host.iobroker
2024-05-03 12:48:31.932 info instance system.adapter.netatmo.0 started with pid 407011
host.iobroker
2024-05-03 12:48:31.790 info "system.adapter.netatmo.0" enabled
host.iobroker
2024-05-03 12:48:30.166 info instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
netatmo.0
2024-05-03 12:48:30.087 info terminating
host.iobroker
2024-05-03 12:48:29.660 info stopInstance system.adapter.netatmo.0 send kill signal
netatmo.0
2024-05-03 12:48:29.585 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
netatmo.0
2024-05-03 12:48:29.583 debug Plugin sentry destroyed
netatmo.0
2024-05-03 12:48:29.581 info terminating
netatmo.0
2024-05-03 12:48:29.579 info cleaned everything up...
netatmo.0
2024-05-03 12:48:29.577 info Got terminate signal TERMINATE_YOURSELF
host.iobroker
2024-05-03 12:48:29.570 info stopInstance system.adapter.netatmo.0 (force=false, process=true)
host.iobroker
2024-05-03 12:48:29.569 info "system.adapter.netatmo.0" disabled
netatmo.0
2024-05-03 12:48:18.104 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-03 12:48:18.103 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-03 12:48:17.757 debug netatmo: authenticate_refresh: {"grant_type":"refresh_token","refresh_token":"DELETED","client_id":"DELETED","client_secret":"DELETED"}
netatmo.0
2024-05-03 12:48:17.754 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-03 12:48:17.752 info Using stored tokens to initialize ... {"access_token":"DELETED","refresh_token":"DELETED","scope":"read_station","client_id":"DELETED"}
netatmo.0
2024-05-03 12:48:17.699 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
netatmo.0
2024-05-03 12:48:17.216 debug Plugin sentry Initialize Plugin (enabled=true)
netatmo.0
2024-05-03 12:48:17.148 debug States connected to redis: 127.0.0.1:9000
netatmo.0
2024-05-03 12:48:17.075 debug States create User PubSub Client
netatmo.0
2024-05-03 12:48:17.074 debug States create System PubSub Client
netatmo.0
2024-05-03 12:48:17.056 debug Redis States: Use Redis connection: 127.0.0.1:9000
netatmo.0
2024-05-03 12:48:17.014 debug Objects connected to redis: 127.0.0.1:9001
netatmo.0
2024-05-03 12:48:17.004 debug Objects client initialize lua scripts
netatmo.0
2024-05-03 12:48:16.940 debug Objects create User PubSub Client
netatmo.0
2024-05-03 12:48:16.938 debug Objects create System PubSub Client
netatmo.0
2024-05-03 12:48:16.936 debug Objects client ready ... initialize now
netatmo.0
2024-05-03 12:48:16.892 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
host.iobroker
2024-05-03 12:48:15.304 info instance system.adapter.netatmo.0 started with pid 406959
host.iobroker
2024-05-03 12:48:12.685 info instance system.adapter.netatmo.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
netatmo.0
2024-05-03 12:48:12.606 info terminating
host.iobroker
2024-05-03 12:48:12.219 info stopInstance system.adapter.netatmo.0 send kill signal
netatmo.0
2024-05-03 12:48:12.101 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
netatmo.0
2024-05-03 12:48:12.094 info terminating
netatmo.0
2024-05-03 12:48:12.092 info cleaned everything up...
netatmo.0
2024-05-03 12:48:12.087 info Got terminate signal TERMINATE_YOURSELF
host.iobroker
2024-05-03 12:48:12.074 info stopInstance system.adapter.netatmo.0 (force=false, process=true)
netatmo.0
2024-05-03 12:47:59.146 info Successfully authenticated with Netatmo with general ioBroker client
netatmo.0
2024-05-03 12:47:59.145 info API Warning: Authenticate refresh error: invalid_grant
netatmo.0
2024-05-03 12:47:58.806 info Authenticating with Netatmo using general ioBroker client
netatmo.0
2024-05-03 12:47:58.805 info Using stored tokens to initialize ... {"access_token":"DELETED","refresh_token":"DELETED","scope":"read_station","client_id":"DELETED"}
netatmo.0
2024-05-03 12:47:58.766 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.netatmo, node: v18.16.0, js-controller: 5.0.19
host.iobroker
2024-05-03 12:47:56.525 info instance system.adapter.netatmo.0 started with pid 406944
host.iobroker
2024-05-03 12:47:56.372 info "system.adapter.netatmo.0" enabled
Dann checke ,al deinen Popup Blocker! An sich geht bei "Loginbei Netatmo" ein Fenster/Tab auf mit dem Login von Netatmo, da loggst Du dich ein, bestätigst den Zugriff und dann bekommst du eine Ok Seite vom Admin. Erst danach ist das fertig.
Der Log zeigt nur das der Start Link rausgegeben wurde
Ales klar, danke dir. Versuche ich. Melde mich falls es funktioniert (oder auch nicht).
That did the trick. The folder and data is back. Thank you, Apollon for your time and help.
Was wars? Popup Blocker? Oder was genau? Ich dachte wir schreiben schon das da ein Popup auf geht und so ... was könnten wir verbessern was Dir geholfen hätte?
Hi, ja, es war der Popup-Blocker. Geholfen haette, wenn beim Druecken des Athentication Buttons nicht unten das „Ok“ erschienen waere. Und vielleicht direkt unter den Authentication button nochmal der Hinweis mit dem Popup Blocker. Danke Dir nochmal fuer die Hilfe.