Instead of sending data to services in the cloud, here we send sensor data to local InfluxDB database. Grafana is used to read data from InfluxDB and alert thresholds are set to send reactive alerts.

InfluxDB

Download and Installation: official docs

Docker

Download and Installation: official docs

ESP32 connecting to WPA2-Enterprise

Hardware

schematic

Software

Dependencies

Listed below are the dpendencies used by Arduino IDE, but use PlatformIO instead!

LibraryLinkUse
ESP8266 Influxdbhttps://github.com/tobiasschuerg/InfluxDB-Client-for-Arduinohttp comm restapi
Adafruit BME280 Libraryhttps://github.com/adafruit/Adafruit_BME280_Librarysensor