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

Feature mosfet pin #169

Closed hexenmeister closed 2 years ago

hexenmeister commented 3 years ago

Even when switched off, the LEDs still consume a lot of power. Especially with larger installations it makes sense to completely switch off the LED strip. This patch allows to specify a pin for controlling a MOSFET. (Sorry for previous request, closed because of my mistake (wrong bransh)).

WarDrake commented 3 years ago

This looks good, I'll test it in a few days and we can include it if it all works fine. Sorry for leaving this hanging off for so long.

hexenmeister commented 3 years ago

No problem. You may also be interested in another feature: Support for local control by a (single) button (on / off (single click), next / previous effect (double / tripple click), brighter / darker (hold), faster / slower (click and hold)). If you are interested, I can send a pull request. https://github.com/hexenmeister/esp8266-fastled-iot-webserver/tree/feature_ButtonSupport

hexenmeister commented 2 years ago

@hexenmeister How about adding support for LDR to automate brightness according to room light ?

I am not sure. I do something like this in my home automation with external sensors.

hexenmeister commented 2 years ago

@WarDrake Hello, is there still a chance to merge? :)

WarDrake commented 2 years ago

I'm sorry I forgot about this for a while, I'll set a reminder to test this this weekend and merge it

hexenmeister commented 2 years ago

great, thank you!

WarDrake commented 2 years ago

199