Demo for a ESP8266 board with sensor DHT22 and storing static web files using SPIFFS. I tested it on Wemos D1 mini (V2).
This code is built using:
There is some debounce time for sensor updates which implemented using great CreateTimer lib.
In order to protect /edit
endpoint (see FSBrowser example) I use Basic Auth.
- Create your own
credentials.h
fromcredentials-example.h
and change settings. - Upload code
- Upload static files into SPIFFS (docs)
- Open board's IP with port
8080