home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.38k stars 30.64k forks source link

OpenThermGateway no service to set DHW temp and heating curve #34302

Closed yotuze closed 4 years ago

yotuze commented 4 years ago

The problem

I have De Dietrich Baxi DuoTec Compact boiler and I would like to use it with OpenThermGateway but in OTGW integration there is no service for dhw setpoint which could be use the same way as opentherm_gw.set_control_setpoint works but for domestic hot water. This work in py-otgw-mqtt so it should be possible to do in official component. I have a outside temperature sensor connected to my boiler, so I don't set fixed temperature using opentherm_gw.set_control_setpoint but central heating temperature is calculated by boiler using a heating curve but in OTGW integration there is no service allowing to set this curve and sometimes I have to adjust this value.

I don't use any external room controller for this boiler, so if I connect a OTGW than I don't have any possibility to change dhw temperature or heating curve, even manually, because buttons on a boiler are deactivate when boiler detect connected Gateway (he thinks it's room controller). I don't want to spend money on some controller when I should be able to control it using tablet on wall or my phone and even if I would by controller than this OTGW would only for monitoring purpose because there are no services which could I use.

Thank you.

Environment

Problem-relevant configuration.yaml

-

Traceback/Error logs

Additional information

probot-home-assistant[bot] commented 4 years ago

Hey there @mvn23, mind taking a look at this issue as its been labeled with a integration (opentherm_gw) you are listed as a codeowner for? Thanks!

mvn23 commented 4 years ago

I will have a look at DHW setpoint implementation soon, this should not be too much trouble since it's already supported in the library and on the OpenTherm Gateway itself.

Heating curve implementation is more difficult: there is no direct command to set this on the OpenTherm Gateway. It would involve injecting raw messages into the OpenTherm protocol, which is not yet implemented in the pyotgw library. There's currently no feedback sensor for the heating curve values either and I'm unsure if my boiler even supports this feature, so I might not be able to test anything.

In short: DHW support may appear over the next few weeks (maybe months), heating curve support will take significantly longer and at this point there's no guarantee that it will be supported at all.

yotuze commented 4 years ago

It would be great if DHW would work because I regularly change this temperature.

Heating curve would be also great but winter is over so it's not so big of a problem for now. I was hopping that you just update some value for heating curve and the rest is calculated by boiler. So, at first the pyotgw library author need to add this method and than you will be able to add this to HA integration?

If you can connect outside temperature sensor to your boiler than probably your boiler have this. In my boiler this option replace CHW temperature setting after connecting outside temp. sensor.

I really hope that you will find time to add this DHW setting. I really like your integration, keep up the good work.

mvn23 commented 4 years ago

So, at first the pyotgw library author need to add this method

Indeed. However, that would be me as well ;)

I will have a look at the manual for my boiler tomorrow to see what it can and cannot do. Might be a good time to start working on the raw message support in pyotgw. No promises though...

yotuze commented 4 years ago

Indeed. However, that would be me as well ;)

I didn't know ^^ Sorry ;)

No promises though...

Ofcourse. Thank you

mvn23 commented 4 years ago

No support for heating curves on my boiler unfortunately. I won't be able to test this, so don't expect this to be implemented by me. If someone else is willing to have a go at it, feel free to file a PR to pyotgw.

yotuze commented 4 years ago

Too bad. I would gladly had been guinea pig but I understand that for proper development you need access to the boiler.

One more thing, you said:

Might be a good time to start working on the raw message support in pyotgw.

It means that this raw message support can be used for different things? and if heating curve is no go for you you might still, in some future, start working on raw message because it can be used in different things?