{"id":19362409,"url":"https://github.com/alancunningham/rain-notifier","last_synced_at":"2026-05-20T07:40:13.109Z","repository":{"id":89430875,"uuid":"519752840","full_name":"AlanCunningham/rain-notifier","owner":"AlanCunningham","description":"Sends you a notification if it's going to rain in the next few minutes.","archived":false,"fork":false,"pushed_at":"2023-04-20T12:38:12.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T07:52:56.227Z","etag":null,"topics":["apprise","darksky","darksky-api","notifications","pirate-weather","pirateweather-api","python","python-3","python3","raspberry-pi","raspberrypi","weather"],"latest_commit_sha":null,"homepage":"","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/AlanCunningham.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":"2022-07-31T11:09:47.000Z","updated_at":"2023-04-20T12:36:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"13d96526-711f-461d-a8a4-1a3aa020b5fe","html_url":"https://github.com/AlanCunningham/rain-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlanCunningham/rain-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCunningham%2Frain-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCunningham%2Frain-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCunningham%2Frain-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCunningham%2Frain-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCunningham","download_url":"https://codeload.github.com/AlanCunningham/rain-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCunningham%2Frain-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33250375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apprise","darksky","darksky-api","notifications","pirate-weather","pirateweather-api","python","python-3","python3","raspberry-pi","raspberrypi","weather"],"created_at":"2024-11-10T07:28:16.535Z","updated_at":"2026-05-20T07:40:13.091Z","avatar_url":"https://github.com/AlanCunningham.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rain Notifier\n\nFrequently checks the weather and sends a notification to your favourite\nservices [(using Apprise](https://github.com/caronc/apprise)) when it's about to start\nraining.\n\n![rain_1](https://user-images.githubusercontent.com/9663408/194845544-17292f9b-a71f-4780-9ee6-ae1fc97f36df.jpg)\n\n☔ **This project requires a [Pirate Weather](https://docs.pirateweather.net/en/latest/) developer account.**\n\n## Hardware\n- Personally, I have this running on a Raspberry Pi (any model should do)\n\n## Installation\n- Create a python3 virtual environment and install the project's requirements:\n```\n$ python3 -m venv rain_notifier_venv\n$ source rain_notifier_venv/bin/activate\n(rain_notifier_venv) $ pip install -r requirements.txt\n```\n- Open settings.py and enter your:\n  - Your Pirate Weather API key\n  - Latitude\n  - Longitude\n  - Preferred units of measurement\n\nUnits of measurement options, from the old Dark Sky docs:\n``` \nauto: automatically select units based on geographic location\nca: same as si, except that windSpeed is in kilometers per hour\nuk2: same as si, except that nearestStormDistance and visibility are in miles and windSpeed is in miles per hour\nus: Imperial units (the default)\nsi: SI units\n```\n- Also in settings.py, enter where you want your notifications to be sent. See\n[Apprise's github page](https://github.com/caronc/apprise) for examples. An\nexample for Telegram and Discord would look something like this:\n```\n# The list of services to notify\napprise_services = [\n    \"tgram://bottoken/ChatID\",\n    \"discord://webhook_id/webhook_token\",\n]\n```\n- You should now be able to start the program:\n```\n(rain_notifier_venv) $ python main.py\n```\n\n# Checking for rain\nBy default, the program checks for rain every 10 minutes.  If rain is predicted to start in the next 10-12 minutes, a notification is sent to the list of Apprise services.\n\nIt'll look something like this:\n\u003e **Rain starting in 11 minutes**\n\u003e\n\u003e Duration: 8 minutes\n\u003e\n\u003e Probability: 27% chance\n\u003e\n\u003e ![rain_2](https://user-images.githubusercontent.com/9663408/194845711-3d8f5795-de5b-47f1-91ef-3b5280b94127.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancunningham%2Frain-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancunningham%2Frain-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancunningham%2Frain-notifier/lists"}