{"id":25720314,"url":"https://github.com/seb1k/nut-ntfy","last_synced_at":"2026-05-13T22:33:45.572Z","repository":{"id":231455108,"uuid":"781783820","full_name":"seb1k/nut-ntfy","owner":"seb1k","description":"Send ntfy notification when your UPS is disconnected","archived":false,"fork":false,"pushed_at":"2025-11-13T23:53:34.000Z","size":53,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-14T01:16:48.767Z","etag":null,"topics":["ntfy","nut"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/seb1k.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":"2024-04-04T03:02:07.000Z","updated_at":"2025-11-13T23:53:38.000Z","dependencies_parsed_at":"2024-04-04T04:23:43.618Z","dependency_job_id":"09557ed4-31a9-4f26-a66e-7d4bfb5a406c","html_url":"https://github.com/seb1k/nut-ntfy","commit_stats":null,"previous_names":["seb1k/nut-ntfy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seb1k/nut-ntfy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb1k%2Fnut-ntfy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb1k%2Fnut-ntfy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb1k%2Fnut-ntfy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb1k%2Fnut-ntfy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seb1k","download_url":"https://codeload.github.com/seb1k/nut-ntfy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seb1k%2Fnut-ntfy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33002718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["ntfy","nut"],"created_at":"2025-02-25T17:39:45.615Z","updated_at":"2026-05-13T22:33:45.567Z","avatar_url":"https://github.com/seb1k.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nut-ntfy\nSend ntfy notification when your UPS is disconnected - and reconnected\n\n![screenshot](nut_ntfy.png)\n\nThe script is tested on an EATON UPS\n\n/etc/ups.conf :\n```console\n[EATON]\ndriver = usbhid-ups\nport = auto\ndesc = \"EATON usb driver\"\n```\n\n\n## 1 - Install\nCopy the file send_ntfy to /etc/nut/\n\nSet the permission on the file :\n```console\nchown root:nut /etc/nut/send_ntfy\nchmod 774 /etc/nut/send_ntfy\n ```\n\n## 2 - Configure\nEdit the file /etc/nut/upsmon.conf and set the script location to NOTIFYCMD line\n\nNOTIFYCMD \"/etc/nut/send_ntfy\"\n\nEdit the file /etc/nut/send_ntfy\n\n- Line 3 : replace line YOUR_NTFY_TOPIC by your ntfy.sh topic\n- Line 4 : Add your UPS name on : UPS_name=\"YOUR_UPS_NAME\" (You can find it with \"upsc -l\")\n\n\n\n## 3 - Test\nSend a test message to your ntfy.sh topic with this command\n```console\n /etc/nut/send_ntfy test\n```\n\n## 4 - modify script\nBy default, the script will send a notification when the UPS reaches the % below, change as you wish !\n```console\nalert_at=(25 50 75 85 90 95 98)\n```\n\n## 4 - Star me :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseb1k%2Fnut-ntfy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseb1k%2Fnut-ntfy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseb1k%2Fnut-ntfy/lists"}