ElectroFun IOT
Published © GPL3+

IOT Server With Prometheus and Grafana Monitoring a ESP8266

This project does not require MQTT, Node-red, it only needs an ESP flashed with a customized Tasmota, Prometheus and Grafana.

IntermediateFull instructions provided4 hours634
IOT Server With Prometheus and Grafana Monitoring a ESP8266

Things used in this project

Hardware components

Wemos D1 Mini
Espressif Wemos D1 Mini
×1
DHT11 Temperature & Humidity Sensor (3 pins)
DHT11 Temperature & Humidity Sensor (3 pins)
×1
SparkFun Atmospheric Sensor Breakout - BME280
SparkFun Atmospheric Sensor Breakout - BME280
×1
Raspberry Pi 4 Model B
Raspberry Pi 4 Model B
×1

Story

Read more

Schematics

ESP8266 connected with BMP or BME280

I2C connection, to use this sensor in Tasmota you need to enable it and compile a new version.

Code

my_user_config.h

C/C++
Enable the flags as shown below in my_user_config.h from tasmota project and compile the project again.
#define USE_PROMETHEUS                           // Add support for https://prometheus.io/ metrics exporting over HTTP /metrics endpoint


#define USE_BMP                                // [I2cDriver10] Enable BMP085/BMP180/BMP280/BME280 sensors (I2C addresses 0x76 and 0x77) (+4k4 code)

Credits

ElectroFun IOT
1 project • 0 followers
My mission is to build practical, useful and budget-friendly IOT/electronics solutions using open-source software and affordable components!

Comments