0

Program between hours (timeframe)

Michiel Kenis 3 years ago in bOS Configurator / Tasks updated by Jürgen Jürgenson 3 years ago 1

Hi there, 

I'm trying to sync my Hue motion detectors and my KNX detectors. In order to do so, I need to turn on the lights differently depending on the hour. 

Between 08h and 22h, the light needs to be "Bright" and between 22h and 8h it needs to be "Dimmed". 

So I set up a program with specific "if" statements, but the script gets confused. I think I applied the wrong order or nesting... 

I have following config:

Image 3157


But I have several rogue scenarios where lights don't turn on (correctly). 

How can I "nest" if-clauses or even create an if-else statement?


Best, 

Michiel

Hey,


You can "nest" the IF command if you copy it under the correct trigger.

This is how i did my bedroom night and day modes. I dont use a movement sensor tho.