ESPManager - Easy ESP Management.
Posted: Thu Dec 17, 2015 8:33 am
I got tired of writing the same code for different projects, only to make changes that then were not propagated through my different projects. Enter the ESPManager. With three lines of code in a project...
https://github.com/sticilface/ESPmanager
This project uses SPIFFS, JqueryMobile, AJAX, ArduinoJson and handles lots of aspects of ESP8266 management. Including joining WiFi Networks, Setting device name, enabling mDNS, you can upload files to SPIFFS, format SPIFFS, reboot the device, enable/disable the AP, enable/disable Station mode, set AP password, channel (if not in station mode), set the MAC address of both AP and STA. There is an About page that gives loads of variables regarding WiFi, SPIFFS, uptime, etc etc...
I've been using it for a while and it seems to work... so i thought i would share it.
The JS will be horrible as i literally learnt it for this. Any improvements welcome. The one major bug so far is that with an empty cache it takes two refreshes. Every time my debugger says there is an unexpected character in the css for jQuery. I can't figure out why.. maybe the browser puts out too many requests at the same time. This occurs with just the mobile jQuery set up. Any help appreciated.
Merry Christmas people.
A
https://github.com/sticilface/ESPmanager
This project uses SPIFFS, JqueryMobile, AJAX, ArduinoJson and handles lots of aspects of ESP8266 management. Including joining WiFi Networks, Setting device name, enabling mDNS, you can upload files to SPIFFS, format SPIFFS, reboot the device, enable/disable the AP, enable/disable Station mode, set AP password, channel (if not in station mode), set the MAC address of both AP and STA. There is an About page that gives loads of variables regarding WiFi, SPIFFS, uptime, etc etc...
I've been using it for a while and it seems to work... so i thought i would share it.
The JS will be horrible as i literally learnt it for this. Any improvements welcome. The one major bug so far is that with an empty cache it takes two refreshes. Every time my debugger says there is an unexpected character in the css for jQuery. I can't figure out why.. maybe the browser puts out too many requests at the same time. This occurs with just the mobile jQuery set up. Any help appreciated.
Merry Christmas people.
A