Skip to content
/ bme280 Public

AREDN Mesh Node Pi BME280 Environmental Sensor

Notifications You must be signed in to change notification settings

denmojo/bme280

Repository files navigation

Pi BME280 Environmental Sensor

This is a Pi3B based web server and BME280 environment sensor placed outdoors in an AREDN mesh node to serve out location environment statistics of temperature, pressure, and humidity.

Prerequisites

  • Pi 3B (best balance of capability, ethernet for mesh node, and low power consumption)
  • i2c enabled on pi
  • smbus for BME280 test C program
  • Python3 and pip3
    • Flask, flask_sqlalchemy, SQLite
  • nginx (optional, web proxy)
  • gunicorn (optional, lightweight wsgi for productionalizing the app)

Notes

  • Run bme280_job.py on a cron schedule to record periodic readings. For example, this is my crontab:

*/5 * * * * cd /home/pi/webapp && /usr/bin/python3 /home/pi/webapp/bme280_job.py >> /var/log/bme280.log 2>&1

Webpage screenshot example

About

AREDN Mesh Node Pi BME280 Environmental Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages