# \[APP\]\[Pro\] OpenTherm GateWay MQTT

**URL:** <https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [March 5, 2023, 8:32pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190 "2023-03-05T20:32:37Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [March 28, 2023, 8:36pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/41 "2023-03-28T20:36:57Z")

</div>

No diagram needed really. The connector is marked. 2 wires from the thermostat. The other 2 from the boiler. The polarity doesnt matter.

But manual is here: [https://www.nodo-shop.nl/en/index.php?controller=attachment&id\_attachment=34](https://www.nodo-shop.nl/en/index.php?controller=attachment&id_attachment=34)

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 10:33am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/42 "2023-04-01T10:33:05Z")

</div>

So I got mine from nodo shop with the wifi module and pre-soldered . all good.

I see the esp\_xxxx wifi. I connected to it got 192.168.4.2 as address  
try to connect to 192.168.4.1 with http , https etc in FF and chrome but nothing works.  
also did nc but looks like port 80 is not up.

what can it be ? , do I need to program it 1st.

thanks

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [April 1, 2023, 10:39am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/43 "2023-04-01T10:39:24Z")

</div>

![bestelling2305843009223018155](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/5/65a954d41c810de9e1bfded53c8a16c8a7ba13dd.jpeg)

This is what I ordered. Did you also order the WeMos programming service?

If you did, try using FireFox as browser. I had issues when using Chrome.

oh, and try to connect to: [http://otgw.local](http://otgw.local)

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 10:41am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/44 "2023-04-01T10:41:53Z")

</div>

> [@Gruijter](#):
>
> Did you also order the WeMos programming service?

aha , this 1 not .

do you have the instructions howto do this yourself.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [April 1, 2023, 10:44am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/45 "2023-04-01T10:44:11Z")

</div>

> [@Edwin\_Biemond](#):
>
> instructions howto do this yourself.

This link is probably what you need: [How to install firmware on your ESP · rvdbreemen/OTGW-firmware Wiki · GitHub](https://github.com/rvdbreemen/OTGW-firmware/wiki/How-to-install-firmware-on-your-ESP)

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 10:59am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/46 "2023-04-01T10:59:20Z")

</div>

that went well, lets see now

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 11:14am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/47 "2023-04-01T11:14:20Z")

</div>

nice , now I can continue

 ![Screen Shot 2023-04-01 at 13.11.36](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/0542a66f62bea242c1d326b7a64850c907ea7bd0.png)  
 ![Screen Shot 2023-04-01 at 13.13.43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/a/6a59c90a1e5c4466261e294e01775475ff2adc2b.png)

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 12:21pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/48 "2023-04-01T12:21:24Z")

</div>

Only I don’t see the room temperature on homey.

 ![Screen Shot 2023-04-01 at 14.14.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9b6f4f63b4fae3d2e975d363957931e894ecc256.png)  
 ![Screen Shot 2023-04-01 at 14.19.42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b297439aae16609a07295c140efea5d07e4b2f09.jpeg)  
 ![Screen Shot 2023-04-01 at 14.20.02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/820206ba5d9cfaf2022224b06c2d2361741147f9.jpeg)  
 ![Screen Shot 2023-04-01 at 14.20.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d1ba71dc7d3690b4d113f179e1d26c63ca04bd22.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 1, 2023, 12:31pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/49 "2023-04-01T12:31:28Z")

</div>

> [@Edwin\_Biemond](#):
>
> Only I don’t see the room temperature on homey.

A lot of thermostats don’t pass that value to the boiler.

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 12:36pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/50 "2023-04-01T12:36:17Z")

</div>

ok this 20 degrees shown there is not the same on the gateway and in mqtt

 ![Screen Shot 2023-04-01 at 14.35.20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f29304895e6ad23d3644dbb79a78f98d082a61a1.png)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [April 1, 2023, 12:38pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/51 "2023-04-01T12:38:32Z")

</div>

in MQTT the room temperature topic is called `Tr`, so that is what I use in the Homey app.  
You could use MQTT explorer to see the live topic updates.

For expert help visit the Discord Channel: [Discord](https://discord.com/channels/812969634638725140/931267109726593116)

The developers of OTGW are there, and maybe they can help you to get the room temperature. But as @robertklep said, it depends if the thermostat provides this info in the first place.

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 1:32pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/52 "2023-04-01T13:32:06Z")

</div>

thanks , nest has it on app and homey but indeed I don’t see it on mqtt

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 1, 2023, 2:22pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/53 "2023-04-01T14:22:29Z")

</div>

fixed, it is a topic and on homey I missed this message because I added the app later. restart gateway helped in pushing it again

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [April 2, 2023, 8:35am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/54 "2023-04-02T08:35:27Z")

</div>

@Gruijter can you share your flow. for the shower timer.

like to do the same but notify when hot water flow goes over 5 or 10 min and calculate the gas from that moment.

thanks

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [April 2, 2023, 2:22pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/55 "2023-04-02T14:22:51Z")

</div>

Not so easy to share. I can make some screenshots, but need a PC for that. Wheather is too nice now to sit behind my laptop.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [April 6, 2023, 9:24am UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/56 "2023-04-06T09:24:29Z")

</div>

Here are the most important flows. The first detects if the shower is being used (and not some other hot water usage). The second flow is timing the shower duration and will flash the lights after a number of minutes.

 ![douche detectie](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f2794d930794b71ac0a74f6dd2acc5da63559264.jpeg)

 ![douche timer](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/9944a002ac4e38b032c0978f977a3bba7a505f28.jpeg)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [September 8, 2023, 6:00pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/57 "2023-09-08T18:00:03Z")

</div>

When I started the OTGW boiler tuning I hoped to save 5% gas by letting the boiler run more efficiently. Now that I have a full year gas consumption from July-July, I was able to compare it with previous years.

**We actually used 40% less gas than in previous years. WOW!**

Not all savings are due to tuning the boiler, but introducing OTGW on my Homey surely was a huge factor. These are the measures that enabled the 40% less usage:

- we had a relatively warm winter
- awareness by all residents that gas prices were enormous
- awareness forced by the shower timer I built with Homey (see OP)
- automatically lowering the boiler temperature to 40 degrees after 5 minutes of showering (and back to 58 when shower finished)
- installing a thermostat valve in the bathroom
- installing a thermostat valve in the hallway, and setting it to frost prevention mode
- installing radiator fans on all convectors in the living/kitchen area
- installed a new, better insulated, door between living room and hallway
- lowering the thermostat setting with 1 degree (to 19) and wearing extra sweater
- lowering the thermostat to 15 degrees an hour earlyer than before (9pm now)
- tuning the boiler:

- lowering max water temp to 45 degrees
- setting boiler heater power to minimum value
- fine tuning the max pump speed
- so that the return water temp is minimized, and boiler stays in low burner modulation as long as possible

This summer I found a cheap (18 euro) laser guided thermal temperature measuring gun at Lidl. I will use it when winter starts to fine tune the valves on each convector so that ‘delta T’ is equal everywhere. This will further optimize (=lower) the return water temperature, and thus squeeze maybe even a bit more efficiency out of the boiler.

Fine tuning the Central Heating system was very time consuming, but I never imagined we would save this amount of gas!

Hope I can inspire others to do the same.

PS: I read a lot online, discussed on forums, and watched youtube clips about boiler tuning. I have seen/read enough to know I am by far an expert on the subject, so please forgive me if some of the measures I described above are suboptimal, or even plainly wrong, but for me the result is there! 😉

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [September 8, 2023, 9:07pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/58 "2023-09-08T21:07:40Z")

</div>

That is a huge reduction. I myself see a reduction of about 30 %. Most of your measures I’ve done also. Luckily my kids have “left the building”, so shower time reduction is not necessary over here 😂.  
My suggestion for further reduction: zone heating (Plugwise for instance).  
On weekdays I only heat the kitchen, bathroom and one or two home-office rooms during the day.  
This spring we isolated the space in the outside wall’s (“spouwmuur isolatie”), I’m curious how much it will save us coming winter.

---

<div class="post-metadata">

**Author:** ![evanhemmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evanhemmen/32/79511_2.png) [@evanhemmen](https://community.homey.app/u/evanhemmen)\
**Post date:** [September 25, 2023, 5:44pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/59 "2023-09-25T17:44:21Z")

</div>

Hi, I’m not really succesfull in getting the OTGW MQTT app to work on my Homey. My situation is a little different than in the how-to at the start of this topic. Could anybody please point me the right direction?

I have a Nodo shop OTGW. It has been working fine for the last 2-3 years on a Domoticz installation. For comfort and stability reasons I have migrated my entire home automation setup to a Homey Pro 2023. Except for the OTGW this migration went perfectly…

What is different:

- I don’t have the wifi variant, but the ethernet variant ([Ethernet-module USR-TCP232-T2](https://www.nodo-shop.nl/nl/ons-assortiment/207-ethernet-module-usr-tcp232-t2.html))
- I’ve updated the firmware once, which bricked my OTGW, so I’m a little bit hesitant to update the firmware again. Nodo shop sent me a new PIC with the latest firmware which I installed. I’m not really sure which firmware it is.
- The web page shown in this topich where you can configure the MQTT function is not available for me.
- I can access the OTGW via the OTmonitor app, where I can also configure the MQTT function.

The MQTT interface via the OTmonitor application:

 ![OTmonitor](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/a/3a46c8dc10a735061bfa1ceaf4ce7bd263b315d1.png)

My settings in Homey:

 ![Homey OTGW app](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18f05818e134c9757708b2bf90af45a794f9a7e1.png)

The result ☹ :  
 ![error](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/62d37cd047b0535b4f4e6049daffcaf57045699d.png)

Any advice for me to get this to work? Would be greatly appreciated #WinterIsComing 😅

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [September 25, 2023, 6:22pm UTC](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190/60 "2023-09-25T18:22:51Z")

</div>

That setup looks very different indeed. Homey looks for events on `OTGW/value` and publishes actions on `OTGW/set`. That is when the top topic in Homey is left at `OTGW`

[Previous page](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190.md?page=2)

[Next page](https://community.homey.app/t/app-pro-opentherm-gateway-mqtt/77190.md?page=4)
