1. Forum
    1. Rated threads
    2. Latest Posts
    3. Unresolved Threads
  2. Members
    1. Users Online
    2. Recent Activities
    3. Search Members
    4. Staff
  3. Tools
    1. Tutorials
    2. Community Benefits
    3. Docker Run > Compose
    4. compatibility list
    5. Marketplace
    6. RAID-Rebuilt Calculator
    7. RAID-Calculator
    8. Retro Ping-Pong
    9. Signature Generator
    10. S.M.A.R.T Analyser
    11. Electricity cost calculator
    12. UPS-Calculator
    13. Improve UGOS Pro
  4. Filebase
  5. Articles
  6. Blog
    1. Articles
  • Login
  • Register
  • Search
Skripte & Automatisierung
  • Everywhere
  • Skripte & Automatisierung
  • Articles
  • Pages
  • Forum
  • Files
  • Blog Articles
  • More Options
  1. UGREEN.FORUM - DACH Community
  2. Filebase
  3. Skripte & Automatisierung

USVWatch - USV-Status Benachrichtigung per E-Mail

  • RomanG
  • February 10, 2026 at 11:43 PM
  • 17 Downloads
  • 0 Comments
  • Download
  • Overview
  • Versions 3

Ich habe ein kleines Community-Paket gebaut, das den USV-Status deines UGREEN NAS überwacht und dich per E-Mail benachrichtigt, sobald die USV z.B. einen Stromausfall (Batteriebetrieb) erkennt.

Download: ZIP aus diesem Beitrag laden
nach /volume1/docker/usvwatch kopieren
usvwatch.env anpassen (SMTP, Empfänger, Sprache DE/EN)
Cron “Minute-Guard” aktivieren (empfohlen)
Fertig

Features

  • E-Mail Alarm bei Stromausfall (USV wechselt auf Batterie / OB)
  • E-Mail sobald Netzstrom wieder da ist (OL)
  • Alarm bei Batterie kritisch (LB)
  • Schwellwerte für Akkuladung und Restlaufzeit (optional, inkl. Re-Send/Spam-Schutz)
  • HTML-Mail (Outlook-freundlich): Kurzstatus + optional vollständige NUT Variablenliste
  • Sprache per ENV umschaltbar: Deutsch oder Englisch
  • Kein apt nötig: nutzt nur Python (bereits in UGOS vorhanden) + Standardbibliothek
  • Robuster Autostart über Cron “Minute-Guard” (UGOS Cron @reboot ist oft zickig)

Test / Selbsttest

  • Status anzeigen: python3 /volume1/docker/usvwatch/usvwatch.py --print-status
  • Test-Mail senden: python3 /volume1/docker/usvwatch/usvwatch.py --test-mail

Handbuch (DE/EN) liegt im Paket bei (mit Screenshots + Schritt-für-Schritt).

Wenn ihr Feedback habt gerne hier drunter posten. :)

Files

USVWatchv1DE.jpg 109.28 kB – 0 Downloads USVWatchv1DE2.jpg 108.83 kB – 0 Downloads
  • Community
  • Docker
  • Stromausfall
  • Batterie
  • Stack
  • USV
  • Benachrichtigungen
  • E-Mail
  • USVWatch
  • USV-Status
  • Batteriebetrieb
  • Version 2.0.1

    • RomanG
    • March 6, 2026 at 11:02 PM
    • 558.24 kB
    • 4 Downloads

    Änderungen

    • usvwatch-loop.sh weiter überarbeitet
    • Stop-/Restart-Verhalten robuster gemacht
    • Hintergrundstart des Loop-Prozesses verbessert
    • PID-Handling weiter abgesichert
    • Verhalten im Zusammenspiel mit Cron stabilisiert
  • Version 2

    • RomanG
    • March 6, 2026 at 8:09 PM
    • 557.87 kB
    • 1 Download

    Änderungen

    • README komplett überarbeitet
    • Projektstruktur und GitHub-Pfade korrigiert
    • Quickstart und CLI-Beispiele aktualisiert
    • ENV-Dokumentation an das aktuelle Skript angepasst
    • Fehler bei ./usvwatch-loop.sh restart behoben
    • Loop-Skript und PID-Handling verbessert
  • Version 1.0.0

    • RomanG
    • February 10, 2026 at 11:43 PM
    • 557.61 kB
    • 12 Downloads

File Details

License Agreement
Freie Verwendung

More Files by RomanG

  • Schulmanager Homework Watcher

    RomanG
    March 4, 2026 at 9:01 PM
  • RAIDWatch – RAID & Storage Monitoring für UGREEN NAS (UGOS Pro)

    RomanG
    February 8, 2026 at 12:16 PM
  • Jellyfin + SWAG + EasyEPG + Telerising – DockerPack für UGREEN NAS

    RomanG
    February 1, 2026 at 11:05 PM
  • Emby + SWAG + EasyEPG + Telerising – DockerPack für UGREEN NAS

    RomanG
    January 28, 2026 at 10:19 PM
  • EmbyConvert für UGREEN DXP – Docker Compose + Scripts | QSV HEVC + Mail-Report

    RomanG
    January 22, 2026 at 3:13 PM
All Files
  1. COMMUNITY
    1. Tutorials
    2. Benefits
    3. Compatibility list
    4. Marketplace
    5. Milestones
    6. Retro Ping-Pong
    7. Signature Generator
    8. Improve UGOS Pro
  2. TOOLS
    1. Docker Run > Compose
    2. RAID-Rebuild Calculator
    3. RAID-Calculator
    4. S.M.A.R.T Analyser
    5. Electricity cost calculator
    6. UPS-Calculator
  3. SUPPORT & PARTICIPATION
    1. Questions & Answers
    2. Contact
    3. Support
  4. RULES & LEGAL MATTERS
    1. Privacy Policy
    2. Legal Notice
    3. Terms of Use
    4. Community rules
ugreen-forum.de ist eine unabhängige Community und steht in keinerlei Verbindung zur UGREEN Group Limited. Alle Marken sind Eigentum der jeweiligen Inhaber.
Powered by WoltLab Suite™