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!

Library Link Use
ESP8266 Influxdb https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino http comm restapi
Adafruit BME280 Library https://github.com/adafruit/Adafruit_BME280_Library sensor