Skip to content

mcostabr/ESPmanager

 
 

Repository files navigation

Build Status

ESPmanager

Full wifi and OTA manager for ESP8266 Arduino IDE

Uses Jquerymobile and AJAX to run everything, with cache control should mean fairly snappy handling.

Requirements

  1. ESP8266 & Arduino IDE
  2. The following header files, must be in your sketch.
#include <FS.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ESP8266HTTPUpdateServer.h>
#include <ESP8266WebServer.h>
#include <ArduinoOTA.h>
#include <ArduinoJson.h> // https://github.com/bblanchon/ArduinoJson 

#include <ESPmanager.h>

Features
This project uses SPIFFS, JqueryMobile, AJAX, ArduinoJson and handles lots of aspects of ESP8266 management. Including OTA, 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...

Instructions.

  1. Download to your libraries Folder for Arduino
  2. Open the example sketch located in the examples folder - ESPmanager-example.ino
  3. Add in your WiFi details if you want (will allow you to upload the SPIFFS stuff via web)
  4. If you do NOT put in you WiFi details, you must upload the data directoy to SPIFFS.
  5. If your ESP now connects to your WiFi network, put the IP in this command
    for file in `ls -A1`; do curl -F "file=@$PWD/$file" X.X.X.X/espman/upload; done
    whilst in the data directory of the example.
  6. Reboot the ESP.. it will copy the required files to a SPIFFS folder called espman
  7. Now visit http://X.X.X.X/espman and it should work...

Feedback welcome...

About

Full wifi and OTA manager for ESP8266

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%