Skip to content

s256/humidity-probe-influxdb

 
 

Repository files navigation

humidity-probe-influxdb

An ESP32 program for obtaining sensor data from an BME280 and saving it to an InfluxDB.

Features

  • Performs measurements every 60 seconds (customizable) and transfers them to an InfluxDB database.
  • Automatically detects the sensor type (BME280 or BMP280) and the sensor's I2C bus ID.
  • Minimize power consumption by
    • disabling Bluetooth
    • putting the ESP32 into light sleep mode between measurements
    • a customizable number of results is cached prior to transferring them to InfluxDB.
  • Reliability: the program caches measurements, if either the InfluxDB database or WiFi are not available.

Required Libraries

  • BMx280i sensor library from Gregor Christandl
  • QList (for caching sensor data)

Tutorial

The following tutorial summarizes the steps required for setting everyting up.

About

An ESP32 program for obtaining sensor data from an BME280.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%