June 12, 201412 yr Currently I have installed apcupsd-3.14.10-x86_64-1_rlw.txz Installs with no errors but on the settings page if I try to enable it just drops back to NO. apctest is talking to the ups ok. IS this the correct version for 6.0b5a or is there another one hiding in the messages. Kevin. Edit I can start it from the command line and the plug in page shows current settings.
June 12, 201412 yr I had this problem too. Probably something to do with POST in the latest unRAID webGUI. I think I got it working by just copying the cfg file from my 32bit version. I think you can just edit the cfg file manually and it will work that way, but unRAID can't save it from the webGUI.
June 12, 201412 yr Try this one it's 3.14.12 for unraid 6. Also added watts your ups is using. https://raw.githubusercontent.com/dmacias72/unRAID_6.0/master/apcupsd_64.plg
June 13, 201412 yr Author Thank you. That got it running. On the display I'm showing Load: N/A Watts I had a look at the script which is looking for NOMPOWER which my APC 750 doesn't output. I thought it should be showing the value from LOADPCT which is available. Otherwise OK. Kevin
June 13, 201412 yr You can change this line to a static nompower variable if you know that for your ups $nompowerint = preg_replace('/[^0-9\.]/', '', $nompower); to $nompowerint = 500; or whatever the value is. Edit: I think the value for yours is 500. Without nompower you can't know what loadpct is a % of. I was going to add an input on the settings page in the webgui for those that don't have nompower. But Tom said he was gonna make a plugin so I didn't bother. I think I will since that was months ago and maybe change to the new unraid 6 format.
June 13, 201412 yr I also added a new icon. If you delete your old apcupsd.png and reinstall the plg and refresh your browser it should show up. I could also just change it to show loadpct if nompower isn't available or until one is entered.
June 13, 201412 yr Author dmacias Mine is a 500 Watt unit. I changed the script as per your message and rebooted. OK now. If NOMPOWER isn't available then displaying the result from LOADPCT would probably be easier than relying on the user to get the setting right. Kevin.
Archived
This topic is now archived and is closed to further replies.