Hi all,
I'd like to report an issue I have with my brand new APC UPS SMC1000IC (tower model) on my DIY Unraid server (6.9.0 beta 30).
I first updated the UPS to the latest firmware (v 04.1) and enabled ModBus communication protocol via the LCD display (it is disabled by default, even though the operation manual states the contrary, so beware ...)
After setting up apcupsd accordingly (UPS cable USB, UPS type ModBus), I plugged the UPS in the server (USB-A to USB-A), and all information were properly populated, especially the nominal power and load percent. So far, it was plug and play, what a good surprise after the various posts I had read in this forum !
But, there's a but, as you may have guessed ... After a reboot, all info were wrong, except for "runtime left" : a fully charged battery was reported as 6% charged, no nominal power nor load percent, and many other tags were absent or totally out of range, including an output voltage of 400+ volts !
After many attempts stopping and starting the daemon, with the UPS plugged or unplugged, I finally reached a stable behaviour :
- when the server boots with the UPS plugged in, the daemon gets fanciful information, and the workaround is to unplug the UPS, restart the daemon, plug the UPS back, and everything is back to normal
- when the server boots with the UPS unplugged, and I plug it after the boot process is over, communication with the UPS is established, and all information are correct at first sight
So, I highly suspect the apcupsd dameon establishes the communication "a bit" too early, at a stage where the USB "stack" on my server is not totally ready (sorry for the improper words, I'm not an Unraid/Linux expert...). To try and sort it out, I thought that delaying the launch of the apcupsd plugin / daemon might be a solution, but I didn't find any setting or thread on this forum to do so.
Thanks in advance for your thoughts and help on this issue.