I have an Energiya Smart.2 1000W UPS powering my server, but I can’t seem to configure it in TrueNAS because there are no drivers for it. Could you tell me how to set it up in TrueNAS so that the server shuts down when the battery is low?
truenas talks to ups boxes through nut, so random brands only work if they speak a protocol nut already knows
try doin this:
- plug the ups usb into the truenas box
- shell: lsusb
grab the vendor:product id line for the energiya - shell: nut-scanner -U
see which driver it picks (usbhid-ups / blazer_usb / nutdrv_qx show up a lot on these) - System → UPS → set that driver + the usb port nut-scanner printed, name it something like ups
- save, then: upsc ups@localhost
confirm battery.charge shows a number
if lsusb shows nothing, bad cable or it only has serial. paste the lsusb line + nut-scanner output if it comes back empty.
Does that UPS work with NUT? TrueNAS 25.10.7 has NUT version 2.8.0 currently
Thanks, I managed to find the right driver.
Is there any way to add a widget showing UPS data?
No, but you can install peanut as an app to visualize ups data