Pre-built binary of the upsplus NUT driver for the UPSPlus HAT (EP-0136), for Raspberry Pi (64-bit/aarch64). Supports all UPS firmware versions.
Built with:
./configure --with-linux_i2c --with-statepath=/run/nut --sysconfdir=/etc/nut --with-user=nut --with-group=nut --with-pidpath=/run/nut
What's new since 2.4
- Fixed
upsdrv_shutdown()incorrectly telling the UPS not to restart on power-on; now behaves the same asshutdown.return - Fixed
sampleperiodwrites being silently dropped by firmware — now written as a single SMBus word transaction instead of two separate byte writes - Corrected the
sampleperioddescription text andupsdrv_help()text - Removed dead code and corrected code comments describing the I2C sampling model
Install
- Copy the binary into NUT's driver directory and make it executable:
sudo cp upsplus /usr/lib/nut/upsplus sudo chmod +x /usr/lib/nut/upsplus sudo chown nut:nut /usr/lib/nut/upsplus - Add a section to
/etc/nut/ups.conf:[upsplus] driver = upsplus port = /dev/i2c-1 - Make sure
/dev/i2c-1is readable/writable by thenutuser (e.g. addnutto thei2cgroup, orsudo chmod a+rw /dev/i2c-1). - Restart NUT:
sudo systemctl restart nut-server - Check it's running:
upsc upsplus
See upsplus.txt (the driver's man page) for the full list of supported ups.conf options.