It’s built using platformio, not the arduino IDE (but could be ported back to it easily)
It uses ESPAsyncWebServer as webserver for async requests.
It keeps the compatibility with the original RESTful API, while ensuring homekit/homebridge support, FastLED DemoReel animations, etc, etc…
Meaning, any fork of the original FastLED + ESP8266 Web Server “data” dir should work with this (?)
It provides wifi AP mode, Client mode, and MDNS support.
My motivation behind the rewrite is to teach me a bit of C++ while having fun with some esp8266 (in my case an ESP-01) and WS8212 strips
I’m posting this here, as my current tests seems to show that (at my biggest surprise), most of it seems to work… Most, because my self-made proto-board-pseudo-pcb is … crap.
So, right now, I could really use some feedback from people testing the sketch with different hardware than mine.
Big ups to @Jason_Coon for showing me the path and inspiration.
Big ups to the FastLED and esp8266 community!
I hope you will like it
Ps: Hrm, regarding the name of this project, I have to admit it was originally called FastLED + ESP8266 Async Web Server… But Hrm… I needed a short string for the hostname, plus the thing is meant to sit on my desk in an opaque i*ea vase
I took a quick peek at the code, it looks very nice and organized! I’ve been wanting to reorganize the code for a while, and try my hand at some C++. I’ve also been meaning to try out the async web server. Thanks for sharing, this should help greatly!
@Jeremy_Spencer Cool! Please keep me informed @Jason_Coon Thank you for the nice words! I would be more than happy to have you collaborate on it!
Note, I do think it could have a better name than ESPDeskLamp ;p
Expect some code cleanup in the next hours, and more in the to-do section
I’ve been working on lots of improvements to my tree project, which is similar and based on esp8266-fastled-webserver. The web app now dynamically includes fields defined in the firmware, which makes it easy to add sliders for variables like speed, drop down lists for palettes, etc. I also just added a “Simple” web page for kids, spouses, etc: https://github.com/evilgeniuslabs/tree-v2
I’ve updated the project. I’m proud to report it now seems pretty stable
Also added the UI (still based on the original one by Jason), but slightly tweaked (added Hue speed, Palette duration…)
@Jason_Coon I tested tree-v2, nice animations (and nide fronted rewrite