Control OTGW over Wifi by MQTT and Domoticz

For OpenTherm-gateway related questions in Domoticz

Moderator: leecollings

Post Reply
Bluebird
Posts: 2
Joined: Friday 02 December 2016 22:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Control OTGW over Wifi by MQTT and Domoticz

Post by Bluebird »

Hi all,

I have connected the OTGW by Wifi and MQTT to Domoticz.
I see all the OTWG parrameters in Domoticz in the form of devices.

But what is the way to change these parrameters?
Ik MQTT explorer is see changing the domoticz/out items, but how to control the OTGW?

Thanks in advance
Henk
willemd
Posts: 621
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: Control OTGW over Wifi by MQTT and Domoticz

Post by willemd »

I have OTGW connected via USB and then I can use the following dzvents command for example to switch the setpoint to 16 degrees.

Code: Select all

domoticz.openURL('http://127.0.0.1:8080/json.htm?type=command&param=sendopenthermcommand&idx=8&cmnd=TC=16')
where 8 is the hardware idx of the OTGW (menu "setup", "hardware")

Don't know whether it is different in your setup.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Control OTGW over Wifi by MQTT and Domoticz

Post by waltervl »

Why over MQTT and not the build in OTGW gateway? See wiki https://www.domoticz.com/wiki/Opentherm_Gateway_OTGW
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Bluebird
Posts: 2
Joined: Friday 02 December 2016 22:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Control OTGW over Wifi by MQTT and Domoticz

Post by Bluebird »

Thanks for the replies!

Problem solved!

But the documentation is not very clear en spread over several places.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Control OTGW over Wifi by MQTT and Domoticz

Post by waltervl »

Tell us more, how did you solve it and what documentation did you use? This for the next user that runs into this issue. If needed I can update the Domoticz wiki. I do not have a OTGW so for me I am relying on the info from you users.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests