Power saving features - sblantipodi/firefly_luciferin GitHub Wiki

Turn off LEDs during long inactivity periods

Luciferin can detect inactivity on the LED strip and automatically turn off the LEDs after a configurable number of minutes.
The energy-saving feature is also activated when the screensaver is on.
If this feature is enabled, LEDs will automatically turn off when you turn off the PC.


Add a relay to cut power to the LED strip

Each LED on the strip has its own tiny controller, meaning the strip still consumes power even when all LEDs are off.
For example, a WS2812B LED strip with 300 LEDs consumes up to 6W when off.

Including a power relay can prevent this energy waste.

Some devices, like DigUno and certain Gledopto models, have an integrated relay.
Even with an integrated relay, you must configure the relay GPIO in Luciferin.

Relay installation options

  1. Add a relay in the DC path after the LED power supply.
  2. Add a relay in the AC path before the LED power supply.

You can still power the ESP via USB using a separate power supply (e.g., a phone charger).

Luciferin controls the relay as follows:

  • Sends a HIGH signal to the GPIO a few milliseconds before the LEDs are turned on
  • Sends a LOW signal a few seconds after the LEDs are turned off

Default relay GPIOs:

  • ESP8266: GPIO12
  • ESP32: GPIO12 and GPIO22

Note: Some devices, like certain GLEDOPTO models, require the GPIO signal to be inverted.
You can enable this option in the GPIO settings.

Learn more about how to change the GPIO in use.


⚠️ PLEASE DOUBLE-CHECK YOUR RELAY RATING BEFORE USING IT

  • DC rating is usually different from AC rating