-
Notifications
You must be signed in to change notification settings - Fork 11
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
Wattpilot integration fails to reload in case of portable version of Wattpilot #35
Comments
Well this is a special case you are explaining and a lot of other (none HA related) factors influence the successful connection of the integration. Have you tried to manually disable the integration in Home Assistant PREVIOUSLY to removing the wattpilot charger from your network/electricity? The main thing is that the integration keeps a (single) websocket open all the time. If you simply disconnect/unplug your wattpilot from network, the integration still tries to communicate with wattpilot via the old open websocket since it is never closed correctly. |
Many thanks for your kind and detialed reply. I will test it and reply back. Until that Happy New Year! |
One more many thanks for your suggested workaround. I did some testing and so far it works. It is a bit less user friendly as simple unplug / plug Watpilot, but managable. |
Good to hear :) But I think there is more that we might be able to do here - we are in home assistant so let's use its possibilities and test if we can handle this better. Please do the following:
The idea behind is that if your wattpilot connects / disconnects the integration is reloaded. Hope this works as I expect since I did not test ;) |
Appreciate your support and complete code:) It seem like, that recognition could havce been automated if there would be an integration enable service, which I could not find. Thanks |
Describe the issue you are experiencing
I have the portable version of Wattpilot (Wattpilot 22 Go), so it is not always connected to the home wifi an home electricity network. If I reconned the Wattpilot Go the the home networok the integration fails to set up. Up until a few months ago, a simple reload of the integration solved the issue. But nowdays I had to hard reboot home assistant to recognise Wattpilot.
I already reinstalled the integration a few times, but it did not solved the issue.
Describe the expected behavior
Ideally home assistant recognise the Wattpilot whenever it is connected to the home electicity and wifi. Alternatively the integration reload would work again.
What version of Home Assistant Core is installed
2023.12.3
What version of Wattpilot integration is installed
Release v0.1.9
What version of Wattpilot are you using
Wattpilot Go 22KW-V2, firmeware 40.7
Error message shown within Home Assistant log
My appologies, but I do not know how to find the error message or proper log. This is what I found:
_This error originated from a custom integration.
Logger: custom_components.wattpilot
Source: custom_components/wattpilot/init.py:63
Integration: Fronius Wattpilot (documentation)
First occurred: 24 December 2023 at 10:36:53 (281 occurrences)
Last logged: 08:44:59_
57260ff476bf08f815c5340340988de8 - async_setup_entry: Timeout - charger not connected: False (15 sec)
Diagnostics information of Wattpilot integration
Probably my lack of knowledge,but I couléd not find how to download the Wattpilot specific diagnostic.
Screenshots
Many thanks
The text was updated successfully, but these errors were encountered: