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

4thofjuly
diwali
halloween
christmas
holiday

#367

This is the first piston I have created.
I want my single string of gardenspots to cycle the colors.
I imported the 27364. Nothing is happening. Is there something else I need to add?
Total beginner to this.


#368

did you do this?

and while/after restoring the piston add the lights to use in the holidayLights device variable of the piston?


#369

Thank you. I did the boolean variable. Yes, there were two spots for the lights so I added the same string twice. Unsure of what I can delete without breaking the function. Will hitting test run it right away or only at sunset? :confused:


#370

there are 2 device variables … 1 for lights and other for speaker, in edit mode click on the lights device variable then click unselectall followed by clicking on the 1 light then save the variable.

if you are not using speaker nothing should be selected in the device variable for speaker.

change this:

to:

Time happens daily 1:00 am to 11:00 pm

and save the piston. then try the test button and it will work immediately.


#371

Alrighty. I think I got it going. I changed the start time back to sunset. but now it says “piston state; false”. Maybe it will kick back in tomorrow. Thanks for the help.


#372

yeah you will need to wait till tomorrow for it to kick in if its already after 30 minutes to sunset.


#373

alright, hopefully the last time I bug you lol… How can i turn the fade frequency down or off? :slight_smile:


#374

promise? :smile:

set levelLow to same value as levelHigh?


#375

Both are the same and it still doesnt register the Low value but will not go above the high value. :confused:


#376

comment line 206 as seen in the snapshot.


#377

on your line 209 in the screenshot i deleted the “random integer i” expression and it doesn’t fade now lol.


#378

I like the way you formatted this piston. Would there be a way to set a pause piston as a variable and resume as a variable so I dont have to repeat for each holiday?

Also @bangali why would global variables not work in the holidaylights device? I tried and it didnt work until i added each light locally in the piston


#379

Repeat for each holiday? I don’t follow.


#380

I messaged you.