r/Linux_SriLanka • u/Electrical_Storm8405 • 2h ago
Promotions ProBlink: a GNOME panel indicator and NUT setup for ProLink USB UPSes
I have a ProLink PRO2000SFCU (2 kVA) UPS, and ProLink's own Linux software (ViewPower) kept crashing on my PC. So I vibe coded a replacement with Claude (Claude Code). The result is ProBlink:
https://github.com/pathum1/ProBlink
What it does:
- Sets up Network UPS Tools (NUT) for ProLink USB UPSes with one installer script. NUT reads the UPS and shuts the PC down cleanly when the battery runs low.
- Adds a GNOME top-panel indicator that shows battery charge, load and voltage.
- A plug icon on mains power, and a battery icon on battery power.
- The icon blinks during a power cut. The indicator turns amber when the battery is low and red when it's critical.
- Notifications when the power goes off, comes back, or the battery runs low.
- A dropdown with a charge bar and all the values: battery voltage, input and output voltage, frequency, and load.
- A settings window: how often it updates, which values the panel shows, the warning levels and their colours, when the icon blinks, and the panel position. You can also point it at a NUT server on another machine.
- A watchdog. The USB chip in these UPSes sometimes stops answering. The watchdog notices within a minute, resets the UPS on USB and restarts the driver, so there's no unplugging and replugging.
Requirements
- A Linux distro with systemd. The installer supports Arch-based distros, Debian/Ubuntu, Fedora and openSUSE.
- GNOME Shell 46 to 51, for the panel indicator.
- A UPS that shows 0665:5161 in lsusb. Most ProLink and other Voltronic-based units use this chip.
Tested only on a ProLink PRO2000SFCU, on CachyOS with GNOME 51 and NUT 2.8.5. Reports from other models are very welcome, whether it works or not.
Who it's for: anyone with a ProLink or similar UPS on Linux who wants a working, reliable setup instead of ViewPower, plus a clean way to watch the UPS from the desktop.
About how it was made: this was vibe coded. I described what I wanted, and Claude did the work. It dug into the NUT driver and protocol, wrote the extension, the settings window and the installer, and debugged the USB freezes along the way. I tested everything on my own hardware. It's GPL-2.0, so issues and pull requests are welcome.


