NimmLor / esp8266-fastled-iot-webserver

A universal software for all my LED projects, with many awesome features
https://www.thingiverse.com/surrbradl08/designs
GNU General Public License v3.0
366 stars 94 forks source link

Sleep Mode if LED powered off #199

Closed thommycgn closed 2 years ago

thommycgn commented 3 years ago

The Desk Lamp still consumes 1 W when switched off. I noticed that no sleep mode of the ESP is used at all. Is there a reason for this? Could this perhaps still be implemented?

WarDrake commented 3 years ago

The ESP and leds all continue to draw power while connected, that's because there are multiple thigns running like a webserver, math calculations, mqtt / alexa alive packages, etc, etc, etc

you could implement a virtual switch like a mosfet to cut the power to the leds and avoid 99% of the power draw, there's a PR for that already made, but no one has had the time to test it, you can try that one if you're interested.

hexenmeister commented 3 years ago

see here: https://github.com/NimmLor/esp8266-fastled-iot-webserver/pull/169 I've been using it myself for some time without any problems :) Schematic gerbers png_Combined_Top gerbers png_Combined_Bottom