rsciriano / ESPHome-OpenTherm

Example of how to control an opentherm boiler with esphome
156 stars 44 forks source link

Feature Request - Opentherm GATEWAY functionality #53

Open faxbio opened 1 year ago

faxbio commented 1 year ago

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?

Mio3000 commented 1 year ago

Following this request, im interested also for this functionality

pimw1 commented 1 year ago

Me as well.

sakrut commented 10 months ago

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

faxbio commented 8 months ago

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

sakrut commented 7 months ago

@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

Mio3000 commented 7 months ago

@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?

sakrut commented 7 months ago

@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

Mio3000 commented 7 months ago

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
sakrut commented 7 months ago

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