jpgorganizer / ioBroker.smartgarden

GARDENA smart system adapter for ioBroker
Other
21 stars 8 forks source link

Error: request returned 404 Not Found #49

Closed TorstenBrendgen closed 2 years ago

TorstenBrendgen commented 2 years ago

Hi, after installing the Adapter in version 2.0.0 from Github or Installing the current version from ioBroker i get this error message

smartgarden.0 | 15054 | 2022-06-16 16:05:02.891 | info | 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true) -- | -- | -- | -- | -- smartgarden.0 | 15054 | 2022-06-16 16:05:02.886 | info | 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true) smartgarden.0 | 15054 | 2022-06-16 16:05:02.867 | info | 3/ getConnection: trying to connect again in 300 seconds smartgarden.0 | 15054 | 2022-06-16 16:05:02.866 | info | 3/ getConnection: returned connection error: request returned 404 Not Found smartgarden.0 | 15054 | 2022-06-16 16:05:02.865 | info | 3/ sgSetState: info.connection value=false ack=true smartgarden.0 | 15054 | 2022-06-16 16:05:02.863 | error | Error: request returned 404 Not Found smartgarden.0 | 15054 | 2022-06-16 16:05:02.862 | info | 3/ get_locations failure:..return with error smartgarden.0 | 15054 | 2022-06-16 16:05:02.860 | info | 3/ get_locations failure: response.statusCode/Message=404/Not Found smartgarden.0 | 15054 | 2022-06-16 16:05:02.858 | info | 3/ sgSetState: info.connection value=false ack=true smartgarden.0 | 15054 | 2022-06-16 16:04:57.597 | info | 3/ get_locations ... smartgarden.0 | 15054 | 2022-06-16 16:04:57.595 | info | 3/ connected ... auth_data=eyJhXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXX smartgarden.0 | 15054 | 2022-06-16 16:04:57.593 | info | 3/ Connection: expires_in/timeout/factor:86399 / 86313 / 0.999 smartgarden.0 | 15054 | 2022-06-16 16:04:57.591 | info | 3/ Connection: successful: response.statusCode / statusMessage=200 / OK smartgarden.0 | 15054 | 2022-06-16 16:04:51.376 | info | 3/ ---> State change by device: state sg.0.info.adapterversion changed: 2.0.0 (ack = true) smartgarden.0 | 15054 | 2022-06-16 16:04:51.373 | info | 3/ ---> State change by device: state sg.0.info.revision changed: Main: 2831 / API: 2831 (ack = true) smartgarden.0 | 15054 | 2022-06-16 16:04:51.368 | info | 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true) smartgarden.0 | 15054 | 2022-06-16 16:04:51.364 | info | 3/ ---> State change by device: state sg.0.info.connection changed: false (ack = true) smartgarden.0 | 15054 | 2022-06-16 16:04:51.353 | info | 3/ sgSetState: info.revision value=Main: 2831 / API: 2831 ack=true smartgarden.0 | 15054 | 2022-06-16 16:04:51.296 | info | 3/ connect ... using client credentials grant smartgarden.0 | 15054 | 2022-06-16 16:04:51.295 | info | 3/ connect ... empty password smartgarden.0 | 15054 | 2022-06-16 16:04:51.294 | info | 3/ connect ... empty username smartgarden.0 | 15054 | 2022-06-16 16:04:51.294 | info | 3/ Gardena Smart System Service hosts at: smart_host: https://api.smart.gardena.dev authentication_host: https://api.authentication.husqvarnagroup.dev smartgarden.0 | 15054 | 2022-06-16 16:04:51.293 | info | 3/ connecting to Gardena Smart System Service ... smartgarden.0 | 15054 | 2022-06-16 16:04:51.292 | info | 3/ sgSetState: info.connection value=false ack=true smartgarden.0 | 15054 | 2022-06-16 16:04:51.289 | info | 3/ connectToGardena... smartgarden.0 | 15054 | 2022-06-16 16:04:51.288 | info | 3/ getConnection... smartgarden.0 | 15054 | 2022-06-16 16:04:51.234 | info | starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.smartgarden, node: v14.19.3, js-controller: 4.0.23 host.raspberrypi |   | 2022-06-16 16:04:49.683 | info | instance system.adapter.smartgarden.0 started with pid 15054 host.raspberrypi |   | 2022-06-16 16:04:49.600 | info | "system.adapter.smartgarden.0" enabled

My Instance Settings image

My Husqvarna Setting image

I reinstalled the Adapter a couple times, and i also created a new Application in the API.

Can someone help me?

Thanks Torsten

jpgorganizer commented 2 years ago

Error: request returned 404 Not Found

that's the error from your log. It seems that the API doesn't "find" your devices. Which devices do you have? Can you control your devices with the Gardena App? You're using the same account?

Just a try - try login with username and password

jpgorganizer commented 2 years ago

pls feedback till 23.6.22 otherwise issue will be closed