pi-battery-widget
nut
pi-battery-widget | nut | |
---|---|---|
1 | 192 | |
5 | 1,612 | |
- | 6.4% | |
5.8 | 9.9 | |
3 months ago | 4 days ago | |
C | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pi-battery-widget
-
We have created a way to have an external power-off button
We have created a full user manual on our GitHub site with instructions on you how to configure the Pi, and there is also example code for how to integrate it into your own software. But you can also just run our pi-battery-widget on your desktop GUI, which takes care of everything. Lots more info on our website news page for things like remote monitoring (code also on GitHub), and an assembly video on Youtube. Hope that helps!
nut
-
Tell HN: Laptop Runs Without Battery
> what software do you recommend for gnu/linux to take input from the UPS to tell the laptop to shutdown?
https://networkupstools.org/
- Network Ups Tools
-
UPS - USB not recognized
The Synology software is based on N.U.T. https://networkupstools.org and the Plus 1100 (listed on NUT as the Easy Power 1200) is supported in the native package with the 'blazer' driver. If you have the skills, I would SSH into the NAS and see if the device is 'noticed' or better yet recognised by the USB sub-system when you plug it it. (Normal Linux would use the lsusb command to see devices but I have no NAS handy to see if this is valid on the Synology)
- I have to Restart my UDM SE every 2 days 😞
- Choosing the Best UPS : Comparing APC Back-UPS Pro 1500 vs. APC Smart-UPS
-
What UPS are you using?
Others have answered the hardware part of your question. I have not seen much mention about the software to control graceful shutdowns. For this I suggest you look at the ”Network UPS Tool” (NUT for short) project (https://networkupstools.org/). It is mostly manufacturer agnostic with clients for a vast array of hardware components.
-
Power outage automation
You're looking for NUT.
-
APC Smart Connect
Network UPS Tools is one option: https://networkupstools.org/
-
PSA: APC has updated it's terms for the PowerChute management software. It now requires a licence
APC is giving me pre-nut clarity.
-
Cyberpower UPS issue
So no, the NAS does not monitor the battery level. The UPS does that. The NAS just acts on the messages it receives from the UPS via Synology's version of NUT - Network UPS Tools (https://networkupstools.org/). The NAS will first receive the ON_BATTERY/POWERFAIL signal. Then, eventually the BATTERY_LOW signal at which time the UPS will shutdown. So you really need to set a time for it to shut down *BEFORE* you get BATTERY_LOW.
What are some alternatives?
RedReactor - Sample code for the Raspberry Pi Red Reactor UPS and technical documentation
prtg-ups-monitor - Network monitoring via PRTG for non-networked UPS battery backups.
Clight - A C daemon that turns your webcam into a light sensor. It will adjust screen backlight based on ambient brightness.
MagicMirror - MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
osx_battery_charge_limit - Intel-only Macbook (OSX) limit maximum battery charge using SMC
webNUT - Web interface for Network UPS Tools servers.
smbusb - USB SMBus Interface
snmp_exporter - SNMP Exporter for Prometheus
xsuspender - :eyes: :computer: :zzz: :battery: Save battery by auto-suspending unfocused X11 applications.
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
webNUT - Web interface for Network UPS Tools servers.
homebridge - HomeKit support for the impatient.