Comments (5)
Looks like either your setup or their packaging (inherited from Debian, CC @bigon ?) is mixed up: it may not have updated the recipes to install the drivers build against libmodbus
, or you needed to request it as a package dependency.
Also, with driver=usbhid-ups
(if the second mention is not a typo) it should not be loading a generic_modbus
.
Anyhow, generic_modbus
is not apc_modbus
, which in turn is part of NUT since v2.8.1. However, for USB-capable builds you would currently need a custom build of libmodbus
and then of NUT against it: https://github.com/networkupstools/nut/wiki/APC-UPS-with-Modbus-protocol
from nut.
I was testing various things, including the generic_modbus driver. my mistake. The resulting output however was the same.
thanks for the instructions, i'm going to try this, maybe in a vm instead of proxmox then.
from nut.
At some point I did test USB pass-through for UPS connections, it seemed to work :) You may have to ensure the host OS does not barge into it however (e.g. does not have its copy of NUT driver running).
Also note that it can help for testing; but for ultimate production use, with integration to turn off the UPS late in emergency shutdown, a VM might not be the right spot to send such a command - its host may need some more minutes to complete other shutdown rituals.
from nut.
ah thanks for pointing that out... in that case i'm going the route of another system altogether (I think a raspberry pi running raspbian lite). I'll check in sometime later when proxmox might have a more workable update available.
from nut.
As a Linux, it is perfectly capable of building and running a custom NUT, got one such setup "dogfeeding" in the NUT CI farm with a master-branch build protecting the PVE host. It is not with a custom libmodbus though, but that would not be something "too magical" to do (you may want to configure it with custom installation paths, like --prefix=/usr/local
to avoid conflicts with system-provided one unless you intend them like with the NUT build).
from nut.
Related Issues (20)
- Summary PowerWalker VFI 3000 CG PF1 HOT 23
- blazer_usb failing after apt-get upgrade HOT 4
- Support of linux hwmon (ina219) HOT 1
- Issues with Bookworm and NUT upscode2 > 2.7.4 HOT 9
- usbhid-ups: Eaton battery.voltage value is missing
- Invalid signature on nut-2.8.2 HOT 20
- CI: Add a test case for NUT with musl libc implementation (and non-fatally, a recent collectd source for good measure)
- CPS FAQ - quick discharge (from IRC)
- [HCL] APC Back-UPS RS 1200 aka APC Back-UPS Pro 1200VA/720W (NUT 2.8.2)
- blazer_usb:how display battery.runtime on NUT HOT 10
- Driver riello_ser have the same issue #1685 of riello_usb about battery capacity and runtime HOT 5
- Driver `main.c`: use Unix socket protocol to kill off "Duplicate other instance" HOT 2
- NUT systemd unit journals duplicate some lines
- UPS Visench C1K not support HOT 30
- Use `upsdebug_with_errno()` instead of a few cases calling `upsdebugx(..., errno, strerror())` explicitly
- Support for CyberPower Smart App online double conversion UPS HOT 2
- New device FSP FP650 HOT 2
- logging "nut_libusb_get_string: Success" every 12 seconds HOT 9
- strange data in logs, `file_report_buffer: expected 2 bytes, but got 512 ` HOT 2
- The dictionary in NUT sources also stores keywords for spell-checking nut-website
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.