Juergen_Bruegl
Sat, 20 Feb 2016 13:05:21 +0000
FastLED Archive

ESP8266 Control, now with SLIDER !
Webserver or Access Point version !

Had to put many hours into this.

My prerequisites: FastLED driven directly with the ESP8266.
The HTML code has also to be on the ESP8266,
no additional SD-Card. As Access Point there is no
connection to another WiFi and it can be used anywhere.

As Webserver it is now a part of your WiFi network and
even if there is an internet outage you still can control
your lamps.
Challenge was to write it with HTML without loading
CSS stylesheets from the web - and maybe the most important
feature: it works with any device (phone, PC, Tablet)
AND with any browser I tested so far - even with bitchy Apple
devices. Support for Apple devices was not intended but a
nice side effect of the back to the basics HTML 1 programming.

The slider is by now just a workaround. For the overall brightness
I divided it in 24 steps from 20 to 250. When I tried just to
filter the value 0…255 from the string it always returned a
“URL not found” page.

This was my very first attempt on HTML and I want to cry out
for help to a HTMLer who is willing to contribute.
Hey, the previous code was downloaded approx 450 times - one of you guys must be better in those things than me!
Next on the wishlist would be sliders for RGB, HSV, and speed
control - and may be even a color picker ??

Want the code? http://pastebin.com/Pydqx6n2

76 posts - 1 participant