{"id":19365809,"url":"https://github.com/xermicus/weatherstation","last_synced_at":"2026-06-09T20:31:08.231Z","repository":{"id":86638019,"uuid":"284725255","full_name":"xermicus/weatherstation","owner":"xermicus","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-15T18:43:50.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T13:23:40.592Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xermicus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-03T14:40:46.000Z","updated_at":"2020-08-15T18:43:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d1b36fa-68c9-48c3-ac80-8f416f4437b3","html_url":"https://github.com/xermicus/weatherstation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xermicus/weatherstation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xermicus%2Fweatherstation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xermicus%2Fweatherstation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xermicus%2Fweatherstation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xermicus%2Fweatherstation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xermicus","download_url":"https://codeload.github.com/xermicus/weatherstation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xermicus%2Fweatherstation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34125332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-10T07:42:31.855Z","updated_at":"2026-06-09T20:31:08.213Z","avatar_url":"https://github.com/xermicus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Weather station\nMonitoring temperature and humidity indoors and outdoors at home. For fun and also reviving some old and no longer used Raspberry Pi Models 1 \u0026 2.\n\nSuper simple setup using a couple Raspberry Pis and prometheus + grafana inside a [k3s](https://k3s.io/) node.\n\n# How to use this\n* Install the script found in the `probe` directory together with a [compatible sensor](https://learn.adafruit.com/dht/overview) on your Raspberry Pi devices.\n* Install a `k3s` cluster somewhere (this can be one of your sensor probe Pi if you are using Model 2B or newer since `k3s` is super lightweight) using the official install script\n* Adjust the scrape target configuration inside `manifests/prometheus.yaml` to match your network/device configuration\n* Copy over the files from the `manifests` directory to `/var/lib/rancher/k3s/server/manifests`. This will automatically deploy prometheus and grafana\n* Set your `/etc/hosts` file or DNS to point `weather.station`  to your cluster node IP address\n* Grab the grafana admin password from the grafana installer pod logs (this pod should be in `completed` state in the `kube-system` namespace)\n* Add `http://probes-prometheus-server` as log source\n* Build your dashboards \\o/ Or if you are lazy enough just import `dashboard-weather.json`\n\n# Installing k3s with UFW\nTaken from [this issue](https://github.com/rancher/k3s/issues/1280). If `k3s` fails to bootstrap itself while spitting weird network errors into `journalctl -u k3s`:\n```\nsudo ufw allow from 10.42.0.0/16 to any\nsudo ufw allow from 10.43.0.0/16 to any\n```\n\n# End Result\n![](hardware.jpg)\n\n![](dashboard.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxermicus%2Fweatherstation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxermicus%2Fweatherstation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxermicus%2Fweatherstation/lists"}