Send TT=0

For OpenTherm-gateway related questions in Domoticz

Moderator: leecollings

Post Reply
Softwareregi
Posts: 3
Joined: Thursday 13 August 2015 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Send TT=0

Post by Softwareregi »

I'm a newby in Domoticz land, so ...... be patient

- How do I create a button that sends the command TT = 0 to the OTGW
- is it possible to have all the buttons (temp, pressure, setpoint, and so on) of the otgw on one tab and not, as now, on several tabs

gr. John
manjh
Posts: 731
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Send TT=0

Post by manjh »

Looking for that tt=0 button as well John, will let you know when I find a way.

As for the second question: Create a "roomplan"for OTGW.

Setup-->more options-->plans-->roomplan

Then add all required OTGW buttons to the plan.
When done, for instance on the dahboard select the OTGW plan in the right-upper corner.
Hans
pjotr
Posts: 4
Joined: Sunday 21 February 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Zuid Holland
Contact:

Re: Send TT=0

Post by pjotr »

Is there a way to send the command TT=0 from Domoticz ? I want te set the temperature at 16 degrees when i leave home. When i come back home i want to set the temperature to the default temp of the thermostat program.
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Send TT=0

Post by mvzut »

pjotr wrote:Is there a way to send the command TT=0 from Domoticz ? I want te set the temperature at 16 degrees when i leave home. When i come back home i want to set the temperature to the default temp of the thermostat program.
I just set the thermostat to 0, works perfectly.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Send TT=0

Post by emme »

how do you connect to the OTGW?
MQTT? API?

you can create a simple pushbutton and a script that will send the TT=0 payload to the OTGW, but I have no experience with OTGW

ciao
M
The most dangerous phrase in any language is:
"We always done this way"
pjotr
Posts: 4
Joined: Sunday 21 February 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Zuid Holland
Contact:

Re: Send TT=0

Post by pjotr »

I am curious how you sens the TT=0 command to the OTGW from domoticz ? If it is possible with a script i can trigger this script in domoticz events.
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Send TT=0

Post by mvzut »

pjotr wrote:I am curious how you sens the TT=0 command to the OTGW from domoticz ? If it is possible with a script i can trigger this script in domoticz events.
My OTGW is connected to my Raspberry Pi with a USB-to-serial adapter. The thermostat which the OTGW plugin creates basically sends TT commands when you change its value. So I just set the value of the thermostat to something low when I leave the house, and to 0 when I come back home, effectively switching back to timer mode. I use a LUA command for this:

Code: Select all

commandArray['UpdateDevice'] = otherdevices_idx['Thermostat']..'|0|0'
But you can obviously also do this with Blockly, Python, shell scripts, whatever you prefer.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
CaptainSlow
Posts: 60
Joined: Thursday 08 December 2016 21:07
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Bussum
Contact:

Re: Send TT=0

Post by CaptainSlow »

Im reviving this topic with a new topic as I found out this url works perfectly fine.

http://<ip>:<port>/json.htm?type=command&param=sendopenthermcommand&idx=<idx>&cmnd=<cmnd>

https://domoticz.com/forum/viewtopic.php?f=26&t=34506
____________________________________________________________________
Raspberry PI 3 Model B with USB stick, Domoticz Stable, OTGW LAN with ESP wifi-bridge and Isense Thermostat using the Outside Temp from Buienradar via Domoticz, Milight Ibox-2(V6)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests