Laxilef / OTGateway

OpenTherm gateway for HomeAssistant
GNU General Public License v3.0
150 stars 20 forks source link

Monitoring mode only ? #28

Closed 0BuRner closed 8 months ago

0BuRner commented 9 months ago

Hello, Just wanted to know if it's possible to avoid sending any data to the data bus, but only listening on it ? I don't want to interfere with my manual wireless thermostat that comes with my boiler... I'm using this OT gateway: https://diyless.com/product/esp8266-opentherm-gateway with Wemos D1 Mini ESP32

Laxilef commented 9 months ago

Hi, No, it's not implemented, but I was thinking about it

0BuRner commented 9 months ago

Do you think it will require lot of work ? If you already had an idea on how to do it, maybe you can describe here what's your vision on how to implement that and I can give it a try in my free times.

And btw, thanks for all your work on this project :)

Laxilef commented 9 months ago

It is not difficult. But this requires additional hardware, which I don’t have: a slave shield and a thermostat.

I think it should work like this:

The controller receives commands from the thermostat and sends them to the boiler, having received a response from the boiler, the controller sends it to the thermostat. This can be done in the OpenthermTask.

However, I wouldn't want to just do a transparent proxy of commands. We need to leave the option to use PID and Equitherm modes. To do this, you need to filter the commands received from the thermostat.

Thus, if one of these modes is enabled on the controller, having received a command from the thermostat to set the temperature, we must either ignore this command or set this value as the desired room temperature and respond to the thermostat that the temperature has been set. In this case, we can take the room temperature from the thermostat for PID and/or Equitherm.

Other commands can be sent to the boiler as is.

7oxicshadow commented 8 months ago

+1 on this. I have the same gateway board as @0BuRner and it sounds like we have the same goal. To be able to monitor the opentherm traffic between a thermostat and boiler without interference from the arduino interface.

I will also take a look at the source to see if I can understand how Tx and Rx are working.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been stalled for 5 days with no activity.

0BuRner commented 5 months ago

Hi, Any news on this ? I looked a bit to the code the other day but unfortunately I'm not comfortable enough with it to be able to make such change...

Laxilef commented 5 months ago

Hi, No news. I do not have a thermostat and slave shield for testing.

7oxicshadow commented 5 months ago

@0BuRner I have created a basic project which seems stable over the past couple of months usage. Its a bit bare bones and was not designed with flexibility in mind but might be good enough as a reference project for you.

I am afraid it is customised to my boiler (baxi) / stat (ESi) combination

https://github.com/7oxicshadow/openThermGateway_HA