Page 1 of 1

Timers attached to setpoints

Posted: Monday 19 February 2018 23:07
by austins68
I'm new to this forum but not new to Domoticz. I have been using Domoticz in passive mode for a long time, monitoring temperatures, power usage, PV generation, etc., but now I want to use it to control things, in particular, the central heating.

To do this, I was planning to use a dummy setpoint with timers attached, and then have a script compare a room temperature sensor with the setpoint in order to control whether to call for heat. I've created the dummy setpoint and some "On time" timers attached to it, and naively I expected the setpoint value to change with time. That doesn't seem to happen: a couple of times have been and gone and the setpoint hasn't changed (but I can change it by hand). Do I need to write a script to do this? The function seems a little broken if so. Or maybe I just haven't spotted some UI setting I need to change. As far as I can see everything is enabled.

I am using stable version 3.8153 on the Raspberry Pi.

Apologies if this has been asked and answered before. If so, I clearly need to get more imaginative in my searching!

Many thanks,
Austin.

Re: Timers attached to setpoints

Posted: Tuesday 20 February 2018 0:01
by Domosapiens
This command:

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=80&nvalue=0&svalue=22
adapts a dummy setpoint with IDX=80 to temperature=22.
Tested with stable version 3.8153 on Win7.

I assume you can use this command within a Blockly to set a temperature.

Re: Timers attached to setpoints

Posted: Tuesday 20 February 2018 10:48
by Domosapiens
Tested with stable version 3.8153 on Win7:
the timer function of the Setpoint dummy works correct

Re: Timers attached to setpoints

Posted: Tuesday 20 February 2018 10:52
by Domosapiens
timer rules