Problem two switches are turning on at midnight I dont know y (cranberry & flower)
at sunset the Lower and Upper lights are to come on
the cranberry and flower light are to come on at 50%
at 11:02 they all go off
Problem two switches are turning on at midnight I dont know y (cranberry & flower)
at sunset the Lower and Upper lights are to come on
the cranberry and flower light are to come on at 50%
at 11:02 they all go off
Sunset resets at midnight triggering the ‘else’
Put all lights in the ‘then’ and leave the ‘else’ blank.
If
Time is after sunset
Then
with lower and upper
turnon
with cranberry and flower
turn on (you probably don’t need this line, set level also turns on the light)
set level to 50%
end if
if
time is after 11:02
then
…
Ok i didnt know that about midnight
I figured thats what I should be doing only I cant figure out how to get another with under then
There must be a trick to it
If you click the button with the two arrows (pointing up and down, top left of the page) you can then drag and drop the second with into the ‘then’
Alternatively, just click add a statement below the first ‘with’ and build it from there.
Sorry I dont know y this is so difficult
I was able to add another with ust under end with is that where its suppose to go
so
if - after sunset
then
with light 1 and light 2
do
turn on
end with
with light 3 and light 4
do
set level to 50
that’s it.
For future reference, the drag and drop works by picking up the block of text by clicking and holding the grips, which are the arrow symbols that appear in the right margin.
Then drag and release where you want it to end up.