Add-on request: Network UPS Tool (NUT)

Hi @GaryK try this bad boy

https://hub.docker.com/r/instantlinux/nut-upsd/

Thanks, but a bit over my head :grimacing:

Have you got a running container for this image?

If so, could you post up a good docker-compose.yaml and configuration files?

I’ve been banging my head against a wall trying to get this running. I’m was making progress and it’s been frustratingly slow but I think I’ve hit a wall. Google hasn’t offered any additional solutions, either.

Any help would be appreciated.

wont run for me, complained abount secrets, so i figured that out, and now complaining about not being able to create a ups.conf file

Is there a repository which contains this add on? The repository linked in that page does not have it anymore

edit: I found it! It’s in the experimental repository https://github.com/hassio-addons/repository-edge

sorry for briging an old thread.
I’m not sure I understand how it works, do I own a https://www.cyberpowersystems.com/product/ups/intelligent-lcd/brg1500avrlcd/
the network input output doesn’t seem to be for communication, only the serial and usb, I need to connect the usb directly in my raspberry pie?

You need to connect the UPS via USB to whatever is running your NUT server. I was never able to get the HA add-on to work, so I setup the NUT server on a separate raspberry pi that I have running PiHole. From there, I just run the NUT integration from HA (not to be confused with the NUT add-on which is the server) which acts as a client and connects to the NUT server.

Hello @menekis @shred,

i have some trouble too and i am on Hassio / HassOS,

i solved the problem by just expose the port 3493 in HAssio AddOn :

port 3493

Here is my config YAML:

  - platform: nut
    name: CP1500
    host: 192.168.1.xx
    port: 3493
    alias: CP1500
    username: xxxxxxxxxxxx
    password: xxxxxxxxxxxxxxxxxx
    resources:
      - ups.status.display
      - ups.load
      - ups.realpower.nominal
      - input.voltage
      - battery.charge
      - battery.runtime    

Here is my config of the AddOn :

users:
  - username: xxxxxxxxxxxxxxx
    password: xxxxxxxxxxxxxxxxxxxxx
    instcmds:
      - all
    actions: []
devices:
  - name: CP1500
    driver: usbhid-ups
    port: auto
    config: []
mode: netserver
shutdown_host: 'false'
list_usb_devices: 'true'

Hope it can help others!

:wink:

3 Likes

Thank you so much - this helped me as well

1 Like

Does anyone know where I can find the list of supported monitored conditions?

I set up the sensor but I only get 4 sensors (charge status, runtime, battery voltage & input voltage) even tho the add-on lists a lot more than that and I’ve selected a bunch of those.

I don’t know if I’m doing something wrong or if those are the only available things to monitor.

I’ve got a Cyberpower CP1500AVRLCDa UPS.

hello,

here you have the list of available variables for your CP1500 in NUT integration of HA :

https://networkupstools.org/ddl/Cyber_Power_Systems/CP1000AVRLCD.html

:wink:

you have to add them under “ressources:” take a look of my config POST #14

1 Like

Thanks for that info.

looks like it was me. I had some things selected that weren’t available and other options that I didn’t select that were similar.

yes, some variable are unavailable now in HA, dont know why…

Thats happened with 0.107 or 0.108…another “breaking change” lol

Could you possibly just clarify the steps for me to access a UPS Network Management Card 2 (9630) on a Smart-UPS SMX1500 using NUTS? Trying to get my head around the whole process as I’m new to this. I’m using Hassio and from what I understand, this is the process.

  1. Install NUT add-on which acts as a NUT server and connects to the remote UPS (can’t get the server to run for some reason).
  2. Install NUT integration and connect to NUT add-on (server).

Are there any steps I need to take onboard the UPS itself for access and what is the advantage of going this route vs just setting up SNMP sensors like this thread?

@shred - I am in the same boat as @xbmcnut - I have two (2) x SMX 1500 connected on the same network using the UPS Network Management Card 2 - and the add on is not even starting.

Could you please guide us ?

Much easier just to add this as a package. Works very well indeed without all the hassle.

thank you @xbmcnut - I will take a look.

Hi everyone, I recently purchased a CyberPower CP1300PFCLCD (europe version) and I see it not completely compatible in the Nut list. Does anyone have it and can retrieve battery data using NUT addon and NUT integration on Home Assistant? I use HA Supervised on a Proxmox VM, had only to check if the usb port passtrhough is working but I had no problem with an APC ups so I suppose the usb connection is working, maybe I’ll give a try connecting to the PC first. Any help appreciated.

Hello,

sorry for the late reply,

i have 3 CP1500AVRLCD and it work like a charm :wink:

One is pluged on HA server (a Pi4), another on my NAS with OMV5 (Pi4) and the last one is pluged on a RPi0W.

The AddOn is only for the one pluged on HA. For some slaves, you need to install NUT.

Nevermind, after some search and try I managed to have my ups (the 1300va version) working with Nut addon on my HA running in a proxmox ct, it was enough to add the usb port to the vm and then all the entities were visible. Thank you for your reply.

1 Like