rancilio-pid / clevercoffee

Do-It-Yourself PID für Espressomaschinen
https://clevercoffee.de
GNU General Public License v2.0
277 stars 144 forks source link

RGB LEDs as state indicators with animations, cup illumination, etc #444

Closed genkigenki closed 7 months ago

genkigenki commented 8 months ago

Added FastLED library, and LED handling for Neopixels with e.g. WS2811 chip. LoopLED will be called every 80ms for relatively smooth LED animations. Number of LEDs and chip type is freely configurable. Library is using Hardware features of ESP32 to avoid interrup conflicts 2 LED behaviours added to select from: Basic & Plus

LED behaviour "Basic" Perfect temp -> Green, one LED in back of machine Backflush -> white After coffee is brewed -> white Error -> red

LED behaviour "Plus" : PINon (not standby) -> low brightness white Perfect temp -> Green, one LED in back of machine Brew/Steam/Backflush -> white After coffee is brewed -> White light to show ready coffee for 15s, for the last 10% of the time, smoothly dim down Initialize, cold start Heat up -> Rainbow (only if configured) Error message -> Red heartbeat (Water empty, sensor error, etc) Steam-heat-up -> yellow