Skip to content

Releases: cankirca/upsentry

UPSentry v1.0.0 — first release ⚡

Choose a tag to compare

@cankirca cankirca released this 03 Jun 18:02

The first public release of UPSentry — a power-outage watchdog for Raspberry Pi and any NUT-enabled UPS.

Highlights

  • 📱 Instant alerts on power loss / restore / low battery via pluggable notifiers: NetGSM SMS, Telegram, generic webhook (ntfy, Slack, Discord, Home Assistant…)
  • 📊 Outage analytics — every event recorded; upsentry stats shows count, total, average and longest downtime
  • 🤖 AI-session protection — warns tmux panes running an AI coding agent to save their state before shutdown
  • 💾 Graceful shutdown with tmux-resurrect / window-map snapshot
  • 🌍 Message templates in any language ({date}, {duration}, {ups})
  • 🔐 Root-only config, nothing world-readable

Install

git clone https://github.com/cankirca/upsentry.git
cd upsentry
sudo ./install.sh

Works with any NUT master: ASUSTOR, Synology, QNAP, TrueNAS or any Linux box running nut-server.

Measured in a real outage: ~4 seconds from power loss detection to SMS dispatch.