Running the NUT add-on as server on my HA MiniPC and have it connected via the Usb cable to my APC UPS.
The NUT integration on the same HA MiniPC is watching the device, and provides many sensors regarding its state.
My hope (havent yet tested it) is that the APC UPS will prevent the MiniPC running HA (and the add-on obviously) from halting in case of a power outage.
I will connect the Synology Nas to the backups power outlets, just like the MiniPC and a few other critical devices.
Above topology makes it impossible to connect the UPS usb to the NAS, it has only 1 outlet for that. (And I can’t run NUT on the Synology, because my Synology goes asleep during the night)
I was told I can still connect the NUT (integration or add-n?) to the NAS to make sure it powers down in case of a depleting battery, but I cant find anything official regarding that option.
The NUT server add-on will cleanly shut down HA when the UPS battery is nearly depleted during a power outage. It can send shutdown commands to other networked devices connected to the UPS power if they can run a NUT client
I have a similar requirement I want to cleanly shut down my NVR and NAS (separate devices also powered by the UPS) by receiving the shutdown command over the network from the NUT server add-on.
I managed to get a Windows PC NUT client to connect to the add-on as a test but that is no use as it is not powered by the UPS.
you mean that the UPS doesnt provide a constant power to the MIniPC in case of a power outage (to the UPS feed). it’s the sole reason I bought the thing, so if that wont work, I need to send it back asap…
is this configured in the Add-on ? I had it auto configured practically, but now see this shutdown host!
I wonder how that executes, when the host is actually hosting the add-on too
The other commands you talk about are also configured here I take it then?
completely forgot about that one yes, it would also be powered via the UPS, I wouldnt know the shutdown command though. this UPS stuff is all new to me.
Dream machine Pro here.
Of course it does. That’s what a UPS do. But it won’t prevent it halting once the battery power is used up. It will actually cause it to halt (cleanly).
It is the last to shutdown after issuing the command to the other connected clients.
You don’t need to know the shutdown command. You install the NUT clinet on the device, connect it to the NUT server (add-on) and let it take care of everything.
Follow jeff’s article about installing NUT clients.
check, Ill go look for that on the Dream machine, thanks for the pointers Tom
seems many people before did though, and no NUT client can be setup on the DreamMachine
only some external scripting and I wont go there for now,