Open jonashornschuh opened 6 years ago
Hello @jonashornschuh, thanks for your comment! I will have a look at it and update on this.
Best wishes, Christian.
Hey @jonashornschuh,
I don't see NOMPOWER
in my apcaccess
output:
# apcaccess
APC : 001,043,1021
DATE : 2018-09-13 22:04:22 +0200
HOSTNAME : xxx
VERSION : 3.14.14 (31 May 2016) unknown
UPSNAME : xxx
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2018-09-06 16:39:23 +0200
MODEL : Smart-UPS 750
STATUS : ONLINE
LINEV : 233.2 Volts
LOADPCT : 13.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 78.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 231.8 Volts
SENSE : High
DWAKE : -1 Seconds
DSHUTD : 90 Seconds
LOTRANS : 208.0 Volts
HITRANS : 253.0 Volts
RETPCT : 0.0 Percent
ITEMP : 36.0 C
ALARMDEL : 30 Seconds
BATTV : 27.3 Volts
LINEFREQ : 50.0 Hz
LASTXFER : Automatic or explicit self test
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : NO
STESTI : 14 days
STATFLAG : 0x05000008
MANDATE : 2009-11-16
SERIALNO : xxx
BATTDATE : 2009-11-16
NOMOUTV : 230 Volts
NOMBATTV : 24.0 Volts
FIRMWARE : 651.18.I USB FW:7.4
END APC : 2018-09-13 22:04:25 +0200
Are sure, it is the correct metric?
Hey @stdevel,
sorry for my late reply. That's interesting. Here is my output from apcaccess
with NOMPOWER
:
APC : 001,046,1139
DATE : 2018-12-29 11:30:34 +0100
HOSTNAME : xxx
VERSION : 3.14.14 (31 May 2016) freebsd
UPSNAME : xxx
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2018-11-25 12:20:18 +0100
MODEL : Back-UPS CS 650
STATUS : ONLINE
LINEV : 234.0 Volts
LOADPCT : 23.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 22.6 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 230.0 Volts
SENSE : Medium
DWAKE : 0 Seconds
DSHUTD : 0 Seconds
LOTRANS : 180.0 Volts
HITRANS : 266.0 Volts
RETPCT : 0.0 Percent
ITEMP : 29.2 C
ALARMDEL : 30 Seconds
BATTV : 13.6 Volts
LINEFREQ : 50.0 Hz
LASTXFER : Low line voltage
NUMXFERS : 1
XONBATT : 2018-12-23 21:24:38 +0100
TONBATT : 0 Seconds
CUMONBATT: 2 Seconds
XOFFBATT : 2018-12-23 21:24:40 +0100
SELFTEST : NO
STESTI : None
STATFLAG : 0x05000008
MANDATE : 2007-03-28
SERIALNO : xxx
BATTDATE : 2007-03-28
NOMOUTV : 230 Volts
NOMINV : 230 Volts
NOMBATTV : 12.0 Volts
NOMPOWER : 400 Watts
FIRMWARE : 817.v4.I USB FW:v4
END APC : 2018-12-29 11:30:34 +0100
I tried to find out if my firmware is newer than yours, but the numbers are confusing. Do you have the latest firmware installed?
Hey @jonashornschuh, thanks for the feedback - that's an interesting information!
My UPS (Smart-UPS 750) is really old, so I think that's a firmware issue. The product is EOL so there will be no firmware updates.. 😢 So - would you be willing to test an updated code I will supply later? I cannot test it.
Best wishes and a happy new year! 🎉
I think the power consumption is calculated with the wrong value. It calculates with NOMOUTV which is the output voltage. In combination with LOADPCT the result is also voltage and not watts as expected. Replacing NOMOUTV with NOMPOWER should give the correct result.