Coder Social home page Coder Social logo

espmanager's Introduction

ESPmanager

Full wifi and OTA manager for ESP8266 Arduino IDE

Super early stuff. Likely to be bugs.

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...

espmanager's People

Contributors

sticilface avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.