Skip to content

Collect ambient data: temperature, humidity, barometric pressure, air quality, light levels etc.

License

Notifications You must be signed in to change notification settings

catalinc/homestats

Repository files navigation

Homestats

A simple Raspberry Pi service to monitor temperature, humidity, barometric pressure, ambient ligth, UV index, CO2 and TVOC levels.

Sensors

All sensors are connected using the Qwiic Connect System.

Prerequisites

  1. InfluxDB and Grafana
  2. Python 3

Installation

  1. Install InfluxDB and Grafana. I recommend Installing InfluxDB & Grafana on Raspberry Pi guide.
  2. Clone this repo.
  3. Install Python packages required for sensors: sudo pip3 install -r requirements.txt.
  4. Edit homestats.ini and set InfluxDB access credentials for Grafana user. Beware that the password is stored in plain text, so is probably better ensure that this file is readable only by the service user (usually the pi user).
  5. Install the homestats service: sudo ./install_service.sh script.
  6. Start the service: sudo systemctl start homestats.service.
  7. Open Grafana and import homestats_dashboard.json dashboard to visualise sensor data.

About

Collect ambient data: temperature, humidity, barometric pressure, air quality, light levels etc.

Topics

Resources

License

Stars

Watchers

Forks