-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPS Load and Battery Charge always zero using nutdrv_qx #2320
Comments
Technically, it could also be the driver. There were some changes about calculating or otherwise determining battery charges and runtimes, running up to NUT 2.8.1 I think. I'm on the road now; check the reference trail from #1279 and #1652 tickets... Are you in position to re-try with the older NUT release that you were using, to see if it really is our regression? Also, am I right that here you use a serial-port connection (not USB)? Did you before? |
Thanks @jimklimov, that was it, just changed the docker image to 2.8.0-r4, and now I have data for the load and battery percentage back I am using USB for it, just as before Here is another upsc log, in case that helps with debugging
|
Well, the UPS/firmware is not broken - that's good news :) Figuring out why we lost the info in 2.8.1 is gonna be a head-scratcher... Are you by chance in position to build NUT from source and test the current master code base (in case some of the changes after 2.8.1 fixed this bit)? https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests outlines how to build and test drivers right from the build workspace, without necessarily changing your OS installed variant of NUT. Or at least to run that 2.8.1 container with a higher debug verbosity, check https://github.com/networkupstools/nut/wiki/Changing-NUT-daemon-debug-verbosity for suggestions in this regard... |
Hey! Sorry for the delayed response, had a busy day today, I will read through the instructions on how to build from source, and let you know if I have any luck getting the missing data from the UPS |
Macs should work too, as far as compilation goes at least - each NUT iteration of the past couple of years is tested on CircleCI Mac environments. There were some recently posted issues (search by label) regarding some XML manifests for further OS integration. Don't have one, so that's as much as I can elaborate. |
I just recently got my UPS back from maintenance (it's a TS Shara 1500VA pure sinewave rackmount model), and now it does not report the battery percentage nor the load anymore (it used to do it normally), in the meantime, while it was under maintenance, I updated all the docker containers I have running to the latest version with docker compose pull (I am using instantlinux/nut-upsd), do you guys have any clue if this could be an issue with an updated driver not being able to read or a firmware update from when the UPS went for the maintenance in the factory?
Any help is appreciated!
Here is an upsc log
The text was updated successfully, but these errors were encountered: