Just started playing with wled/esp32 and your presentation is the best I’ve come across so far. Liked and subscribed…..and downloaded for future reference…..
Light-switch dimmer functionality? I've been trying to use WLED for the control of a single white LED driven with PWM and a MOSFET. Ideally, I'd like two buttons, high and low. Touch the high button (with light off) and the light comes on at 100% brightness, hold the high button and it dims from 100% to 0% in about 3 seconds, depending on when you release the button. Touch the low button (with the light off) and the light comes on at 2% brightness, hold the high button and it increases from 2% to 100% depending on when you release the button. Short press (0.5s) either high or low when the LED is on, toggles it off. Hold either high/low (with light on) and the light will dim/brighten until released. Most dimmer I have work similarly and you have to turn it on full or to the last unknown setting before dimming it, but sometime I don't want 100% first thing in the dark morning. I have a lot of ESP based dimmers running Tasmota but couldn't figure out a way to provide this functionality. I think this might be possible with API commands but haven't figure it out. Using a ESP32 with Touch buttons seems to work well enough, no need for physical buttons. Maybe overkill to use WLED but I use it for all other LED projects. Thanks for the video.
i think yes if you use "switch" setting instead of button, but i am not sure. because to have 2 or 3 presses with a switch baybe is odd. BUT you can use a smart switch (wifi or zigbee) with which has INCHING setting (off automatically after it is turned on for a specified period), setted for example to go off after 0.5 or 1sec on, it will act like a push button, as magic! and you could do a scene (macro) for example in tuya/ewelink where you turn on/off/on/off etc in sequence, to act like double press, or even long press. and that scene if you have alexa/gHome can be seen there, and with voice you can activate it.
I've been following Dr. ZZZ for sometime and he has yet to explain this. thanks for going over it. I am looking to create some custom car light effects and wasn't sure how the buttons would work. I do have 1 question: How does the ESP32 handle power on/off? Will I just be frying boards if I had the setup wired to the ignition and not directly to the battery? Great tutorial and explanation.
Sorry it took me a bit to get back to you. As far as your ignition setup is concerned. To be able to hook up a board to your ignition system. You would need a buck convertor to drop the voltage down from whatever your ignition system runs at (typically 12vdc) to 5vdc. That way when you power up the board it doesn't fry.
I think good idea button 3 level brightness white & other button for RGB thing for bed side lamp 3D printer. Bit hard setup make 3 level brightness off > 1 > 2 > 3 > off > 1 > 2 > 3 like my bed side lamp. I got crappy bed side lamps with 3 level brightness don't have RGB effects.
Awesome, thanks for the video! I want to do something similar with a light switch in my house (6 meters away from the esp32 module) would this method work with a longer cable running to the switch you think?
Thanks, and that's a great question, I've not tried doing a longer run on a switch wire, give it a try with some wire before installing it and give it a try!
hi, nice video, can i have a question how can i afford to control independently 2 segments of led strip with 2 push butons-brightness only what API command write to segment preset?
Awesome! Is it possible to program this to do something like a turn signal with an underglow? For example, if I use my left or right turn signals, make just a certain section and color flash with the cars signal. Thank you for the video.
Добрый день. Подскажите, пожалуйста, а можно ли создавать условия для пресетов? Например, если нажата кнопка 1, включить один пресет, если кнопка не нажата - включить другой пресет. Спасибо
Excellent video and really helpful, keep it up! I have a question. I'd like to use a push button to control some SK6812 for desk backlight. Thanks to this video I can easily use the button to also toggle the leds on/off, I am trying to decide whether to also add a toggle switch that handles power for both the leds and the board. Should I just use a single button and keep the board running 24/7?
Hello. I really want to make room lighting. Can I stop the effect? I want to turn on the light and see the effect of rushing fire and play of colors and then I want the whole strip to turn on in one color and light up my room. Maybe you can help me with something, I will be very grateful! Thank you!
Did you figure it out yet? I imagine that you would make the effects you want as presets, then make a playlist of the presets. From there, may need to make a new transitions preset (as he does in this video) and use the API code box to make a code based list of your playlists. Also there’s a youtuber who specializes in led flame effects on here. I can’t remember his name but he’ll show up if you search.
You can do this, you can create a playlist of effects in WLED. I kind of cover this in my video that talks about animations on your led matrix. It's pretty straightforward. If I get a chance I will try and do a short How To video for everyone on it sometime soon. Thanks for your question.
Are you familliar with the D1 Mini? I put a button connecting ground and pin 4 but after i assign it in the macro it doesnt do anything (i switch to gpio 4 because 3 didnt do anyhting either, also I have it set as button 1)
DUDDEEEEE,,, I did not know buttons had default controls, that's incredible, button 1 does exactly what I wanted, thank you sooo much !
My pleasure friend, I'm glad it was able to help you.
Just started playing with wled/esp32 and your presentation is the best I’ve come across so far. Liked and subscribed…..and downloaded for future reference…..
Many thanks, I appreciate the kind words
Yeah! I did the same liked and subed bc this is soo good
Very cool. Love learning new WLED abilities. Need to get me some buttons and play with this now!
Lol, there is a link to some inexpensive ones in the description, thank for dropping a comment!
Light-switch dimmer functionality? I've been trying to use WLED for the control of a single white LED driven with PWM and a MOSFET. Ideally, I'd like two buttons, high and low. Touch the high button (with light off) and the light comes on at 100% brightness, hold the high button and it dims from 100% to 0% in about 3 seconds, depending on when you release the button. Touch the low button (with the light off) and the light comes on at 2% brightness, hold the high button and it increases from 2% to 100% depending on when you release the button. Short press (0.5s) either high or low when the LED is on, toggles it off. Hold either high/low (with light on) and the light will dim/brighten until released. Most dimmer I have work similarly and you have to turn it on full or to the last unknown setting before dimming it, but sometime I don't want 100% first thing in the dark morning. I have a lot of ESP based dimmers running Tasmota but couldn't figure out a way to provide this functionality. I think this might be possible with API commands but haven't figure it out. Using a ESP32 with Touch buttons seems to work well enough, no need for physical buttons. Maybe overkill to use WLED but I use it for all other LED projects. Thanks for the video.
Fantastic video! Thank you so much for making it and breaking down the code meanings … you saved me from a lot of headaches just now. 😂
Happy to help!
Thank u sooo much i have the best idea....
Thanks!
Thank you so much for the superchat, that means a lot.
Fantastic!! Is it possible to control virtually those buttons using a smart switch on the wall?
That's a really good question, WLED does support remote controls, maybe one could be programmed?
take a look at home assistant. i think wled was originally made to work with it.
i think yes if you use "switch" setting instead of button, but i am not sure. because to have 2 or 3 presses with a switch baybe is odd. BUT you can use a smart switch (wifi or zigbee) with which has INCHING setting (off automatically after it is turned on for a specified period), setted for example to go off after 0.5 or 1sec on, it will act like a push button, as magic!
and you could do a scene (macro) for example in tuya/ewelink where you turn on/off/on/off etc in sequence, to act like double press, or even long press. and that scene if you have alexa/gHome can be seen there, and with voice you can activate it.
So Great
I've been following Dr. ZZZ for sometime and he has yet to explain this. thanks for going over it. I am looking to create some custom car light effects and wasn't sure how the buttons would work. I do have 1 question: How does the ESP32 handle power on/off? Will I just be frying boards if I had the setup wired to the ignition and not directly to the battery? Great tutorial and explanation.
Sorry it took me a bit to get back to you. As far as your ignition setup is concerned. To be able to hook up a board to your ignition system. You would need a buck convertor to drop the voltage down from whatever your ignition system runs at (typically 12vdc) to 5vdc. That way when you power up the board it doesn't fry.
Is there a way to override the current preset with a different preset as long as the button is pushed?
Thanx, I was Searching for this video all along
Glad you found it!
I think good idea button 3 level brightness white & other button for RGB thing for bed side lamp 3D printer.
Bit hard setup make 3 level brightness off > 1 > 2 > 3 > off > 1 > 2 > 3 like my bed side lamp.
I got crappy bed side lamps with 3 level brightness don't have RGB effects.
Awesome, thanks for the video! I want to do something similar with a light switch in my house (6 meters away from the esp32 module) would this method work with a longer cable running to the switch you think?
Thanks, and that's a great question, I've not tried doing a longer run on a switch wire, give it a try with some wire before installing it and give it a try!
hi, nice video, can i have a question how can i afford to control independently 2 segments of led strip with 2 push butons-brightness only what API command write to segment preset?
Awesome! Is it possible to program this to do something like a turn signal with an underglow? For example, if I use my left or right turn signals, make just a certain section and color flash with the cars signal. Thank you for the video.
Добрый день. Подскажите, пожалуйста, а можно ли создавать условия для пресетов? Например, если нажата кнопка 1, включить один пресет, если кнопка не нажата - включить другой пресет. Спасибо
It is, you just assign a preset as the default option when the controller is powered on.
Excellent video and really helpful, keep it up! I have a question. I'd like to use a push button to control some SK6812 for desk backlight. Thanks to this video I can easily use the button to also toggle the leds on/off, I am trying to decide whether to also add a toggle switch that handles power for both the leds and the board. Should I just use a single button and keep the board running 24/7?
I would, that way you could physically disconnect the power from the board
Hello. I really want to make room lighting. Can I stop the effect? I want to turn on the light and see the effect of rushing fire and play of colors and then I want the whole strip to turn on in one color and light up my room. Maybe you can help me with something, I will be very grateful! Thank you!
Did you figure it out yet? I imagine that you would make the effects you want as presets, then make a playlist of the presets. From there, may need to make a new transitions preset (as he does in this video) and use the API code box to make a code based list of your playlists. Also there’s a youtuber who specializes in led flame effects on here. I can’t remember his name but he’ll show up if you search.
You can do this, you can create a playlist of effects in WLED. I kind of cover this in my video that talks about animations on your led matrix. It's pretty straightforward. If I get a chance I will try and do a short How To video for everyone on it sometime soon. Thanks for your question.
Are you familliar with the D1 Mini? I put a button connecting ground and pin 4 but after i assign it in the macro it doesnt do anything (i switch to gpio 4 because 3 didnt do anyhting either, also I have it set as button 1)
What version of WLED are you using? I would try using a different GPIO
Jones Carol Rodriguez Shirley Martin Gary
Moore Dorothy Martinez Jason Robinson Karen
Gonzalez Kenneth Hall Elizabeth Hernandez Dorothy
Thanks!
Thank you so much for the super chat, that was very kind of you, it couldn't have come at a better time. You rock!