Holiday Lights: 4th of July / Diwali / Halloween / Christmas - Your Pick



You can change line 59:


… by inverting it to this:

IF Time is NOT between 1:00 AM and 7:30 AM


I’ve made the change.I get back to you with feedback.

I thought that the line 117 was the one that stoped the piston earlier than I wanted.



I have never tried that exact code before, but I believe line 117 is only false one minute a day. (the last minute before midnight)


If my hunch is correct, then perhaps changing it to:
is greater than 00:00 might make it work 100% of the time…


Honestly, I would not change line 117 until you have tested my earlier recommendation… If line 59 fails, the entire piston will not do as you want


I am clicking the image in the original post (way above) because all I see is the image. How do I actually get the code and import it? I don’t see that anywhere. I am not referring to the web core dashboard. Thank you for any help


The backup code is found at the top of any green snapshot

Once you import it, you will often have to point to your devices to get the piston to work.

A good habit is to look at the original piston while doing this, so you can verify the right devices go in the right section.


ohhhhhh that’s what the code is for…wow… thank you!!!


What brand of lights is everyone using for this piston.
I would like to utilize this piston for string lights. My plan is to have string lights on my windows and have them change color according the monthly holidays.

Thank you!


Does anyone know how to modify this piston (top post) so that it pauses when none of the holidays are active in the restrictions. I want to resume my normal pistons when there isn’t a holiday.

I tried to add the following lines 103 - 124 (tweaked the original for my needs) but it isn’t working