wichers / esphome-opentherm

Port of OpenTherm protocol to ESPHome.io firmware.
39 stars 16 forks source link

GW Override function not working #13

Open faxbio opened 1 year ago

faxbio commented 1 year ago

Thanks for your great code! I'm tryin to make it working with

It's working seamless as a "logger" , i can see every value passing by even in HA. I've just added the exposure of the relative_modulation_level to HA (it was not working).

The problem is that I cannot use the "override" function, when I try to switch ON the boiler form HA it returns suddenly in the OFF mode. I suppose that as soon as the phisical thermostat (well, thermostats...i've two of them connected ) sends the actual status the component "forget" the command that was switching on the boiler.

Can you help me adding some "override" function?

mihsu81 commented 1 year ago

This is probably caused by the fact that your thermostat doesn't support MsgID 9 (Remote override room setpoint). An alternative way would have to be implemented to mimic the way the thermostat controls the boiler.

faxbio commented 1 year ago

thank you. i'll try to find a way to write the code for the esp that if i need to override i'll stop the thermostat communication and reset the connection to the boiler making the esp acting as the "single" thermostat. it should work, but it's a long trip to get there ;-).

mihsu81 commented 1 year ago

In a different case the suggested route was to send the MsgIDs normally sent by the original thermostat. While that would be difficult to accomplish on the PIC, it should be much easier to achieve in software.

https://www.domoticaforum.eu/viewtopic.php?t=13826&sid=86c853c4394798fe347d0d53afa630d0

bvweerd commented 1 year ago

see PR #17 for a possible work-around

faxbio commented 1 year ago

i'm going to test PR #17 asap. thank you.