Hi Martinus,
I like to control some RGB led(strips) with ESPEasy.
The way it works now I have to send 3 separate commands resulting in 3 separate connections to make for controlling 3 GPIO's for Red Green and Blue. I think this will cause enough delay to make a colorchange slow, seeing the colors change one by one, that is not really what one would like to see in a color led(strip).
So is it possible to extend the GPIO command list with a new command controlling multiple GPIO's in one command. Something like:
http://<ESP IP address>/control?cmd=RGB,<pinR>,<pinG>,<pinB>,<levelR>,<levelG>,<levelB>
I have a chinese LED WiFi Controller H801 http://hackaday.com/2015/08/25/esp8266- ... -products/ which has a ESP8266 inside, it would be nice to flash it with the ESPEasy software. This controller has 5 High Current MosFets with PWM capabilitie. 3 for R,G,B and 2 for white leds.
i don't want to overload you with requests but maybe you can give your opinion about the idea of multiple GPIO commands.
thoughts about extended GPIO control
Moderators: grovkillen, Stuntteam, TD-er
Re: thoughts about extended GPIO control
If not too time consuming idea is very good - You have my vote costo
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: thoughts about extended GPIO control
Nice, i am ordering a few pieces.costo wrote: I have a chinese LED WiFi Controller H801 http://hackaday.com/2015/08/25/esp8266- ... -products/ which has a ESP8266 inside, it would be nice to flash it with the ESPEasy software. This controller has 5 High Current MosFets with PWM capabilitie. 3 for R,G,B and 2 for white leds.
Just somewhat easier than putting it self all together in such small form
-
- Normal user
- Posts: 320
- Joined: 15 Apr 2015, 14:17
Re: thoughts about extended GPIO control
I have received a small board with a built-in RGB led.I get your point.
You might want to create a new device: RGB Led.
Being able to select three output pins, and controllable by command?RGB=RRRR,GGGG,BBBB
I wouldn't recommend sending the pins in this command, that's not how devices are used, so it's not consistent with the general ESP code.
Can't be that hard to realize i think. It's just the first device using three pins instead of 1 or 2 on ic2 devices for example.
You might want to create a new device: RGB Led.
Being able to select three output pins, and controllable by command?RGB=RRRR,GGGG,BBBB
I wouldn't recommend sending the pins in this command, that's not how devices are used, so it's not consistent with the general ESP code.
Can't be that hard to realize i think. It's just the first device using three pins instead of 1 or 2 on ic2 devices for example.
Re: thoughts about extended GPIO control
Agree with this pins, those could be set in configuration.
Another story is to send colours - maybe in hex ? like "command?RGB=e63b7a" (pink) or even "command?RGB=e63b7a,220" 2nd parameter for level
Another story is to send colours - maybe in hex ? like "command?RGB=e63b7a" (pink) or even "command?RGB=e63b7a,220" 2nd parameter for level
Who is online
Users browsing this forum: No registered users and 16 guests