hass-gardena-smart-system
hass-gardena-smart-system copied to clipboard
Sensor / Actor values not updated
The integration stops updating the state of its devices, (e.g. Plug or Sensors). Currently, the sensors still show data from last night
The app is showing current data:
After deleting the integration and adding the integration with a new key/secret it picked up the current state. I already did this 3 days ago (including re-creating the application in the Husqvarna dev portal) as the integration struggled to pick up the devices after waking them up from sleep.
Home Assistant 2023.5.2 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.3 - latest Integration: v1.0.0
Same here
Unfortunately same here. I did already de-install and then re-install the integration several times. Also created new App in Husqvarna including all API syncs.
First it seems that it works again, but after some time it stops synching.
Reboot of HA seems to help for a short time - but then it stops synching again.
HA runs on Raspberry PI4 Latest HA with all updates Integration version 1.0.0 (tried also the beta 1.0.1 but couldn't it make running here).
The integration stopped updating the sensor values after a few hours
However, my automation interacting with my Gardena plug is still working as expected (this is not reliable, unfortunately)
In the logs I've found this regarding Gardena integration: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 190, in start_ws await self.__launch_websocket_loop(ws_url) File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 227, in __launch_websocket_loop websocket = await websockets.connect(url, ping_interval=150) File "/usr/local/lib/python3.10/site-packages/websockets/legacy/client.py", line 654, in await_impl_timeout async with asyncio_timeout(self.open_timeout): File "/usr/local/lib/python3.10/site-packages/websockets/legacy/async_timeout.py", line 169, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.10/site-packages/websockets/legacy/async_timeout.py", line 252, in _do_exit raise asyncio.TimeoutError asyncio.exceptions.TimeoutError
I also have the same issue even after re installing completly the application like advised here https://github.com/py-smart-gardena/hass-gardena-smart-system/issues/166
After some days the integration do not work any more or at least do not update.
Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 189, in start_ws ws_url = await self.__get_ws_url(location) File "/usr/local/lib/python3.10/site-packages/backoff/_async.py", line 151, in retry ret = await target(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gardena/smart_system.py", line 213, in __get_ws_url r = await self.client.post( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1845, in post return await self.request( File "/usr/local/lib/python3.10/site-packages/authlib/integrations/httpx_client/oauth2_client.py", line 92, in request return await super(AsyncOAuth2Client, self).request( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1617, in send response = await self._send_handling_auth( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1645, in _send_handling_auth response = await self._send_handling_redirects( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects response = await self._send_single_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1719, in _send_single_request response = await transport.handle_async_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 352, in handle_async_request with map_httpcore_exceptions(): File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions raise mapped_exc(message) from exc
Thanks for your feedback. I'll try to see where it could come from
Grm
Hey, I have the same issue. All data like humidity, battery and temperature do not refresh. Is there already a solution? I'm new to HA and think it's very awesome!
Thanks!
After some weeks all came back as normal. I do believe there might be some serveur time to adapt to send back the request or something. Everything is working properly on my side now.
For me this problem exists as well. After a while the mower sensors are not updated anymore. The time it works fine varies from several weeks to several days. I have not been able to find out what causes this behavior. Only solution for me is to delete the gardena integration and add it again with the same keys. It seems that the websocket expires or is closed without the integration noticing. Hope this van be fixed and am happy to test when necessary!
Same problem here, no updates on 2 different humidity sensors AND by using the HA-switch of any of my 6 valves, the switch shows "On" for 1 sec and starts the 30min count in the Gardena App, but then turns immidiately to "Off"-state without closing the valve. Problem on all 6 different valves/switches.
Could use your help, reinstall did not work for long....
Same issue here. Don't know how to solve it...
1 Deactivate the Gardena integration first 2 Erase the integration on HACS 3 Reboot HA 4 Install Gardena on HACS 5 Restart HA 6 Apply the API credentials
Now it works again
Thanks, I have done that. Let's see if it works for me now...
1 Deactivate the Gardena integration first 2 Erase the integration on HACS 3 Reboot HA 4 Install Gardena on HACS 5 Restart HA 6 Apply the API credentials
Now it works again
For how long? Many participants in this issue thread have reported this only fixes the issue for a few hours/days. This aligns with my observation/reporting.
Actually working for 2 weeks now
Hello all, is there any update on this? I installed the Integration and have the same issue. The sensor values are not updated in HA. As there is no way reload the integration, the only solution is to restart HA.
A feedback from the developer would be appreciated.
Thanks, Joop
Same issue here... it is still not working properly. I guess, it never worked. I would also be happy if the developers could have a look at it.
Thanks, Luke
I did as martinwild1987 suggested in his post further up. It is working now. what I can imagine what caused the problem, is that after I had named the sensors in the Gardena App and integrated them into HA, I renamed the sensors in the App. HA changed the friendly name into the new names of the App, but the sensor.etc remained the initial name. Maybe that lead to confusion for the integration. If you did something similar then maybe a reinstall as described above will work for you too. I will lee you know if the updates stop working again
Joop