Page 1 of 1
Blockly & Varíable does not work
Posted: Wednesday 02 May 2018 14:19
by Joerg99
I have the following problem, I have written the blockly shown below but it does not work. It switches once when I change the variable but it does not automatically turn on. The internal temperature I have entered via a virtual dummy he is visible and displays correctly in Domoticz. does anyone know a solution?
Re: Blockly & Varíable does not work
Posted: Friday 04 May 2018 11:38
by EricT
I don't know much about Blockly but I think you are missing something to trigger that script. Maybe adding a time or a switch to the script may solve your problem.
E.g
if time is 9 AM and temp < 20 then turn on heating
or
if switch is On and temp < 20 then turn on heating
Re: Blockly & Varíable does not work
Posted: Monday 07 May 2018 17:11
by Joerg99
Thanks, I'll try that and get in touch
Re: Blockly & Varíable does not work
Posted: Monday 07 May 2018 18:16
by tozzke
Did you change your Blockly Event type to UserVariable?
Re: Blockly & Varíable does not work
Posted: Monday 07 May 2018 21:09
by Joerg99
I don't know much about Blockly but I think you are missing something to trigger that script. Maybe adding a time or a switch to the script may solve your problem.
E.g
if time is 9 AM and temp < 20 then turn on heating
or
if switch is On and temp < 20 then turn on heating
Thanks that was exactly the right idea !!!
it works perfect !!
Thank you so much EricT !!
Re: Blockly & Varíable does not work
Posted: Tuesday 08 May 2018 0:23
by EricT
I am glad to be able to help.
