Simple turn on between time range
Posted: Friday 09 December 2016 0:04
Hey Guys,
I am trying to do this with blocky but i suppose lui is fine too.
I just want to turn a light on between 4:30 and 9:30pm, so i created a simple IF block and did the time range and inside the Do i just turned the light on.
This sort of works because it will turn the light on, but after it passes 9:30 it never actually shuts off. Is there some simple way to handle this or do i need to do an On event at 4:30 and then a seperate off event at 9:30?
Thanks, just want to make sure im doing this the best way.
thanks
I am trying to do this with blocky but i suppose lui is fine too.
I just want to turn a light on between 4:30 and 9:30pm, so i created a simple IF block and did the time range and inside the Do i just turned the light on.
This sort of works because it will turn the light on, but after it passes 9:30 it never actually shuts off. Is there some simple way to handle this or do i need to do an On event at 4:30 and then a seperate off event at 9:30?
Thanks, just want to make sure im doing this the best way.
thanks