{"id":16168154,"url":"https://github.com/zachorr/rpi_prowl_apcupsd","last_synced_at":"2025-04-07T06:18:38.213Z","repository":{"id":150264772,"uuid":"118057754","full_name":"ZachOrr/rpi_prowl_apcupsd","owner":"ZachOrr","description":"Code to send me a push notification with Prowl to tell me the status of my UPS via apcupsd","archived":false,"fork":false,"pushed_at":"2023-09-21T13:26:21.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T10:25:27.011Z","etag":null,"topics":["apcupsd","prowl","prowl-notifications","python","python2","ups"],"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/ZachOrr.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":"2018-01-19T01:03:14.000Z","updated_at":"2023-01-15T11:36:44.000Z","dependencies_parsed_at":"2024-10-10T03:20:51.053Z","dependency_job_id":null,"html_url":"https://github.com/ZachOrr/rpi_prowl_apcupsd","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/ZachOrr%2Frpi_prowl_apcupsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachOrr%2Frpi_prowl_apcupsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachOrr%2Frpi_prowl_apcupsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZachOrr%2Frpi_prowl_apcupsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZachOrr","download_url":"https://codeload.github.com/ZachOrr/rpi_prowl_apcupsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964866,"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":["apcupsd","prowl","prowl-notifications","python","python2","ups"],"created_at":"2024-10-10T03:10:39.308Z","updated_at":"2025-04-07T06:18:38.182Z","avatar_url":"https://github.com/ZachOrr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APC Monitoring on Raspberry Pi with Prowl\n\nA few scrips I use to monitor the status of my APC Back-UPS RS1000G with a Raspberry Pi. I use [Prowl](https://www.prowlapp.com/) to send notifications to my phone to alert me of changes\n\n![](https://github.com/ZachOrr/rpi_prowl_apcupsd/blob/master/demo.jpg)\n\n## Setup\n \nEnsure Python is installed on your Raspberry Pi. Setup `apcupsd` on your Raspberry Pi [following these instructions](http://www.anites.com/2013/09/monitoring-ups.html). \n\nClone and install `prowlpy` to use on your system\n\n```\n$ git clone https://github.com/jacobb/prowlpy\n$ cd prowlpy\n$ sudo python setup.py install\n```\n\nClone and install `rpi_prowl_apcupsd` on your Pi\n\n```\n$ git clone https://github.com/ZachOrr/rpi_prowl_apcupsd.git\n$ cd rpi_prowl_apcupsd\n$ sudo python install.py\n```\n\nModify `apcupsd.service` to setup environment variables with your Prowl API key\n\n```\n$ sudo nano /lib/systemd/system/apcupsd.service\n\n[Unit]\nDescription=UPS power management daemon\nDocumentation=man:apcupsd(8)\n\n[Service]\nEnvironment='PROWL_API={YOUR_KEY_HERE}'\nExecStartPre=/lib/apcupsd/prestart\nExecStart=/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf\nType=forking\nKillMode=process\nPIDFile=/var/run/apcupsd.pid\n\n[Install]\nWantedBy=multi-user.target\n```\n\nReload `systemctl` and restart `apcupsd.service`\n\n```\n$ sudo systemctl daemon-reload\n$ sudo systemctl restart apcupsd.service\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachorr%2Frpi_prowl_apcupsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachorr%2Frpi_prowl_apcupsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachorr%2Frpi_prowl_apcupsd/lists"}