Page 1 of 1

Help!!! Blockly timer

Posted: Friday 20 March 2020 9:44
by delfisastre
Hello people!

I'm working to improve my blockly's scripts and one of theaseone's is not working.

The light works good, and turn on or off depends the conditions, but doesn't work the timer. I want to dimmer the light depending of the hours.

any idea? thanks!!!!

Re: Help!!! Blockly timer

Posted: Saturday 21 March 2020 10:16
by bert
you will need a time trigger for the Do's to be executed.
Right now your triggers are light level, the TV and the PC. if either of them change state, the function will check the time and act accordingly.
Time itself is not a trigger in your blocky at the moment; you will need to include that in the IF statement.

A good example:
https://www.domoticz.com/forum/viewtopi ... 911#p15911

Re: Help!!! Blockly timer

Posted: Saturday 21 March 2020 22:25
by delfisastre
Now works!!! thanks!