Comments (4)
That rings a bell a bit, at least the driver was recently discussed. Not on PC now - can you please search issues for apcsmart?
Not sure if this driver was addressed by code changes after 2.8.0 release, but it's always worth trying a custom build of current NUT to know if the issue still needs solving :} Wiki has an article on "in-place" build configs to have a custom build configured similarly to your packaged one; a driver test run can be done from a build workspace without impacting the OS.
Also, can you try starting the driver binary with debug options (wiki suggests some ways) to help pinpoint where/why it gets that "bad" data.
from nut.
So, dug a bit into code history - the message originates from beb4b54
So before this fix, the code went:
https://github.com/networkupstools/nut/blame/cbfe9ab178183a85a216fd8f789895d786d3055c/drivers/apcsmart.c#L1019-L1023
...and might end up with negative nument
and/or entlen
. Which, looking a bit more at the rest of code, would make the rest of the cycle no-op. Probably bailing out was too harsh here, reporting and ignoring (going to next loop) may be the proper approach after all.
from nut.
CC @aquette as the initial committer (though I guess it is further shrouded in SVN history), and @msoltyspl.
from nut.
Posted a PR - if you have a chance to build and test that branch, would be great!
from nut.
Related Issues (20)
- `usbhid-ups`: Add another `onlinedischarge` style setting for hovering batteries
- Riello SNMP : ".1.3.6.1.4.1.5491.6" sysOID (NetManPlus 102) HOT 15
- Highlighting specific cells in the web display. HOT 4
- nutdrv_qx: RICHCOMM UPS USB Mon V2.0 - Vultech UPS1400VA-LFP HOT 10
- [Question] APC Back-UPS Pro usbhid-ups possible to modify maximum charge voltage? HOT 7
- {Question} Apple MacOS Sonoma & NUT-client (not working) HOT 16
- Create branch and a configure/build option for SmartNUT
- Implement SmartNUT MQTT dstate driver communication backend
- Implement SmartNUT HomeKit dstate driver communication backend
- nutdrvctl HOT 2
- Drivers dynamic loading of dstate_communication module
- Document SmartNUT
- Add support for ups.conf.d HOT 3
- Improve mDNS announcement (or any other system)
- nutdrv_nutclient and nutdrv_simulation HOT 3
- SmartNUT Home Assistant Add-on
- SmartNUT Debian packaging
- Modbus driver on Proxmox HOT 5
- nut-scanner reports non-existent driver for NUT discovery HOT 1
- After firmware upgrade snmp-ups unable to get values from APC SMART UPS network card AOS AP9617 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.