Two lights turning on dont know why


#1

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


#2

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


#3

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


#4

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.


#5

Sorry I dont know y this is so difficult

  1. I click on the two arrows top left then down the side just to the right of the line numbers there is another row with upper and lower arrows beside the if and with statements. you say to drag and drop the second with into the then. Where does the second with come from to drop.
  2. Click and just add a statement below the first with. Where do I click because I cant find anywhere to click that will give me the option to add a statemnet
    Rick

#6

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


#7

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.