Trying to... timed change setpoint with Blockly

Moderator: leecollings

Post Reply
Patricen
Posts: 117
Joined: Tuesday 06 February 2018 18:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta rel
Contact:

Trying to... timed change setpoint with Blockly

Post 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
125db
Posts: 4
Joined: Sunday 14 October 2018 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
Patricen
Posts: 117
Joined: Tuesday 06 February 2018 18:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta rel
Contact:

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

Post by Patricen »

Hello,

It is unfortunately not so simple. I'm using timer plans and it does not seems to be working
MarnixO
Posts: 18
Joined: Sunday 24 September 2017 12:02
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10199
Location: Destelbergen Belgium
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest