Jump to content

UPS Settings: "Warning: Undefined variable $power" and no data shown


Recommended Posts

Posted (edited)

So in UPS Settings, once I start the APC UPS daemon (cable and type: "USB"), down in the UPS Details it shows me

 

```

Warning: Undefined variable $power in /usr/local/emhttp/plugins/dynamix.apcupsd/include/UPSstatus.php on line 88

```

 

I can confirm that my UPS and its connection is working fine via Terminal by executing `apcaccess status localhost:3551`, giving me:

 

```
APC      : 001,034,0835
DATE     : 2024-04-07 00:36:43 +0200  
HOSTNAME : <my Hostname>
VERSION  : 3.14.14 (31 May 2016) slackware
UPSNAME  : <shows also my hostname>
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2024-04-07 00:35:40 +0200  
MODEL    : Back-UPS ES 700 
STATUS   : ONLINE 
LINEV    : 232.0 Volts
LOADPCT  : 22.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 25.0 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : Automatic or explicit self test
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B0841T22340  
BATTDATE : 2008-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 829.D2 .I USB FW:D2
END APC  : 2024-04-07 00:37:18 +0200 

```

 

UNRAID 6.12.10

Edited by unraid-550529

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...