[Nut-upsuser] Empty readings from sensors (MEC0003)

Manuel Wolfshant wolfy at nobugconsulting.ro
Fri Aug 13 12:32:56 BST 2021


On 8/12/21 3:04 PM, Артем Кудрявцев via Nut-upsuser wrote:
> Hello!
>
> Help me to understand this problem please. I'm trying to monitor UPS 
> Lanches LANCHES L900II-S 3/1 6KVA and i can't receive sensor readings 
> from it. Just zeros on all parameters.
>
> Tried nutdrv_qx and blazer_usb drivers, same results on both. So my 
> question is, what kind of problem is it? Bad motherboard on UPS, lack 
> of sensors at all or it is driver/software problem and just need to 
> find correct driver for it?
>
> This is the output from blazer_usb:
>
> root at sp-pm-i-nom:/lib/nut# ./blazer_usb -a ups -DDDDD
> Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
>    0.000000     debug level is '5'
>    0.120897     Checking device (1D6B/0003) (004/001)
>    0.121058     - VendorID: 1d6b
>    0.121064     - ProductID: 0003
>    0.121068     - Manufacturer: unknown
>    0.121071     - Product: unknown
>    0.121074     - Serial Number: unknown
>    0.121079     - Bus: 004
>    0.121084     - Device release number: 0404
>    0.121089     Trying to match device
>    0.121096     Device does not match - skipping
>    0.121104     Checking device (0001/0000) (003/007)
>    0.122212     - VendorID: 0001
>    0.122221     - ProductID: 0000
>    0.122227     - Manufacturer: unknown
>    0.122231     - Product: MEC0003
>    0.122236     - Serial Number: unknown
>    0.122240     - Bus: 003
>    0.122244     - Device release number: 0100
>    0.122249     Trying to match device
>    0.122254     Device matches
>    0.122283     nut_usb_set_altinterface: skipped 
> usb_set_altinterface(udev, 0)
>    0.122297     send_to_all: SETINFO ups.vendorid "0001"
>    0.122304     send_to_all: SETINFO ups.productid "0000"
>    0.122329     send_to_all: SETINFO device.type "ups"
>    0.122338     send_to_all: SETINFO driver.version "2.7.4"
>    0.122345     send_to_all: SETINFO driver.version.internal "0.12"
>    0.122352     send_to_all: SETINFO driver.name <http://driver.name> 
> "blazer_usb"
>    0.122357     Trying megatec protocol...
>    0.122364     send: Q1
>    0.125028     received 47 (40)
>    0.125056     read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
> [...]
>    0.129293     send: Q1
>    0.132023     received 47 (40)
>    0.132033     read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
> [...]   2.135215     read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000


As far as I can see, the UPS is sending exclusively zeroes so there 
isn't much that the drivers could do.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210813/4dd6fdea/attachment-0001.htm>


More information about the Nut-upsuser mailing list