Skip to content

Power saving features

Davide Perini edited this page May 13, 2023 · 13 revisions

Turn off LEDs for long inactivity period

Luciferin is able to detect inactivity on the LEDs strip, you can choose to turn off LEDs if there is no activity on screen for the configured number of minutes. The energy saving function is also activated when the screensaver is active. If the power saving feature is active, LEDs will be turned off when you turn off the PC.

Add a relay to cut power to the LED strip

There is one tiny controller for each LED on the LED strip, this means that the LED strip continue to consume power even when all the LEDs are powered off. A WS2812B LED strip with 300 LEDs consume up to 6W when all the LEDs are powered off.

Including a power relay can prevent this energy being wasted.

You have two options:

  1. Add a relay in the DC path after the LED's power supply.
  2. Add a relay in the AC path before the LED's power supply. You can still power the ESP via a USB cable using a separate power supply like a phone charger.

Luciferin sends an HIGH signal to GPIO some milliseconds before the LEDs are turned on and a LOW signal some seconds after the LEDs are powered off.

  • Relay is controlled via GPIO12 on ESP8266
  • Relay is controlled via GPIO12 and GPIO22 on ESP32

PLEASE DOUBLE CHECK YOUR RELAY RATING BEFORE USING IT, DC RATING IS USUALLY DIFFERENT FROM THE AC RATING.
USING A RELAY WHEN THE ESP IS CONNECTED TO USB IS NOT RECOMMENDED.

Clone this wiki locally