/HS-Fastled-Brightness

HomeSpan and FastLED powered blinken lights - selectable using brightness dimmer

Primary LanguageCMIT LicenseMIT

HS-Fastled-Brightness

HomeSpan and FastLED powered blinken lights - selectable using brightness dimmer.

Rough experiment to try and build homekit powered blinken lights.

With thanks to HomeSpan for the great library and the examples. Thanks also to FastLED for a wildly powerful LED library.

As implimented, the device appears as a dimmable light in the home.app. The brightness slider has a 6 positions which select six different patterns.

  1. Off
  2. Solid Blue
  3. Solid Green
  4. Solid Yellow
  5. Pacifica - from the FastLED examples
  6. Cylon - also from the FastLED exmples

Different animations might need varying update speeds so the main() loop includes a non-blocking loop that can impliment different update speeds.