[Nut-upsuser] nutdrv_qx - Device not supported

Nick Mayerhofer nick.mayerhofer at enchant.at
Mon Feb 15 09:01:23 UTC 2016


Hi Tom,
please find my working (cropped) configs for the raspberyPi enclosed,
all located at /usr/local/ups/etc/<file>.
Not included (but necessary) /usr/local/ups/etc/upsd.users, upsmon.conf,
upssched.conf

For a quick start:
- preinstall the NUT dependencies (e.g. by installing NUT via apt-get)
-- I changed the GROUP of the concerning
/etc/udev/rules.d/62-nut-usbups.rules entry from "nobody" to "plugdev".
Like "ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="0666",
GROUP="plugdev"
- setup the configs (attached)
- git checkout the repository from zykh (or my one
https://github.com/nickma82/nut/tree/nutdrv_qx_voltronic-sunny_rebased+command)
- cd into <yourNutFolder>/
-- compile it (best case through a simple make)
- cd into <yourNutFolder>/drivers/
-- ./nutdrv_qx -DDDD -a voltronic
-- it should start up with something like the startUpExampleLogs.txt

Good luck, Nick

On 15/02/16 07:23, Tom van Arkel wrote:
> Hi
> Thank you very much for the feedback.  I will download and try to get
> it working on the Raspberry Pi.
>
> Regards
> Tom
>
> On Sun, Feb 14, 2016 at 1:49 AM, hyouko at gmail.com
> <mailto:hyouko at gmail.com> <hyouko at gmail.com <mailto:hyouko at gmail.com>>
> wrote:
>
>     > I have the RCT 3KVA Axpert solar hybrid inverter.  It is also known as the
>     > MPP Solar PIP-MS series, the IPS-4000WM and the Voltronic Axpert
>     MKS.  I am
>
>     This device could be supported by nutdrv_qx (subdriver
>     'voltronic-sunny') built starting from this branch:
>     https://github.com/zykh/nut/tree/nutdrv_qx_voltronic-sunny_rebased+command
>
>     Please note that this subdriver is not ready yet for primetime (I'm
>     working on it with Nick, CC'ed. - Sorry for my delay, Nick, I'll
>     review your new work as soon as possible), so there could still be
>     some issues.
>     Apart from that, the main problem is that NUT is, to some extent,
>     still too much UPS-centric, so we'll have to change a couple of things
>     in our source code before we can fully support this kind of devices.
>
>

-------------- next part --------------
# Network UPS Tools: from ups.conf example

user = pi

[voltronic]
	driver=nutdrv_qx
	port=auto
	subdriver=cypress
	vendorid=0665
	productid=5161
	pollinterval=10
-------------- next part --------------
# Network UPS Tools: example nut.conf

MODE=standalone

UPSD_OPTIONS="-u pi"
-------------- next part --------------
# Network UPS Tools: example upsd configuration file

# =======================================================================
# LISTEN <address> [<port>]
# LISTEN 127.0.0.1 3493
LISTEN 127.0.0.1 3493 

user = pi
-------------- next part --------------
$ ./nutdrv_qx -DDDD -a voltronic
Network UPS Tools - Generic Q* USB/Serial driver 0.23 (2.7.2-signed-276-g5f3de48)
USB communication driver 0.33
   0.000000     debug level is '4'
   0.007402     upsdrv_initups...
   0.012820     Checking device (0665/5161) (001/005)
   0.022980     - VendorID: 0665
   0.025554     - ProductID: 5161
   0.028171     - Manufacturer: unknown
   0.030826     - Product: unknown
   0.032566     - Serial Number: unknown
   0.034221     - Bus: 001
   0.036121     - Device release number: 0002
   0.037608     Trying to match device
   0.038123     Device matches
   0.040916     nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
   0.044894     send: QGS
   0.102701     read: (NAKss
   0.105298     qx_process_answer: short reply (input.voltage)
   0.110265     send: QGS
   0.198673     read: (NAKss
   0.201191     qx_process_answer: short reply (input.voltage)
   0.206141     send: QGS
   0.302713     read: (NAKss
   0.305229     qx_process_answer: short reply (input.voltage)
   0.311910     send: QPI
   0.398728     read: (PI16��
   0.401542     Using protocol: Voltronic-SUNNY 0.01
....


More information about the Nut-upsuser mailing list