wichers / esphome-opentherm

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

Unable to set target temperature (room_setpoint) #3

Closed mihsu81 closed 2 years ago

mihsu81 commented 2 years ago

Hi @wichers, Using an Opentherm gateway from DIYLess (seems to be a newer version of Ihor Melnyk's original gateway) I'm unable to set the room_setpoint from HA 2021.8.6. https://diyless.com/product/esp8266-opentherm-gateway

In the below example the room_setpoint was set to 19 through a physical thermostat. When trying to set it to 22 through HA, the climate component sends the correct info, but the opentherm_gw.climate component sends 19 again.

[17:35:40][D][climate:009]: 'OPENTHERM-GATEWAY' - Setting
[17:35:40][D][climate:038]:   Target Temperature: 22.00
[17:35:40][D][climate:373]: 'OPENTHERM-GATEWAY' - Sending state:
[17:35:40][D][climate:376]:   Mode: HEAT
[17:35:40][D][climate:396]:   Current Temperature: 26.40°C
[17:35:40][D][climate:402]:   Target Temperature: 22.00°C
[17:35:41][D][opentherm_gw.climate:564]: dhw_temperature: 30.296875
[17:35:41][D][sensor:127]: 'DHW Temperature': Sending state 30.29688  with 0 decimals of accuracy
[17:35:43][D][opentherm_gw.climate:573]: outside_air_temperature: 0.000000
[17:35:44][D][opentherm_gw.climate:359]: Control setpoint ie CH water temperature setpoint (°C): 5.000000
[17:35:45][D][opentherm_gw.climate:486]: room_setpoint: 19.000000
[17:35:45][D][climate:373]: 'OPENTHERM-GATEWAY' - Sending state:
[17:35:45][D][climate:376]:   Mode: HEAT
[17:35:45][D][climate:396]:   Current Temperature: 26.40°C
[17:35:45][D][climate:402]:   Target Temperature: 19.00°C
[17:35:47][D][opentherm_gw.climate:555]: boiler_water_temp: 31.398438
[17:35:47][D][sensor:127]: 'Boiler Water Temperature': Sending state 31.39844  with 0 decimals of 

Could you please help me troubleshoot this issue?

Thanks in advance.

piio commented 2 years ago

Hi,

I have exactly that same problem - after changing target temperature through Home Assistant, it's going back to temperature set by physical thermostat.

Is there any solution to get it working?

mihsu81 commented 2 years ago

Hi @piio, I didn't manage to get around the issue. Same issue with an OpenTherm Gateway from http://otgw.tclcode.com/. I think it is related to the Thermostat, because when i load a thermostat firmware on the Opentherm Gateway from DIYLess, it controls the boiler just fine. I have an OpenTherm DOTROOMTHEAA thermostat from Daikin and a D2CND024A1A boiler also from Daikin. I got busy with other projects and neglected the gateway.

mihsu81 commented 2 years ago

Looks like it had nothing to do with the build. My thermostat doesn't support remote setpoint. Daikin DOTROOMTHEAA is using undocumented OpenTherm messages to control the gas boiler. I'm trying to document them and maybe @wichers can implement them?