ESPHome-OpenTherm
ESPHome-OpenTherm copied to clipboard
unstable operation
The following frequently occurs, always for a brief moment:
- Return temperature goes to -1°C
- Hot water measurement goes to -1°C
- Heating water measurement (boiler temperature) goes to 0°C or 100°C
- All or some values are unavailable: when this occur, the logging pauzes for a while. This behaviour is also in the log.
The device is not restarting, there are no wifi issues. There are many debug messages per second. Sometimes warning also: [13:04:29][W][pid.climate:122]: For PID autotuner you need to set AUTO (also called heat/cool) mode! INFO opentherm.local: Ping timed out! INFO Disconnected from ESPHome API for opentherm.local WARNING Disconnected from API INFO Successfully connected to opentherm.local
This is what happens: the ESP sends a request for data, the boiler doesnt't respond (in time) so the ping gets timed out. rsciriano used the value -1 if these values aren't available. Home assistant doesn't understand it as "not available" but as the value -1. So if you want to fix it you can change -1 to NAN in opentherm_component.h. Alternatively you can use my fork because it already fixed these issues. Unfortunately sometimes these messages just get timed out, so you cant completely solve the issue.
Probably fixed by #52