A range of LEDs can now be controlled. XMas light effect added (based on Police All).
Example MQTT payloads:
{ "effect" : "range" , "rangestart" : "5", "rangecount" : "130" } [ LEDs will be turned off, them LEDs 5 though 135 will be turned on (full white)]
{ "effect" : "addrange" , "rangestart" : "5", "rangecount" : "130" } [ LEDs 5 though 135 will be turned on (full white), other LEDs remain in previous state ]
{ "effect" : "addrange" , "rangestart" : "5", "rangecount" : "130" } [ LEDs 5 though 135 will be turned off, other LEDs remain in previous state ]
{ "effect" : "xmas" } [ red chases green ]
Possible future additions: colors/effects apply to range only. End ranges are given in pixel index number.
A range of LEDs can now be controlled. XMas light effect added (based on Police All).
Example MQTT payloads: { "effect" : "range" , "rangestart" : "5", "rangecount" : "130" } [ LEDs will be turned off, them LEDs 5 though 135 will be turned on (full white)] { "effect" : "addrange" , "rangestart" : "5", "rangecount" : "130" } [ LEDs 5 though 135 will be turned on (full white), other LEDs remain in previous state ] { "effect" : "addrange" , "rangestart" : "5", "rangecount" : "130" } [ LEDs 5 though 135 will be turned off, other LEDs remain in previous state ] { "effect" : "xmas" } [ red chases green ]
Possible future additions: colors/effects apply to range only. End ranges are given in pixel index number.