Arduino sketches and related artifacts for LED pixel projects
This sketch runs on ESP8266 and has the following functionality
-
Supports 3 strings of WS8211 LEDs:
- Gable end (pixel #1 is on the right end)
- Soffit (pixel #1 is on the left)
- A star
The gable and soffit are treated as a single logical string in some places; there is some cruft code from debugging a signalling issue with the gable string. The star is a 5-point star with 60 LEDS, with #1 at the top.
-
An MQTT listener that accepts various commamnds to update the state of the system. The topic name that is configured in GarageConfig.h
-
Commands that are accepted:
- ota . // Enables OTA updates to the Sketch
- debug:1, debug:2, debug:3 . // Displays some test patterns
- gate:open // Triggers an animation (used when gate is opened)
- gate:close // Future use
- color:rrr,ggg,bbb/ // Up to 5 triplets; rrr is 3-digit from 000-255. The parser for this is very fragile.
- dim:nmm // Set the default system brightness from 0 to 255
- system:[off|on] // Dims the system to 0 brightness/restore default, disables/enables animations
- twinkle:[on|off] // randomly "twinkle" pixels on the roofline. A work in progress
- pattern:roof // Pick the next sequential roof pattern
- pattern:star // Pick the next sequential star pattern