A library to handle basic functions for IoT devices. Currently supports ESP8266 and ESP32.
- WiFi
- Configuration via web interface
- Saving configuration in SPIFFS
- Generation of own access point if connection to desired wifi impossible
- Captive portal when in AP mode
- MQTT client
- OTA updates
- ESP8266 or ESP32 integration in Arduino
- PubSubClient
- ESPAsyncWebServer
- ArduinoJSON
Additionally, using this library involves static files that can be uploaded to ESP boards (LittleFS) using their respective filesystem uploaders
- Upload the GUI to the board using the LittleFS upload tool
- Upload the sketch to the board as usual
Those are the endpoints of the Web server.
Route | Method | Description |
---|---|---|
/ | GET | Accesses index.html file in SPIFFS |
/update | GET | Barebone page for OTA firmware updates |
/update | POST | Endpoint to upload a new firmware file (.bin), as multipart/form-data |
/upload | GET | Barebone page for the updating the GUI |
/upload | POST | Endpoint to upload new GUI files, as multipart/form-data |
Providing an emtpy string as MQTT broker disables MQTT functions.