OTGW used to simulate a boiler device

This Forum is about the Opentherm gateway (OTGW) from Schelte

Moderator: hvxl

Post Reply
warp
Starting Member
Starting Member
Posts: 21
Joined: Tue Aug 20, 2019 9:11 am

OTGW used to simulate a boiler device

Post by warp »

Hi,

I recently bought a thermostat (toon, for testing purpose) that can communicate with a boiler using opentherm protocol.
Unfortunately my boiler is not compatible with opentherm.

I have a RPi that is connected to the boiler using optolink (see https://github.com/openv/openv/wiki/Die ... nittstelle for information ). Almost all commands work.
I can read values, change setpoints, change heating mode...

I was wondering if I could use this OTGW as an intermediate appliance between the thermostat, and the RPi.
So that there would be nothing to change on the thermostat.
Obviously I would need to code the communication between the OTGW and the RPi, but considering the hardware fits to my use case.
Thanks.
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OTGW used to simulate a boiler device

Post by hvxl »

If you use the interface firmware, you could write some code that will receive an Opentherm message from the thermostat, translate that to the appropriate optolink value, and then generate a response back to the thermostat.

Officially, a slave device should respond within 400 ms. I don't know if that is enough time to actually obtain the requested information over optolink (at 4800 baud) on the spot, or if you have to prefetch information so you can return it immediately without having to send a query over optolink at that moment. You can also decide to relax the requirements and aim for the 800 ms interval, within which the master device must receive an answer.
Schelte
warp
Starting Member
Starting Member
Posts: 21
Joined: Tue Aug 20, 2019 9:11 am

Re: OTGW used to simulate a boiler device

Post by warp »

So from a physical point of view it can work (with the interface firmware).
I did not think about the protocol timing.

There’s no need to have real-time data. A delay of some seconds is totally acceptable.
Currently everything is cached in Domoticz, so data will be directly available.

...anyway, I think that’s enough to give it a try...
I’ll post again in some ...weeks ?... with my setup description and test results.
Thanks
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: OTGW used to simulate a boiler device

Post by marcelr »

Hi warp,

It's been quite a while since you last posted here. Did you get any further in your queries?
mariobkk
Starting Member
Starting Member
Posts: 2
Joined: Sun Jan 10, 2021 7:08 am

Re: OTGW used to simulate a boiler device

Post by mariobkk »

Hi,

Looking at the same scenario with a 9kW E-CV. The E-CV is original just ON/OFF but we have rebuild using SSR to switch the 3 heating elements to switch 7 powerlevels. We're using a WP8028ADAM as relay and OpenHAB for reading the Nodo OpenTerm gateway info and calculate the next relay position based on modulation.

Our setup is currently thermostat -> heatpump -> Gas CV (To be replaced with our E-CV solution)

If anybody has more info in simulating a CV using the OpenTerm gateway we would be most interested.

Mario
mariobkk
Starting Member
Starting Member
Posts: 2
Joined: Sun Jan 10, 2021 7:08 am

Re: OTGW used to simulate a boiler device

Post by mariobkk »

Update fom my end.

The OTGW from Nodo Shop works great. Tested using NodeRED to receive the data and answer to message with reply using the serial command and that works as advertised. However I need to send a reply and there is as far as I no serial command to return "raw" data to the Thermostat to simulate a boiler so the OTGW will become the monitor between the Thermostat and the heat pump.

To be continued, find a OpenTerm gateway that will be able to send "raw" data that I can program as I unfortunately have no assembly knowledge.

Any recommendation for a gateway that would support sending free data back to the Thermostat is appreciated.
hvxl
Senior Member
Senior Member
Posts: 1965
Joined: Sat Jun 05, 2010 11:59 am
Contact:

Re: OTGW used to simulate a boiler device

Post by hvxl »

mariobkk wrote:Any recommendation for a gateway that would support sending free data back to the Thermostat is appreciated.
The OTGW can, if you load the interface firmware.
Schelte
BarthoD
Starting Member
Starting Member
Posts: 6
Joined: Wed Mar 31, 2021 1:48 pm

Re: OTGW used to simulate a boiler device

Post by BarthoD »

Did you succeed? Is it solved?
I have the same kind of problem with a SUN-Boiler that I need to run stand-alone. This sun-boiler is working as a gateway expects an after-boiler (CV) as end-point.
All I need/want is to use the OTGW in the regular way, but as output of the OTGW (where normally the thermostat resides) I like to have the ability to just simulate a boiler (axactly as the request in this topic).

See also https://www.domoticaforum.eu/viewtopic. ... it=ferroli for more details.
neugen
Starting Member
Starting Member
Posts: 1
Joined: Fri Oct 08, 2021 3:57 pm

Re: OTGW used to simulate a boiler device

Post by neugen »

mariobkk wrote:Update fom my end.

The OTGW from Nodo Shop works great. Tested using NodeRED to receive the data and answer to message with reply using the serial command and that works as advertised. However I need to send a reply and there is as far as I no serial command to return "raw" data to the Thermostat to simulate a boiler so the OTGW will become the monitor between the Thermostat and the heat pump.

To be continued, find a OpenTerm gateway that will be able to send "raw" data that I can program as I unfortunately have no assembly knowledge.

Any recommendation for a gateway that would support sending free data back to the Thermostat is appreciated.
Hi,

There are a couple of nice Arduino based Opentherm shields.
I've used Jiří Praus' implementation for simulating a boiler.
This is how I've tested the Nodo Shop OTGW functionality:

Honeywell Evohome thermostat <----> Honeywell R8810A1018 module <-----> Nodo Shop OTGW <------> Arduino OTGW acting as a boiler.
On the Arduino side you have full control over the messages.

Regards,
Eugen
Post Reply

Return to “Opentherm Gateway Forum”