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!!!!
Help!!! Blockly timer
Moderator: leecollings
-
- Posts: 18
- Joined: Wednesday 05 October 2016 11:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Catalonia, Barcelona
- Contact:
Help!!! Blockly timer
- Attachments
-
- blockly.JPG (41.56 KiB) Viewed 1069 times
Re: Help!!! Blockly timer
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
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
-
- Posts: 18
- Joined: Wednesday 05 October 2016 11:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Catalonia, Barcelona
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests