Automated Exterior Lights: Sunset To Sunrise


#1

Per a user request to see basic automated sunset to sunrise lighting:
(Plus some extra stuff)


#2

Thank you for.
this can I import this in?


#3

Use the 4 digit code at the top and use the penultimate option.


When you do this the piston will open a window for you to put your devices in.


#4

Thanks for the reply…

I am familiar with the import feature.:smile:
I get an error importing using the 4 digit code…something about error importing bin file…so i figures it was not shared any longer .


#5

It is telling me the import feature is not yet available. What am I missing?


#6

As said above, use the 4th option.
Restore option.


#7

Lol. Sorry I thought the penultimate option was within the “import a piston function”. I know see you just meant the second to last option.


#8

You got it. Hopefully the code is still valid if not I can repost if you wish.


#9

Yep. I get an error importing as well.


#10

Try this code.


#11

Much Thanks ,
This one imported well.


#12

I imported this for some lights and it worked great. When I try to do the same thing with another piston and set of lights I get the piston does not subscribe to any events error. Is there a reason it can only be ran one time?


#13

Just to clarify… That is NOT an error…

Some of my best piston have this up top:


That being said, if you have a lightning bolt next to the “IF Time is between”, it will fire twice a day.

pic

(If you have no lightning bolts in the left margin, then you have changed something in @bobbles code)