After 23 days I had to renew the API-Key again. It looks, that there is a limit within the Husquana cloud service, that is reached after some events and that triggers blacklisting the API key. At this point of time I couldn’t determine the limit value.
I have five Gardena devices in operation:
- one mower
- three water control valves
- one smart sensor
Maybe the number of devices has an effect on reaching the limit.
After a larger number of entries “Connection Lost” in the log these entries follow, which relate to the limit:
2021-06-07 20:11:32.127 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:11:45.174 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"}
2021-06-07 20:11:46.822 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"} to ONLINE
2021-06-07 20:12:11.960 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:12:16.907 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to OFFLINE (CONFIGURATION_ERROR): Device with id e8bbe3bd-f3fe-4003-ab54-15ca58f0e863 not found
2021-06-07 20:12:16.912 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (CONFIGURATION_ERROR): Device with id e8bbe3bd-f3fe-4003-ab54-15ca58f0e863 not found to OFFLINE (CONFIGURATION_ERROR): Device with id a965be7a-0069-48e8-9942-9f3d2d428aa8 not found
2021-06-07 20:12:16.914 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (CONFIGURATION_ERROR): Device with id a965be7a-0069-48e8-9942-9f3d2d428aa8 not found to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:12:16.919 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to OFFLINE (CONFIGURATION_ERROR): Device with id c71780c8-c982-4051-91ec-de4cd444fdd5 not found
2021-06-07 20:12:16.922 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (CONFIGURATION_ERROR): Device with id c71780c8-c982-4051-91ec-de4cd444fdd5 not found to OFFLINE (CONFIGURATION_ERROR): Device with id 01d1e252-e394-4749-86b8-ca0e50786edc not found
2021-06-07 20:12:16.929 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (CONFIGURATION_ERROR): Device with id 01d1e252-e394-4749-86b8-ca0e50786edc not found to OFFLINE (CONFIGURATION_ERROR): Device with id 66eb06fb-93dc-4e47-a216-885f59ff172f not found
2021-06-07 20:12:36.254 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (CONFIGURATION_ERROR): Device with id 66eb06fb-93dc-4e47-a216-885f59ff172f not found to OFFLINE (COMMUNICATION_ERROR): Idle timeout 10000 ms
2021-06-07 20:12:38.528 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Idle timeout 10000 ms to OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"}
2021-06-07 20:12:45.481 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"} to ONLINE
2021-06-07 20:12:47.281 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Connection lost2021-06-07 20:12:52.251 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"}
2021-06-07 20:12:52.935 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=67515f31-aa98-4d53-b75e-4872b14c5144], user[id=***, email=x@y.org}]","error_code":"simultaneous.logins"} to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:12:53.955 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to ONLINE
2021-06-07 20:12:59.856 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:13:14.776 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to OFFLINE (COMMUNICATION_ERROR): org.eclipse.jetty.websocket.api.UpgradeException: Failed to upgrade to websocket: Unexpected HTTP Response Status Code: 410 Gone
2021-06-07 20:13:16.600 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): org.eclipse.jetty.websocket.api.UpgradeException: Failed to upgrade to websocket: Unexpected HTTP Response Status Code: 410 Gone to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:13:17.759 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to ONLINE
2021-06-07 20:13:17.930 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Connection lost
2021-06-07 20:13:23.855 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Connection lost to ONLINE
2021-06-07 20:13:44.967 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error 429 null, {"message":"Limit Exceeded"}
2021-06-07 20:13:55.001 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'gardena:account:010d0959' changed from OFFLINE (COMMUNICATION_ERROR): Error 429 null, {"message":"Limit Exceeded"} to OFFLINE (CONFIGURATION_ERROR): Device with id e8bbe3bd-f3fe-4003-ab54-15ca58f0e863 not found
The authentication information in these log entries is anonymized and the clientId is invalidated.
I appreciate any hint to avoid reaching this limit which stops the operation of the binding and requires manual intervention (creation of a new API key).