{"id":23191956,"url":"https://github.com/markwinter/grovemonitoring","last_synced_at":"2025-07-10T10:41:42.680Z","repository":{"id":71641259,"uuid":"333107800","full_name":"markwinter/GroveMonitoring","owner":"markwinter","description":"Grove Room Sensor Monitoring visualised in Grafana","archived":false,"fork":false,"pushed_at":"2021-01-27T03:39:47.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T14:43:16.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markwinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-26T14:20:08.000Z","updated_at":"2022-09-01T04:08:50.000Z","dependencies_parsed_at":"2023-02-23T08:30:54.771Z","dependency_job_id":null,"html_url":"https://github.com/markwinter/GroveMonitoring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FGroveMonitoring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FGroveMonitoring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FGroveMonitoring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FGroveMonitoring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markwinter","download_url":"https://codeload.github.com/markwinter/GroveMonitoring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299833,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T12:19:31.739Z","updated_at":"2025-04-05T07:08:19.923Z","avatar_url":"https://github.com/markwinter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Grove Monitoring\n\nPython3 server that reads Grove Room Sensors and exports the values for Prometheus scraping\n\nThe sensors are read every 5 seconds\n\n![Screenshot 2021-01-26 at 23 06 18](https://user-images.githubusercontent.com/4998112/105860204-ac479080-6030-11eb-8a4d-980263df431f.jpg)\n\n\n### Required Hardware\n\n- Raspberry PI. Tested on Raspberry Pi 4 Model B\n\n- [Grove Base Hat](https://wiki.seeedstudio.com/Grove_Base_Hat_for_Raspberry_Pi/)\n\n- [Grove Sunlight Sensor](https://wiki.seeedstudio.com/Grove-Sunlight_Sensor/)\n\n- [Grove AHT20 Temperature \u0026 Humidity Sensor](https://wiki.seeedstudio.com/Grove-AHT20-I2C-Industrial-Grade-Temperature\u0026Humidity-Sensor/)\n\n- [Grove Laser PM2.5 Dust Sensor](https://wiki.seeedstudio.com/Grove-Laser_PM2.5_Sensor-HM3301/)\n\n- [Grove Air Quality Sensor v1.3](https://wiki.seeedstudio.com/Grove-Air_Quality_Sensor_v1.3/)\n\n\n### Required Software\n\nYou should have the following software installed already.\n\n- Grafana\n\n- Prometheus\n\n### Installation\n\n- Edit the `User` field in `systemd/grovemonitoring.service` to your linux account\n\n- Edit the path to `app.py` in `ExecStart`\n\n- Install the systemd service to /etc/systemd/system/grovemonitoring.service\n\n\n```SHELL\n$ sudo cp systemd/grovemonitoring.service /etc/systemd/system/\n$ sudo systemctl daemon-reload\n$ sudo systemctl start grovemonitoring\n$ sudo systemctl status grovemonitoring\n$ sudo systemctl enable grovemonitoring  # Enable on boot\n```\n\n- Check the exported metrics at `localhost:8000`\n\n- Import the GroveMonitoring dashboard into your Grafana instance `13779`\nhttps://grafana.com/grafana/dashboards/13779\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwinter%2Fgrovemonitoring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkwinter%2Fgrovemonitoring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwinter%2Fgrovemonitoring/lists"}