NUT server configuration problem

So, do anybody know how to configure Raspberry Pi 4 with installed HassOS to be NUT server, which can be then used in NAS (NUT client) and other windows OS (WinNUT client) etc…

The problem is, that I can (and is working) to set NUT client protocol under Home Assistant when NUT server is QNAP NAS.
slika

But the goal is that QNAP NAS would be client, and Home Assistant would be server (master).

I tried to install:

Also of course I pluged USB from NAS to RP4 but the settings was not correct.
I also checked via PuTTY with command “lsusb” device/product ID.

So, is there any special configuration so that this would start working or I’m missing something.

After the NUT server would work I will add NUT sensors, but firstly the problem is that NUT server do not find device (PowerWalker VFI 3000 TGB, which is PPC USB HID device).

Thank you for your help…

This add-on is a nut client and not a server.

Yea, I figer that out… I will try to use UPS with SNMP protocol.

Why won’t you use Qnap as a server?

That was my configuration unitl now. But the real problem is what happens on power fail.
Let say that my UPS hold on for 2 hours, and that my NAS go to auto-protection mode after 1 hours of power fail, in that case I lost communication with NUT server, because the NUT server (QNAP NAS) do not work anymore…
So in that case I can not control events neither on RP4, neither on other Windows PC etc…

So the goal is that all devices get UPS status directly from UPS, so that I can set that let’s say QNAP NAS go to auto-protection mode in 1 hours, Windows PC go to hibernate if there is only 5% battery left in UPS and so on… But on current configuration that is not possible…

Just an idea, maybe your router can server as a nut server? That’s how I’ve done it in my setup.

Anyway, I don’t think you can do it with this add-on. You would probably need to do it directly on hassos, which I don’t know well.

Yes, I know, that was my first idea… but now I abandon it…

I will do on the way, that I will read sensor data via SNMP OID sensor protocol and extract received value… That is probably the only correct way.

Regarding router - I’m using EdgeRouter ER-4, so not so easy to configure… But probably it would work, but now I already ordered Mini NMP UPS card, so why not to use it :slight_smile: