Closed robswinkels closed 5 years ago
I had the same issues until 0.89. Few minues before upgrade to 0.90 I've moved my OTGW to ethernet connected version (changed nodemcu to that ttl adapter with ethernet) and there's no issues nor errors.
Migration moment marked:
you can even see how much lately was the scale of problem and unavailability of component or data...
I've tried to change espeasy on nodemcu to other cores but it was still the issue.
Oh I see that you've got 0.89.2 - try on 0.90, there were some fixes for OTGW and I hope they made to this version.
I'm running Home Assistant 0.90.0 via Docker on a Pi 3B+ with the same configuration as @robswinkels and have the same issues. The last logs before crashing the whole Home Assistant instance are:
2019-03-22 10:01:48 ERROR (MainThread) [pyotgw.protocol] Disconnected: None
/usr/local/lib/python3.7/site-packages/pyotgw/protocol.py:65: RuntimeWarning: coroutine 'Queue.get' was never awaited
q.get()
I think it was already fixed: https://github.com/mvn23/pyotgw/pull/5/files - just it seems like the version didn't get to HA, yet?
I can see it has got to HA, so maybe there's an issue with the fix. Calling @mvn23 :-)
pyotgw 0.4b2 is on the development branch at this moment. Master / last release still has pyotgw 0.4b1.
If you're using venv or want quick fix, run: pip3 install pyotgw==0.4b2
The version should be bumped in 0.91 anyway
That will only work if you run HA with the --skip-pip
option, otherwise it will reinstall the old version before it loads the library.
Really? Didn't know! Any way to push it to 0.90.2 as it's fix of platform?
That's not up to me to decide. You could try to ping someone with write access to master for that.
@fabaff - you're the last commiter to master... :-) any chance to get opentherm fixes to master? #21973 #22106 #22112 #22121 with .2?
@pvizeli any way to add this fixes mentioned above to 0.90.2 milestone? they get rid of bugs in OTGW component including this issue.
Fixed with 0.90.2 - check if issue still appears, probably can be closed.
I can confirm it works much better in 0.90.2, no issues so far.
If still stable then issue can be closed?
@robswinkels did it help for u?
Have been running 0.90.2 for a number of days now and indeed the crashes seem to have disappeared. Issue can be closed.
Home Assistant release with the issue:
0.89.2
Last working Home Assistant release (if known): unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Docker on Synology
Component/platform:
https://www.home-assistant.io/components/opentherm_gw/
Description of problem: I'm noticing similar behaviour as in issue 20554, unfortunately that one is already closed. Opentherm component seems to crash/hang HA. As suggested in that issue, I have turned on debug logging for the pyotgw component:
this resulted in the following log lines before HA becomes inaccessible.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information: