I have a CyberPower rackmount UPS with their network management card connected. This UPS backs up my entire network stack (Router, PoE Switches, etc), 2 NAS devices, a separate PC etc.
I have been able to use the SNMP capability of the CyberPower network management card to have an orderly shutdown of devices connected to this UPS when power drops.
Hence, I don't currently have a NUT server deployed.
My Hubitat C-7 is being powered from a PoE switch connected to this UPS. Is there a driver available for CyberPower? I saw a different post about an APC driver, but I am assuming this won't work with CyberPower.
I really don't want to add a RaspPi just so that I can have a NUT server to do an orderly shutdown of the Hubitat device.
I have a couple of VMs running, and could (??) install the NUT server on a VM (or is this just for RaspPi?)
Ideally, I would like to not have another piece of software in the loop that I have to keep updated and all that.
NUT is a modular system comprised of discrete processes. There is the server (upsd), the driver for the UPS (snmp-ups in this case), and the local monitor (upsmon). The drivers talks to the server, as do the monitors, both local and remote.
If memory serves, QNAP (like Synology) uses the default/demo settings for NUT monitor access: username is "monuser" and password "secret"
some of the net cards support http or telnet (as long as it is not encrypted) a driver could be written the same way i wrote the apc one.. however i dont have one of these device.. if someone donates one with the card or ships one to me and pays return shipping i could easily write a driver.. save that it would be too hard to debug without a device.. Also looked at cost.. it is actually cheaper to get a used apc net ups with the card than cyberpower.. go figure.
ya but i cannot put my hubitat hub nor my whole network on a permanent vpn. too much stuff would stop working.. i guess if you give me a vpn and acess to your hub and the ups via vpn i could probably do something.. i would hate to be developing on your live hub however..
also can you test telnet via port 23 to the ups and see if it is working.
This isn't really what you were asking, but here's a thought on a quick / easy solution that Hubitat is already prepared to handle.
You could get a Ring Generation 2 repeater, pair it with Hubitat, and plug that into a wall plug somewhere close to the hub (direct connection, no intermediate hops so its in communication when the power goes out).
If the wall plug loses power, the Ring G2 Repeater switches to its internal battery so it continues to work but it will report the battery change to Hubitat via a change to its "powerSource" attribute.
Trigger your orderly shutdown event off of the repeater's switch to battery,
Its a cheap / easy solution with no need for any extra software, and you add a Z-wave 700 chip series repeater so it should also improve mesh strength.
in order for this to work the hub also has to be on battery back .. and normally you would not want to shutdown on every power fluctuation as some are very brief,, thus monitoring the ups for low runtime to shutdown is a much better solution.