Create thermostat device with 1 degree increments

Python and python framework

Moderator: leecollings

Post Reply
brjhaverkamp
Posts: 56
Joined: Wednesday 06 December 2017 16:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Create thermostat device with 1 degree increments

Post by brjhaverkamp »

hi all,

I am trying to write a plugin to control my pelet stove.
I am using a thermostat device, created in Domoticz to control the setpoint of the stove
However, I have a little anoyance I want to solve. The setpoint of the stove has 1 degree increments
The thermostat device has 0.5 degree increments. So changing between e.g. 18.0C and 18.5C doesn't do anything.
I would like to change the increment of the thermostat device, to also have 1 degree increments.
Can this be done? And if so, how?

Bert
User avatar
waltervl
Posts: 5858
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Create thermostat device with 1 degree increments

Post by waltervl »

The delta of 0.5 is hardcoded in javascript. See viewtopic.php?p=292161
But you need to do that change after every Domoticz update
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
brjhaverkamp
Posts: 56
Joined: Wednesday 06 December 2017 16:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Create thermostat device with 1 degree increments

Post by brjhaverkamp »

Thanks for the answer.
Alas, I guess I will have to live with it then. until someone makes it configurable. Who knows.:-)
It is only a minor anoyance for me.
User avatar
waltervl
Posts: 5858
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Create thermostat device with 1 degree increments

Post by waltervl »

In latest beta 2023.2, the thermostat device can now be changed with step size and min/max values. viewtopic.php?p=307044#p307044
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 1 guest