Integrating Eaton Ellipse 1600 PRO USB with NUT

Hello, I’m struggling to have my Eaton UPS connected to Home Assistant. The UPS is USB only and connected to the PC running Home Assistant as a VM in VMWare Workstation. I’m using Eaton Intelligent Power Monitor to control the UPS and it works perfectly. Now I’d like to get alerted on power outages with HA. I installed NUT add-on but I don’t see what the next step is. How can I make HA request the IPM daemon running on my computer to get the status of the UPS ?

Now install the NUT integration via the UI. This will connect to the addon and make it available in home assistant.

Hi Tom, thank you for your reply.
I installed the NUT integration. Here are the parameters
Network UPS/Options
Devices
config: []
driver: usbhid-ups
name: myups
port: auto

Mode : netserver is selected, netclient is blank

Users

  • actions: []
    instcmds:
    • all
      password: ******
      username: ups

I started the service and it seems to start with hostname a0d7b954-nut. I see a green light at the top right of the screen. When I go back to dashboard and try to add integration, I provide this hostname in the connection window, letting the default port 3493 and giving the username and password I defined before, but the connection fails.

Here are the logs from Network UPS tool :

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------

  • Add-on: Network UPS Tools*
  • Manage battery backup (UPS) devices*
    -----------------------------------------------------------
  • Add-on version: 0.11.0*
  • You are running the latest version of this add-on.*
  • System: Home Assistant OS 8.2 (amd64 / qemux86-64)*
  • Home Assistant Core: 2022.7.0*
  • Home Assistant Supervisor: 2022.07.0*
    -----------------------------------------------------------
  • Please, share the above information when looking for help*
  • or support in, e.g., GitHub, forums or the Discord chat.*
    -----------------------------------------------------------
    cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
    cont-init: info: running /etc/cont-init.d/01-log-level.sh
    cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
    cont-init: info: running /etc/cont-init.d/02-set-timezone.sh
    [18:10:23] INFO: Configuring timezone
    cont-init: info: /etc/cont-init.d/02-set-timezone.sh exited 0
    cont-init: info: running /etc/cont-init.d/nut.sh
    [18:10:23] INFO: Setting mode to netserver…
    [18:10:23] INFO: Generating /etc/nut/upsd.users…
    [18:10:23] INFO: Configuring user: ups
    [18:10:23] INFO: Password is NOT in the Have I Been Pwned database! Nice!
    [18:10:24] INFO: Configuring Device named myups…
    [18:10:24] INFO: Starting the UPS drivers…
    Network UPS Tools - Generic HID driver 0.41 (2.7.4)
    USB communication driver 0.33
    No matching HID UPS found
    Driver failed to start (exit status=1)
    Network UPS Tools - UPS driver controller 2.7.4
    cont-init: info: /etc/cont-init.d/nut.sh exited 1
    cont-init: info: running /etc/cont-init.d/nutclient.sh
    cont-init: info: /etc/cont-init.d/nutclient.sh exited 0
    cont-init: warning: some scripts exited nonzero
    s6-rc: warning: unable to start service legacy-cont-init: command exited 1
    /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
    /run/s6/basedir/scripts/rc.init: fatal: stopping the container.
    s6-rc: info: service fix-attrs: stopping
    s6-rc: info: service fix-attrs successfully stopped
    s6-rc: info: service s6rc-oneshot-runner: stopping
    s6-rc: info: service s6rc-oneshot-runner successfully stopped

It looks like the service is stopped. I don’t see anywhere in the parameters where I could plug the IP address and the listening port of the IMP server (it’s running on the host machine supporting the UA VM). Maybe in the “Devices” section ? Again, this UPS is USB only and is controlled by the IPM tool which I can access on https://192.168.0.1:4680/

Thank you for your help.

The NUT addon is a seperate monitoring tool that requires no other monitoring software to be running. It connects to the UPS via USB, assuming you have configured the addon correctly with the required driver and allowed USB passthrough in your VM.

The NUT integration connects Home Assistant to the addon to create monitoring and control entities.

Thank you again Tom. I understand I have to attach the USB port the Eaton Ellipse is connected to, to the VM running HA, with VMWare USB passthrough. I had hoped it could be possible to query the Intelligent Power Monitor interface directly from NUT. I’ll try this setup and let you know about it. The problem is that I rely on IPM to send emails on power outage. IPM won’t see the UPS anymore if it’s now connected on the VM. Maybe there is a way to monitor the UPS with the network since the host and the VM are on the same VNET ? Maybe there is a way to send emails and notifications with the NUT integration ?

You could certainly automate that from within Home Assistant.

Hello Tom, NUT is working now as you can see on this capture :

I just have to figure out how to automaticaly start the VM with the USB passthrough activated, and how to send notifications and email on power outage.

1 Like

@Gillus66 Hello ! I need your Help. could you please give me some more information about the way you do this because i am not so familiar with all these. sory for my English.
I run HA from my pc In VM virtual box too , I have a EATON ups monitoring with eaton inteligent power protector i have connected usb from eaton to HA VM through menu. and now idont know what to do next. Before i show from chrome at this ip https://127.0.0.1:4680/default.html# the UI of ups with a user and password. i try to integrate with nut but can not connect do i have to do something else.