Thermostat 6

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
User avatar
knasson
Posts: 32
Joined: Sunday 02 May 2021 22:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026-3
Location: France
Contact:

Thermostat 6

Post by knasson »

Presented in the teaser as a new thermostat integration in domoticz 2026-1 and i am interested in.

"Thermostat 6
is a new device type that combines a Setpoint and a Temp/Hum/Baro sensor into a single unit - mirroring how real thermostats work. Previously, users needed two separate devices for the target temperature and the actual sensor reading. Now both live together, with full EventSystem support (dzVents/Blockly/Lua/Python), notification thresholds for temperature, humidity, and barometer, and setpoint schedule support via MQTT-AD."
thermostat6.jpg
thermostat6.jpg (50.72 KiB) Viewed 4471 times
I had a look to the plugins list integrated in domoticz and did'nt see this thermostat name, where could we find this thermostat ? has it a different name?
User avatar
gizmocuz
Posts: 3072
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Thermostat 6

Post by gizmocuz »

It is a device, not a plugin. Some MQTT devices support this, or you can manually add one on a dummy hardware and use it with dzVents scripting (or python scripts)
Quality outlives Quantity!
User avatar
knasson
Posts: 32
Joined: Sunday 02 May 2021 22:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026-3
Location: France
Contact:

Re: Thermostat 6

Post by knasson »

Thank you,
therefore but we have to write the script for managaing the thermostat itself.
Perhaps there is probably some ready to use script examples using these specific devices?
User avatar
waltervl
Posts: 7029
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Thermostat 6

Post by waltervl »

It is just a combination of a Domoticz Thermostat/setpoint and a Temperature device. So in scripting there is nothing special.
The special thing is it lands on the temperature Tab and not in the Utility Tab like a normal thermostat device.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
domcars0
Posts: 20
Joined: Thursday 03 August 2017 22:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.2
Location: France
Contact:

Re: Thermostat 6

Post by domcars0 »

HI,
I'm trying to update the T° of a Thermostat6 device (Temperature/setPoint) from an ESPEasy rules but it looks like the update need also the setPoint ?

Without the setPoint in the sValue Domoticz return an error :
Error: Thermostat6: Invalid sValue - need at least temp;setpoint
Error: MQTT: Problem updating sensor (check idx, hardware enabled)


My Rule contain the line :
Publish domoticz/in,'{"idx":1004,"nvalue":0,"svalue":"[Eau_Chaude#Temperature]"}'
if I change it to :
Publish domoticz/in,'{"idx":1004,"nvalue":0,"svalue":"[Eau_Chaude#Temperature];74.5"}'

it works but of course I do not want to change my ESPEasy rule each time I want to change the setPoint.
Is it not possible to just update the T°?
Thanks
My Dz version is : v2026.2 (build 18021)
Kimmyn
Posts: 11
Joined: Friday 10 July 2026 18:00
Target OS: OS X
Domoticz version:
Contact:

Re: Thermostat 6

Post by Kimmyn »

Hello,

It seems that `Thermostat6` requires both values (`temperature;setpoint`) with each update, based on the error message. It would be great if Domoticz could retain the current setpoint when only the temperature is updated. This might be worth suggesting as a feature request, unless there's an existing MQTT option that allows the current setpoint to be preserved. I'm curious if anyone has discovered a more straightforward workaround for this issue.
User avatar
waltervl
Posts: 7029
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Thermostat 6

Post by waltervl »

The api update commands for this thermostat device are described here https://wiki.domoticz.com/Domoticz_API/ ... at_control

As it is a copy of an existing evohome thermostat the developer just followed that update set it seems.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 7029
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2026.3
Location: NL
Contact:

Re: Thermostat 6

Post by waltervl »

is the http API working for this device:

Code: Select all

/json.htm?type=command&param=setsetpoint&idx=IDX&setpoint=SETPOINT
If this is working then MQTT should also work.

Edit: You want to only update the temperature.... Then you also need to set the setpoint....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gravityz
Posts: 765
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2026.3
Location: Netherlands
Contact:

Re: Thermostat 6

Post by Gravityz »

i am using the thermostat6 device for a while now and it works like a charm.

indeed i do update both values because this is also the way when using MQTT.
when a device does not use nvalue we still need to send it with value 0


i use this(and no it is not redundant code)
local THERMOSTAAT = 'Thermostaat'
local thermostat = domoticz.devices(THERMOSTAAT)

Update setpoint(only 1 variable needed)
thermostat.updateSetPoint(actualSetpoint).silent()

update thermostat(temp and setpoint needed)
thermostat.updateThermostat(
temperatureDevice.temperature,
thermostatSetpoint
Post Reply