NEWS
Gardena smart garden Adapter
-
Ich bekomme leider die Fehlermeldung "Error: request returned 403 Forbidden" obwohl ich mich mit APP-Key und APP-Secret in der Instanz anmede.
Die beiden API´s: Authentication API und GARDENA smart system API habe ich auch ordnungsgemöß connected.
Mein Logfile habe ich angehangen:
Hat jemand eine Idee woran es scheitert?
v5.3.8
304Log-Größe: 32.0 KB
ZeitNachricht
smartgarden.0 2022-07-01 11:32:39.302 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:27:39.176 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:27:38.846 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:27:38.192 debug States connected to redis: 127.0.0.1:9000 smartgarden.0 2022-07-01 11:27:38.037 debug States create User PubSub Client smartgarden.0 2022-07-01 11:27:38.034 debug States create System PubSub Client smartgarden.0 2022-07-01 11:27:37.976 debug Redis States: Use Redis connection: 127.0.0.1:9000 smartgarden.0 2022-07-01 11:27:37.880 debug Objects connected to redis: 127.0.0.1:9001 smartgarden.0 2022-07-01 11:27:37.868 debug Objects client initialize lua scripts smartgarden.0 2022-07-01 11:27:37.688 debug Objects create User PubSub Client smartgarden.0 2022-07-01 11:27:37.686 debug Objects create System PubSub Client smartgarden.0 2022-07-01 11:27:37.681 debug Objects client ready ... initialize now smartgarden.0 2022-07-01 11:27:37.578 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 smartgarden.0 2022-07-01 11:27:30.960 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:27:30.958 info terminating smartgarden.0 2022-07-01 11:27:30.955 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:27:21.428 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:27:21.099 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:27:20.472 debug States connected to redis: 127.0.0.1:9000 smartgarden.0 2022-07-01 11:27:20.324 debug States create User PubSub Client smartgarden.0 2022-07-01 11:27:20.321 debug States create System PubSub Client smartgarden.0 2022-07-01 11:27:20.260 debug Redis States: Use Redis connection: 127.0.0.1:9000 smartgarden.0 2022-07-01 11:27:20.161 debug Objects connected to redis: 127.0.0.1:9001 smartgarden.0 2022-07-01 11:27:20.148 debug Objects client initialize lua scripts smartgarden.0 2022-07-01 11:27:19.964 debug Objects create User PubSub Client smartgarden.0 2022-07-01 11:27:19.962 debug Objects create System PubSub Client smartgarden.0 2022-07-01 11:27:19.958 debug Objects client ready ... initialize now smartgarden.0 2022-07-01 11:27:19.847 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 smartgarden.0 2022-07-01 11:27:12.901 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:27:12.898 info terminating smartgarden.0 2022-07-01 11:27:12.895 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:23:33.648 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:18:33.536 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:18:33.183 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:17:37.685 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:17:37.682 info terminating smartgarden.0 2022-07-01 11:17:37.676 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:16:10.923 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:11:10.828 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:11:10.469 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:11:02.634 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:11:02.632 info terminating smartgarden.0 2022-07-01 11:11:02.627 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:10:15.492 error Error: request returned 404 Not Found smartgarden.0 2022-07-01 11:10:14.864 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:10:06.923 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:10:06.920 info terminating smartgarden.0 2022-07-01 11:10:06.914 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:06:02.955 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:06:02.539 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:05:54.521 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:05:54.519 info terminating smartgarden.0 2022-07-01 11:05:54.515 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:04:04.246 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:04:03.884 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:03:55.864 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:03:55.860 info terminating smartgarden.0 2022-07-01 11:03:55.854 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 11:01:21.269 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 11:01:20.697 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 11:01:14.694 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 11:01:14.691 info terminating smartgarden.0 2022-07-01 11:01:14.684 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 10:59:50.273 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 10:59:49.962 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:59:42.155 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 10:59:42.153 info terminating smartgarden.0 2022-07-01 10:59:42.149 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 10:54:44.946 error Error: request returned 404 Not Found smartgarden.0 2022-07-01 10:54:44.338 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:54:36.345 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 10:54:36.343 info terminating smartgarden.0 2022-07-01 10:54:36.338 info Got terminate signal TERMINATE_YOURSELF smartgarden.0 2022-07-01 10:53:54.470 error Error: request returned 404 Not Found smartgarden.0 2022-07-01 10:53:53.845 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:52:17.139 warn Terminated (UNCAUGHT_EXCEPTION): Without reason smartgarden.0 2022-07-01 10:52:17.136 info terminating smartgarden.0 2022-07-01 10:52:17.126 error undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:52:17.124 error Error: undefined is not a valid uri or options object. at request (/opt/iobroker/node_modules/request/index.js:44:11) at connect (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2889:2) at connectToGardena (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2760:2) at Object.exports.getConnection (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2740:2) at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:230:15 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:123:19 at updateAdapter020000 (/opt/iobroker/node_modules/iobroker.smartgarden/main.js:101:17) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.smartgarden/main.js:122:4) at processImmediate (internal/timers.js:463:21) smartgarden.0 2022-07-01 10:52:17.121 error uncaught exception: undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:52:17.117 error Error: no possible grant for connect smartgarden.0 2022-07-01 10:52:17.020 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:51:41.495 warn Terminated (UNCAUGHT_EXCEPTION): Without reason smartgarden.0 2022-07-01 10:51:41.493 info terminating smartgarden.0 2022-07-01 10:51:41.482 error undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:51:41.481 error Error: undefined is not a valid uri or options object. at request (/opt/iobroker/node_modules/request/index.js:44:11) at connect (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2889:2) at connectToGardena (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2760:2) at Object.exports.getConnection (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2740:2) at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:230:15 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:123:19 at updateAdapter020000 (/opt/iobroker/node_modules/iobroker.smartgarden/main.js:101:17) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.smartgarden/main.js:122:4) at processImmediate (internal/timers.js:463:21) smartgarden.0 2022-07-01 10:51:41.477 error uncaught exception: undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:51:41.474 error Error: no possible grant for connect smartgarden.0 2022-07-01 10:51:41.359 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:51:05.794 warn Terminated (UNCAUGHT_EXCEPTION): Without reason smartgarden.0 2022-07-01 10:51:05.792 info terminating smartgarden.0 2022-07-01 10:51:05.780 error undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:51:05.778 error Error: undefined is not a valid uri or options object. at request (/opt/iobroker/node_modules/request/index.js:44:11) at connect (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2889:2) at connectToGardena (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2760:2) at Object.exports.getConnection (/opt/iobroker/node_modules/iobroker.smartgarden/lib/api.js:2740:2) at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:230:15 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:123:19 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:98:18 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:205:19 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:205:19 at /opt/iobroker/node_modules/iobroker.smartgarden/main.js:205:19 smartgarden.0 2022-07-01 10:51:05.775 error uncaught exception: undefined is not a valid uri or options object. smartgarden.0 2022-07-01 10:51:05.772 error Error: no possible grant for connect smartgarden.0 2022-07-01 10:51:03.644 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v12.22.7, js-controller: 4.0.21 smartgarden.0 2022-07-01 10:46:34.090 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason smartgarden.0 2022-07-01 10:46:34.087 info terminating smartgarden.0 2022-07-01 10:46:34.082 info Got terminate signal TERMINATE_YOURSELF
-
@mazi sagte in Gardena smart garden Adapter:
node: v12.22.7
Setz das mal auf die derzeitige Empfehlung node16.
-
@thomas-braun
Habe ich gemacht! Leider ohne Erfolgsmartgarden.0 2022-07-01 21:11:41.900 error Error: request returned 403 Forbidden smartgarden.0 2022-07-01 21:11:41.569 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v16.15.1, js-controller: 4.0.23 smartgarden.0 2022-07-01 21:11:41.207 debug States connected to redis: 127.0.0.1:9000 smartgarden.0 2022-07-01 21:11:41.148 debug States create User PubSub Client smartgarden.0 2022-07-01 21:11:41.146 debug States create System PubSub Client smartgarden.0 2022-07-01 21:11:41.114 debug Redis States: Use Redis connection: 127.0.0.1:9000 smartgarden.0 2022-07-01 21:11:41.064 debug Objects connected to redis: 127.0.0.1:9001 smartgarden.0 2022-07-01 21:11:41.056 debug Objects client initialize lua scripts smartgarden.0 2022-07-01 21:11:40.963 debug Objects create User PubSub Client smartgarden.0 2022-07-01 21:11:40.962 debug Objects create System PubSub Client smartgarden.0 2022-07-01 21:11:40.959 debug Objects client ready ... initialize now smartgarden.0 2022-07-01 21:11:40.895 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
-
@mazi sagte in Gardena smart garden Adapter:
error Error: request returned 403 Forbidden
Passwort korrekt?
Und bitte CodeTags verwenden.
-
@thomas-braun
Nach Hardwaretausch von Raspberry 3 auf Raspberry 4 und Neuinstallation des Adapters funktioniert es jetzt! Danke! -
Kann mnn eigentlich die Bewässerungsventile auch über den IOT-Adapter mittels Alexa steuern? Wenn ja, wie?