Hey everyone,
Ive been doing my head in trying to get a ups to play nice with nut, but it seems ive hit a wall and cant sort it out myself.
At the moment i can detect it and connect, but get no information from it and the server is unaware when the ups switches to battery mode.
I am fairly certain i need to use subdriver and/or protocol hunnox to get my device to work. it looks like @IGHOR may have had the answer in the form of a modified .txz file to help out @Jammy B but that link is no longer available. Info below to ID my unit, its a Digitech MP-5205 650VA but seems to be a clone of powercool, or maybe the other way around...
Scanning for UPS...
[nutdev1]
driver = "nutdrv_qx"
port = "auto"
vendorid = "0001"
productid = "0000"
product = "MEC0003"
bus = "002"
/etc/nut/ups.conf
[ups]
driver = nutdrv_qx
port = auto
subdriver = hunnox
vendorid = 0001
productid = 0000
langid_fix = 0x0409
novendor
ondelay = 180
offdelay = 60
default.battery.voltage.high = 13
default.battery.voltage.low = 11
default.battery.voltage.nominal = 12.7
override.battery.packs = 6
runtimecal = 480,100,1200,50
chargetime = 28800
root@Tower:~# upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.4.1
Network UPS Tools - Generic Q* USB/Serial driver 0.39 (2.7.4.1)
USB communication driver 0.43
Subdriver 'hunnox' not found!
Driver failed to start (exit status=1)
If i remove the subdriver line from ups.conf i can get this
root@Tower:~# upsc
[email protected]
battery.charge: 1
battery.packs: 6
battery.runtime: 37
battery.voltage: 0.00
battery.voltage.high: 13
battery.voltage.low: 11
battery.voltage.nominal: 12.7
device.type: ups
driver.name: nutdrv_qx
driver.parameter.chargetime: 28800
driver.parameter.offdelay: 60
driver.parameter.ondelay: 180
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0000
driver.parameter.runtimecal: 480,100,1200,50
driver.parameter.synchronous: no
driver.parameter.vendorid: 0001
driver.version: 2.7.4.1
driver.version.data: Q1 0.07
driver.version.internal: 0.39
driver.version.usb: libusb-1.0.24 (API: 0x1000107)
input.frequency: 0.0
input.voltage: 0.0
input.voltage.fault: 0.0
output.voltage: 0.0
ups.beeper.status: disabled
ups.delay.shutdown: 60
ups.delay.start: 180
ups.load: 0
ups.productid: 0000
ups.status: OL
ups.temperature: 0.0
ups.type: online
ups.vendorid: 0001
I tried compiling from git in ubuntu but its a bit out of my league for the moment.
Cheers