ESPHome-OpenTherm icon indicating copy to clipboard operation
ESPHome-OpenTherm copied to clipboard

Feature Request - Opentherm GATEWAY functionality

Open faxbio opened this issue 2 years ago • 9 comments

Hi, based on the same library it seems to be possible to manage also the Gateway Functionality. The hw needed is available from Diyless .

The arduino code is available, but non integrated in HA. It would be very nice to import the functionality in ESPHOME environment but i'm not able to write the code.

The main advantage is that instead of "sobstitute" the actual thermostats you can keep them working and just override the command when needed.

Can you try to support it?

faxbio avatar Feb 22 '23 10:02 faxbio

Following this request, im interested also for this functionality

Mio3000 avatar Feb 23 '23 16:02 Mio3000

Me as well.

pimw1 avatar May 13 '23 22:05 pimw1

Hi :D @faxbio @Mio3000 @pimw1 I made some changes on my fork and i use this in my hose with gateway bord. https://github.com/sakrut/ESPHome-OpenTherm-Gateway

Unfortunatly currently only to read data, and without fit to new branch(an external component) If i will sort out problems with load and inject set points then i will try to prepare pr's

and here is what is required to use this commponent as gateway where "processRequest" is most important https://github.com/sakrut/ESPHome-OpenTherm-Gateway/commit/ce527930c5f24a71f512bc8c36b26b8a006c166e

image

sakrut avatar Aug 31 '23 20:08 sakrut

@sakrut Any news? Did you manage to override set point temperature?

faxbio avatar Oct 22 '23 20:10 faxbio

@faxbio Finly done. It required more tests, but now after clear a bit it work for me well. If you have "heating curve" in boiler, read readme pleas

https://github.com/rsciriano/ESPHome-OpenTherm/commit/3e781a124e5a9b59ebbaec5590b432b1aa4c4ada

sakrut avatar Nov 30 '23 22:11 sakrut

@sakrut thx for great work, i see there the dallas sensor, pls do i need it to have this working? or can i use some thermometer from HA?

Mio3000 avatar Dec 01 '23 09:12 Mio3000

@Mio3000 you can remove dallas sensor, i use this hadrware where this sensor is included. And thermometer from HA is not required, becouse i deleted PID. the main controler manage this so work with pid is not nessery

sakrut avatar Dec 01 '23 10:12 sakrut

thank you, looks good, and it would be possible also add diagnostic_event and fault_indication? and also ch_active with dhw_active? just as binary sensors or i can add them somehow here:

binary_sensor:
  - platform: custom
    lambda: |-
      OpenthermComponent *openthermComp = (OpenthermComponent*) id(opentherm);
      return {openthermComp->flame};
    binary_sensors:
    - name: "Flame"
      #device_class: heat

Mio3000 avatar Dec 01 '23 11:12 Mio3000

Probably yes. Please make issiue on my fork , it will be easyer to follow and bind

sakrut avatar Dec 01 '23 12:12 sakrut