Firmware to sample a Bosch BME280 sensor using an ESP8266 board + storing the recorded data in an influxDB instance.
These instructions will get you up and running with the basic setup.
- An ESP8266 (Used for testing: nodeMCU v2)
- A BME280 Sensor connected to it
- A running InfluxDB instance
- Deploy timeserver.py somewhere the ESP will be able to reach it (e.g. the server running the influx instance)
- Adapt config.hpp with the constants from your setup
<SSID> <PSK>
: Used wlan SSID + corresponding PSK<host>
: Host where influxdb + timeserver.py are running
- Build using e.g. the Arduino IDE (setting up the Arduino IDE can be found here: https://github.com/esp8266/Arduino)
This project utilizes clang-format + clang-tidy for coding styles. Corresponding files are included in the repo.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE.md file for details
- Kevin "KTOWN" Townsend for the Arduino_BME280 library
- Marco Durante for the basic energy-saving setup: https://bitbucket.org/2msd/d1mini_sht30_mqtt/src/master/d1mini_sht30_mqtt.ino