Page 1 of 1

Blockly and user variables for basic heater

Posted: Tuesday 06 August 2019 15:34
by alarm_guy1
Hi guys

I have a blockly that basically is
If garage temp is <15 then turn on switch 2
and if garage temp is greater than 16 turn off switch 2

This keeps the shed ticking over nicely, but if the shed is occupied for an extended period and I want to increase the temperature to say 20

Could I use a user variable to easily change the temperature elsewhere so I or others dont have to go messing in the blockly, it could be as simple as a retractive switch that overides the current temp for 1hr say or a section on the switches screen or temperature screen you just edit

cheers

Re: Blockly and user variables for basic heater

Posted: Wednesday 07 August 2019 14:09
by knielen
Ofcourse, most easy is an extra switch named e.g. Occupied

You blockly will something be like:

If garage temp is <15 then turn on switch2
else if garage temp is > 16 and switch Occupied is off then turn off switch2
else if garage temp is > 20 and switch Occupied is on then turn off switch 2

in the settings of the switch there's an option to turn in off after an hour (named turn on for an hour)

Re: Blockly and user variables for basic heater

Posted: Wednesday 07 August 2019 14:51
by Gerwin
hello,

you can make a selector switch wit different actions


Gerwin

Re: Blockly and user variables for basic heater

Posted: Thursday 08 August 2019 7:35
by alarm_guy1
Cheers,

Unfortunately I have no idea where to start with that, are there any guides out there

Re: Blockly and user variables for basic heater

Posted: Thursday 08 August 2019 8:17
by Gerwin
Looks like this

And make a blockly that the selector switch know what action to do

Gerwin

Re: Blockly and user variables for basic heater

Posted: Thursday 08 August 2019 8:25
by Gerwin
Here the blockly,

Sorry for the bad picture


Gerwin

Re: Blockly and user variables for basic heater

Posted: Thursday 08 August 2019 20:16
by alarm_guy1
Thankyou, in the 1st picture where have you created that list

cheers for the continued support

Re: Blockly and user variables for basic heater

Posted: Friday 09 August 2019 7:44
by Gerwin
hello.

go to hardware than make a dummy device (selector) than you can see them in devices
go to the device you have make and change the settings

Re: Blockly and user variables for basic heater

Posted: Friday 09 August 2019 20:56
by alarm_guy1
Cheers got it now