Page 1 of 1

Trying to... timed change setpoint with Blockly

Posted: Wednesday 31 October 2018 9:24
by Patricen
Hi!
As I'm really not a programming guy, Blockly puzzles are simple enough for me, but...

I do have a Popp thermostat, seen as a setpoint from Domoticz, it is programmed with a timer within Domoticz.

I'd like to temporarily give a certain setpoint for a certain time that would override timer schedule, and as soon as the desired time is over, the setpoint of the timer schedule is used.

Unfortunately Blockly doesn't allow "Set setpoint to 22°C for X minutes" nor a countdown timer.

Does anybody have an idea?

Patrice

Re: Trying to... timed change setpoint with Blockly

Posted: Wednesday 31 October 2018 19:10
by 125db
Heyo, welcome to the Blockly world!

You could try creating a variable, ex. "setpoint_timer" and do something like this:

If [setpoint_timer] = 0 and [your action/trigger]
Set setpoint at 22C
Set [your action/trigger] = off (if it's a switch)
Set [setpoint_timer] = 1 after XX minutes
Else if [setpoint_timer] = 1
Set setpoint off
Set [setpoint_timer] = 0

Let me know if it works for you

Re: Trying to... timed change setpoint with Blockly

Posted: Friday 02 November 2018 17:13
by Patricen
Hello,

It is unfortunately not so simple. I'm using timer plans and it does not seems to be working

Re: Trying to... timed change setpoint with Blockly

Posted: Friday 16 November 2018 15:59
by MarnixO
Hi,
i have also popp TRV's and il use a blockly http action to set my thermostat setpoint
http://192.168.1.32:8080/json.htm?type= ... &used=true
This is ilustrated by the wiki , look for evohome updating a zone setpoint