Closed urbaman closed 1 day ago
Hard to say, it is the first time I hear of such brand so can't say how good they are at implementing the protocol or what they report. Lacking a valid USB ID for the vendor and model is not too encouraging in this regard.
That said, nutdrv_qx
does support many values for protocol
and subdriver
settings -- see nutdrv_qx -h
for values supported in your build, and try different combinations.
You did not clarify which NUT version you have, but 2.8.x should support a "dump mode" to collect data, report it and exit - so you can stop your driver service and script a loop to run nutdrv_qx -a techly1000 -x subdriver=$S -x protocol=$P -d 1
and see if any of those combos reports more info.
Good luck! And we'd welcome any data reports back for the NUT DDL collection :)
Hi @jimklimov
Here's what I can find for NUT version:
sudo upsdrvctl -h
Network UPS Tools - UPS driver controller 2.8.0
I'll try to make the proposed tests, if you have some more thorough guide for it, I'll appreciate, thank you.
Yes, today I'm a bit more online so can post the Wiki link :)
In-place replacement compatible build : https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests -- just build for now, without installing and replacing the packaged code.
Stop the running driver (if any).
Check driver help for supported keywords, e.g.:
:; ./drivers/nutdrv_qx -h
...
Acceptable values for 'subdriver' via -x or ups.conf in this driver: cypress, phoenixtec, phoenix, ippon, krauler, fabula, hunnox, fuji, sgs, snr, ablerex, armac
Acceptable values for 'protocol' via -x or ups.conf in this driver: voltronic, voltronic-qs, voltronic-qs-hex, mustek, megatec/old, bestups, mecer, megatec, zinto, masterguard, hunnox, ablerex, q1
...
Lock-pick the dialect:
:; for S in cypress phoenixtec phoenix ippon krauler fabula hunnox fuji sgs snr ablerex armac ; do
for P in voltronic voltronic-qs voltronic-qs-hex mustek megatec/old bestups mecer megatec zinto masterguard hunnox ablerex q1 ; do
./drivers/nutdrv_qx -a techly1000 -x subdriver=$S -x protocol=$P -d 1 2>&1 | tee "techly1000-$S-`echo $P | tr / _`.txt"
done
done
...and hope the controller is smart enough to not brick if it sees commands and signals it would not understand.
Normally the driver does a similar loop on its own (if no args are given and USB IDs do not suggest a specific combo to use), but it may stop if it gets a reply - and so not benefit from another dialect that might be supported better.
Ok, so probably I can say I found myself in this same situation and device type: https://github.com/networkupstools/nut/issues/1539
So probably I will not find the battery % I search for.
I'll try to find time to fiddle around, but it seems also their own software do not show battery %.
I think I can close this one, I'll be back if I find something else.
Hi,
I'm trying to manage this thing from a raspi 4B via USB. It's working pretty well, but has very few info to show (no battery percentual for example).
Is there a better way to monitor it?
Thank you.
ups.conf: