-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home assistant sensor stops updating #22
Comments
Additional information: seems as if it might be related to WiFi connectivity of my Home Assistant box. |
It can probably be improved by adding ClientConnectError or its base, here except asyncio.TimeoutError, aiohttp.client_exceptions.ClientConnectorError: you have to also |
Let me know if you still experience issues after the new version |
pysma seems now to be able to recover from network hiccups, as seen from the home assistant debug log:
There's another (unrelated) issue where pysma runs into the following error
The problem is that I cannot see any more tries of pysma connecting to the inverter once that occured (and data is not updated then). |
No errors after that? try wrapping this line in try/finally
but even that should have thrown another error after the one you shared |
Nothing at all from pysma after that ... I've updated it and let you know how it goes. Thanks |
This is how the logfile from home assistant looks like:
Also have a look at the timestamps. It is retried once an hour only. |
I'm not sure why exactly this is closed. I have the same issue. |
@Human, the original or the new issue? |
@kellerza I'm having the titular "Home assistant sensor stops updating" issue with the last-mentioned error logs:
|
@Human It has been closed because the changes have been merged to the PySMA 0.3.2 release which is already available in home-assistant:dev |
Thanks. I still have the same bug, as the title describes. Would it be best for me to a file a new bug report? |
@Human Yes, please do so! I just checked and I'm experiencing it again too... |
I've created a new issue, see #25 |
The SMA sensor in Home Assistant works fine for some time (<24h) but then stops updating. Restarting Home Assistant usually fixes the issue .
This is what I get in the logs then:
Plus
The text was updated successfully, but these errors were encountered: