Not sure if it’s already there, but can we get one of the pins assigned as power status? Currently, when you use power off UI feature, LEDs are dimmed, but the power is still present. If we could get power status on one of the pins, we could use it to switch off power supply when the power is off, and then switch it back on when power is on.
You can use a relay to switch your power supply on/off. There is no way to switch the power off to the LEDs from the Esp because the power to the LEDs does not come from the Esp. Power comes from your power supply and that can be connected to a relay and the relay can be controlled from the Esp.
That’s exactly what I want to do, but to control a relay, I need to know if the “power” is on or off, meaning I need one of the pins from ESP to provide that signal.
That is set in LED Preferences and called Relay GPIO.
Awesome! Thanks.
I would recommend putting it above IR, with the “IR Info” link above it, it makes it look like it is something for the IR input.
Or in it’s own section because it is an output while everything else is input
Instead of using a relay, has anyone a MOSFET switch schematic that switches a 5V strip from an ESP32? On the web I found countless discussion which never ended but arguing about what MOSFET to choose. Any ready-to-use circuit would be very much appreciated. Thank you!
Any MOSFET that fully opens at 3.3V (Vgs) will work and since it works as a “switch” you can deploy it as a switch. Use Google for sample schematics or ready to use circuits.
Be mindful that you still need to respect Vgs and Id limitations. A basic electronics knowledge will suffice.
Thanks but you repeated exactly, what I mentionend. I could not find any out-of-the-box working schematic but just tips as “respect Vgs and Id limitations”, “don’t take this”, “consider this type but watch out for that”. Again, does anyone has a working schematic to switch a 5V strip with a ESP32? Thank you so much for any help.
Again, I only find general examples most of them are “low side switching” which seem not to be suitable for ESP32 WLED applications as GND will float when switch is off.
Is anyone out there with a in-the-field working schematic?