markwinter / GroveMonitoring

Grove Room Sensor Monitoring visualised in Grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grove Monitoring

Python3 server that reads Grove Room Sensors and exports the values for Prometheus scraping

The sensors are read every 5 seconds

Screenshot 2021-01-26 at 23 06 18

Required Hardware

Required Software

You should have the following software installed already.

  • Grafana

  • Prometheus

Installation

  • Edit the User field in systemd/grovemonitoring.service to your linux account

  • Edit the path to app.py in ExecStart

  • Install the systemd service to /etc/systemd/system/grovemonitoring.service

$ sudo cp systemd/grovemonitoring.service /etc/systemd/system/
$ sudo systemctl daemon-reload
$ sudo systemctl start grovemonitoring
$ sudo systemctl status grovemonitoring
$ sudo systemctl enable grovemonitoring  # Enable on boot

About

Grove Room Sensor Monitoring visualised in Grafana

License:MIT License


Languages

Language:Python 100.0%