Blockly and user variables for basic heater

Moderator: leecollings

Post Reply
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Blockly and user variables for basic heater

Post 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
knielen
Posts: 46
Joined: Sunday 10 September 2017 9:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post 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)
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by Gerwin »

hello,

you can make a selector switch wit different actions


Gerwin
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by alarm_guy1 »

Cheers,

Unfortunately I have no idea where to start with that, are there any guides out there
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by Gerwin »

Looks like this

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

Gerwin
Attachments
IMG_0241.PNG
IMG_0241.PNG (307.9 KiB) Viewed 1143 times
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by Gerwin »

Here the blockly,

Sorry for the bad picture


Gerwin
Attachments
IMG_0243.JPG
IMG_0243.JPG (336.52 KiB) Viewed 1143 times
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by alarm_guy1 »

Thankyou, in the 1st picture where have you created that list

cheers for the continued support
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post 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
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Blockly and user variables for basic heater

Post by alarm_guy1 »

Cheers got it now
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest