t4qjXH8N / ioBroker.gardena

An ioBroker adapter for Gardena Smart System.
MIT License
12 stars 4 forks source link

resolved (4816) No auth data received #36

Open klausiob opened 3 years ago

klausiob commented 3 years ago

Does anyone else use this adapter? I used it for my Sileno smart City 500 until November 2020 and it worked with my VIS on both the mobile phone and the PC. Today I wanted to reactivate my robotic lawnmower, but the Gardena adapter could no longer be registered. "(4816) No auth data received" I then exchanged the basic URL https://sg-api.dss.husqvarnagroup.net for https://smart.gardena.com in the configuration. Then the registration worked.

t4qjXH8N commented 3 years ago

Dear Klausi,

the point is that Gardena wants people to use the Gardena API which can be done using the Smart Garden Adapter. My adapter uses a different approach, it mocks more or less the Gardena App. So, at the moment I am not sure if it is worth to continue the development of the adapter. Nice that a single change in the URL helped you.

neopholus commented 3 years ago

Dear t4qjXH8N,

please continue continue with the development. Smart Garden Adapter is nice, but it does not deliver e.g. data about scheduled events. Thus, I try to continue to use this adapter as long as possible.

klausiob commented 3 years ago

I like the adapter. It has worked with my mower for 2 years without any problems and I have a lot more information than in the app, e.g. Collisions to optimize my loops. In addition, it adapts to a large extent to changes from the app. If you debug the app on the PC, you can easily analyze the JSON with Firefox. I would also like to do the code myself. Although I work with Javascript and HTML, I am not familiar with nodejs. I would also like to integrate the smart sensor from Gardena. With the js controller> 3, the commands no longer work.

klausiob commented 3 years ago

The commands no longer work with js-controller 3.2.16. The query of states continues to work. Warnings are issued when the data points are created "This object will not be created in future versions. Please report this to the developer." or "Object gardena.0.trigger_poll is invalid: obj.common.read has an invalid type! Expected "boolean", received "string" ". See also issues from ioBrokerChecker. There is a new data point "mower_timer" with which the manual operation is apparently started.

PUT https://smart.gardena.com/v1/devices/Robby_id/abilities/mower_timer/properties/mower_timer?locationId=xxx {"properties":{"name":"mower_timer","value":7200}}