digitalfixer Posted June 12, 2014 Share Posted June 12, 2014 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. Quote Link to comment
trurl Posted June 12, 2014 Share Posted June 12, 2014 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. Quote Link to comment
dmacias Posted June 12, 2014 Share Posted June 12, 2014 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 Quote Link to comment
digitalfixer Posted June 13, 2014 Author Share Posted June 13, 2014 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 Quote Link to comment
dmacias Posted June 13, 2014 Share Posted June 13, 2014 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. Quote Link to comment
dmacias Posted June 13, 2014 Share Posted June 13, 2014 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. Quote Link to comment
digitalfixer Posted June 13, 2014 Author Share Posted June 13, 2014 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. Quote Link to comment
Recommended Posts
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.