NUT integration through UI - Not all variables available

Hi there,

My goal is to get the power consumption of a UPS and to see it on the energy dashboard as an individual device. Here’s what I’ve done and where I’m stuck:

I’m using the latest version of HA (2022.9.x) and just configured the NUT integration through the UI.
I use it to get data from my Synology DS920+ which is connected to a CyberPower PR750ELCD. On the UPS display I do see the current output in watts, so it should be there.

The integration works, I see several entities like Input Voltage, Output Voltage, Battery Charge, Load in percentage and others. Many are hidden, but that’s not an issue.
My issue is, that I don’t see anything that gives me a wattage number. I assume it could be “ups.load”, but I’m not sure if it’s the percentage one I already see. Here’s a screenshot of all entities I see:

Is there an easy way to get the current output in watts? Preferably using the UI somehow :slight_smile:

Thanks in advance,
Viktor

1 Like

NUT generally exposes Nominal Power (in VA) as the nominal rating for your UPS and ‘Apparent Power’ (also in VA) which is a product of the actual line voltage and the apparent current draw in Amps. (power draw in VA)

Insert discussion on power in Watts v. VA in context of UPS measures here…

They’re probably both disabled, look at the entities NUT brought over, find them in the list and enable them.

Right, mine shows up as a Diagnostic entity:

sensor.cp750va_nominal_real_power

Edit: I see it in your screenshot as sensor.cybepower_pr750elcd_usv_nominal_real_power

Thank you both for your reply.
So, there’s no easy way as I understand.
Just tried to get it by configuring via yaml and so far it looks not too bad :slight_smile:

My sensors.yaml looks like this:

- platform: template
  sensors:
    cyberpower_usv_output_watt:
      friendly_name: "CyberPower USV Output Watt"
      unique_id: CyberPower_USV_Output_Watt
      unit_of_measurement: "W"
      value_template: "{{ ((states('sensor.cyberpower_pr750elcd_usv_load')|int / 100) * states('sensor.cyberpower_pr750elcd_usv_nominal_real_power')|int)}}"

- platform: integration
  source: sensor.cyberpower_usv_output_watt
  name: cyberpower_usv_power_consumption
  unique_id: cyberpower_usv_power_consumption
  unit_prefix: k
  round: 2

So, they show values that look legitimate to me.
But for some reason the energy dashboard won’t let me add it to the individual devices…

Have you tried adding it as a Utility Meter?

Settings - Devices and Services - Helpers - Create Helper - Utility Meter

The native sensor.cybepower_pr750elcd_usv_nominal_real_power should show up there. I think it can take a while for the values to update once you create it.

Hi,

Not yet. But as I understand the nominal_real_power is the maximum power the device can output. So this wouldn’t help me.
I’ll try it anyway and will see what it looks like :slight_smile:

Thanks everybody!

Nominal Power is the maximum. Apparent power is the current draw.