# Mains Power Monitor

Mains Power Monitor is an Unraid plugin for servers whose uninterruptible power supply (UPS) cannot report outages directly, detecting mains-powered network-path loss by pinging a non-UPS-backed device, triggering. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4301/mains-power-monitor

## Description

Mains Power Monitor is an Unraid plugin for servers whose uninterruptible power supply (UPS) cannot report outages directly, detecting mains-powered network-path loss by pinging a non-UPS-backed device, triggering clean shutdown after repeated failures, and sending a recovery notification when connectivity returns.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

42/100 (Fair), based on 3 of 4 factors.
- Maintained: 77 (last commit 56 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- GitHub: https://github.com/RayMunro/unraid-mains-power-monitor
- Unraid: https://ca.unraid.net/apps/mains-power-monitor-1c0r2dh136o2ux?q=Mains%20Power%20Monitor

## Common questions

### Can a failed or rebooting ping target trigger a shutdown?

Yes. A reboot, failure, cabling problem, or other loss of the non-UPS-backed device or its network path can look like a mains outage and trigger the configured clean shutdown.

### If Unraid is already off when power returns, can it report the exact restoration time?

No. If Unraid is powered off when mains returns, the exact restoration time cannot be observed.

### Can it be used when the UPS cannot report outages directly?

Yes. It pings a non-UPS-backed, mains-powered network device instead of relying on direct UPS reporting.

---
Source: Our Local Host (https://ourlocalhost.com/app/4301/mains-power-monitor), the self-hosted and open-source app directory.
