Recycled Christmas Tree - Beetle ESP32-C6

For this Christmas I decided make my own Christmas Tree with PET bottles and a Beetle ESP32-C6 with ESPEasy. Follow my project…

HARDWARE LIST
1 Beetle ESP32-C6
1 Flexible LED Filament
1 Digital LED String Lights (Colorful)
3 PET Bottles
STEP 1
I started with collection a PET bottles and cleaning them. With my PET filament machine I maked recycled filament.
STEP 2
Print Wireframe Xmas Tree: https://www.thingiverse.com/thing:2599844
STEP 3
Print Super Mario Bros. Pixel Star Tree: https://www.thingiverse.com/thing:1174471/files
STEP 4
Download: ESP Easy firmware and flash Beetle ESP32-C6 (https://espeasy.readthedocs.io/en/latest/Reference/Flashing.html)

Enable ESP Easy Rules

Go to Tools: Advances and check RULES.

Then, I created a RULE with Timer to switch the lights each 750ms

CODE
On System#Boot do    
 timerSet,1,1      //Set Timer 1 for the next event in 1 seconds
endon
On Rules#Timer=1 do  
 GPIO,4,1
 timerSet_ms,2,750      //Resets the Timer 2 for another 1 seconds
endon
On Rules#Timer=2 do  
 GPIO,4,0
 timerSet_ms,1,750    //Resets the Timer 1 for another 1 seconds
endon
License
All Rights
Reserved
licensBg
0