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
OpenTherm gateway: unhandled error #22074
Comments
It could be fault of some connection issue with the gateway being unavailable, but right now even restarting whole HA cause it's being unavailable: |
Did you have a lot of disconnect errors between HA start and this problem occuring? |
Yes - sort of. Before the fix some ofthe disconnection happened to freeze HA totally. After the fix they seem to get receonnect and work properly, but still it's nodemcu serial server, so WiFi and possible connection dropouts. |
Trying to reproduce it here by stressing the watchdog/reconnect logic, but so far without success. Any further details about the connection drops (frequency, duration) and/or a debug log could be helpful. |
The thing is that when that error occured - probably the nodemcu otgw itself somehow hanged/lost connection. But what's worse, HA didn't success to start until that nodemcu got hard-restarted (power off/power on). (totally in meanwhile I wait for ethernet module for OTGW to arrive then I'll do tests over LAN, but it's still few weeks before delivery tho...) In logfile, just after the restart of otgw gateway - after this message HA finished to startup (after loooong wait from my side):
|
I see the same behavior indeed. If the gateway is unreachable when HA starts, HA's interface will not be loaded until the connection to the gateway is made. During this time, I do see other activity in the debug log so it's not completely blocked. It seems to be related to how the connecting routine is scheduled, looking into that now. |
Great! I hope to help finding the bug and making component even better :-) |
Home Assistant release with the issue: 0.89.2 with pyotgw 0.4b2
Last working Home Assistant release (if known): n/a
Operating environment (Hass.io/Docker/Windows/etc.): Linux / venv / python 3.7.2
Component/platform: opentherm gateway
Description of problem:
Error shown in log, component failed to work further - reported values stayed as for the moment of error (so I can see boiler working non-stop even tho it's off since at least 12h)
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):not relevant, socket to nodemcu with espeasy as serial server
Traceback (if applicable):
Additional information:
pyotgw is from latest version which should have 'reconnection issue' fixed - 0.4b2
@mvn23
The text was updated successfully, but these errors were encountered: