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 "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.125072 send_to_all: SETINFO input.voltage "0.0" 0.125078 send_to_all: SETINFO input.voltage.fault "0.0" 0.125085 send_to_all: SETINFO output.voltage "0.0" 0.125123 send_to_all: SETINFO ups.load "0" 0.125129 send_to_all: SETINFO input.frequency "0.0" 0.125138 send_to_all: SETINFO battery.voltage "0.00" 0.125141 send_to_all: SETINFO ups.temperature "0.0" 0.125145 send_to_all: SETINFO ups.beeper.status "disabled" 0.125149 send_to_all: SETINFO ups.type "online" 0.125155 send_to_all: SETINFO ups.status "OL" 0.125159 Status read in 1 tries 0.125164 Supported UPS detected with megatec protocol 0.125168 send: F 0.126851 received 22 (35) 0.126868 read: #000.0 0.0 00.00 00.0 0.126893 send_to_all: SETINFO input.voltage.nominal "0" 0.126900 send_to_all: SETINFO input.current.nominal "0.0" 0.126905 send_to_all: SETINFO battery.voltage.nominal "0.0" 0.126909 send_to_all: SETINFO input.frequency.nominal "0" 0.126912 Ratings read in 1 tries 0.126917 send: I 0.129190 received 39 (35) 0.129199 read: # 0.129207 send_to_all: SETINFO ups.mfr "" 0.129211 send_to_all: SETINFO ups.model "" 0.129215 send_to_all: SETINFO ups.firmware "" 0.129219 Vendor information read in 1 tries 0.129223 No values provided for battery high/low voltages in ups.conf 0.129228 send_to_all: SETINFO battery.voltage.low "0.00" 0.129232 send_to_all: SETINFO battery.voltage.high "0.00" 0.129235 Using 'guestimation' (low: 0.000000, high: 0.000000)! 0.129238 Battery runtime will not be calculated (runtimecal not set) 0.129243 send_to_all: SETINFO ups.delay.start "180" 0.129246 send_to_all: SETINFO ups.delay.shutdown "30" 0.129251 send_to_all: ADDCMD beeper.toggle 0.129255 send_to_all: ADDCMD load.off 0.129258 send_to_all: ADDCMD load.on 0.129262 send_to_all: ADDCMD shutdown.return 0.129265 send_to_all: ADDCMD shutdown.stayoff 0.129271 send_to_all: ADDCMD shutdown.stop 0.129276 send_to_all: ADDCMD test.battery.start 0.129284 send_to_all: ADDCMD test.battery.start.deep 0.129288 send_to_all: ADDCMD test.battery.start.quick 0.129291 send_to_all: ADDCMD test.battery.stop 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 0.132052 send_to_all: DATAOK 0.132116 dstate_init: sock /var/run/nut/blazer_usb-ups open on fd 5 0.132121 send_to_all: SETINFO driver.parameter.pollinterval "2" 0.132125 send_to_all: SETINFO driver.parameter.synchronous "no" 0.132130 send_to_all: SETINFO device.mfr "" 0.132133 send_to_all: SETINFO device.model "" 0.132137 send: Q1 0.134914 received 47 (40) 0.134923 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000 1.870391 new connection on fd 6 1.870420 send_to_one: SETINFO battery.voltage "0.00" 1.870431 send_to_one: SETINFO battery.voltage.high "0.00" 1.870436 send_to_one: SETINFO battery.voltage.low "0.00" 1.870442 send_to_one: SETINFO battery.voltage.nominal "0.0" 1.870448 send_to_one: SETINFO device.mfr "" 1.870452 send_to_one: SETINFO device.model "" 1.870456 send_to_one: SETINFO device.type "ups" 1.870460 send_to_one: SETINFO driver.name "blazer_usb" 1.870464 send_to_one: SETINFO driver.parameter.pollinterval "2" 1.870469 send_to_one: SETINFO driver.parameter.port "auto" 1.870473 send_to_one: SETINFO driver.parameter.synchronous "no" 1.870477 send_to_one: SETINFO driver.version "2.7.4" 1.870481 send_to_one: SETINFO driver.version.internal "0.12" 1.870487 send_to_one: SETINFO input.current.nominal "0.0" 1.870491 send_to_one: SETINFO input.frequency "0.0" 1.870495 send_to_one: SETINFO input.frequency.nominal "0" 1.870498 send_to_one: SETINFO input.voltage "0.0" 1.870502 send_to_one: SETINFO input.voltage.fault "0.0" 1.870506 send_to_one: SETINFO input.voltage.nominal "0" 1.870510 send_to_one: SETINFO output.voltage "0.0" 1.870514 send_to_one: SETINFO ups.beeper.status "disabled" 1.870517 send_to_one: SETINFO ups.delay.shutdown "30" 1.870525 send_to_one: SETINFO ups.delay.start "180" 1.870529 send_to_one: SETINFO ups.firmware "" 1.870533 send_to_one: SETINFO ups.load "0" 1.870537 send_to_one: SETINFO ups.mfr "" 1.870540 send_to_one: SETINFO ups.model "" 1.870544 send_to_one: SETINFO ups.productid "0000" 1.870548 send_to_one: SETINFO ups.status "OL" 1.870552 send_to_one: SETINFO ups.temperature "0.0" 1.870556 send_to_one: SETINFO ups.type "online" 1.870560 send_to_one: SETINFO ups.vendorid "0001" 1.870564 send_to_one: ADDCMD beeper.toggle 1.870567 send_to_one: ADDCMD load.off 1.870571 send_to_one: ADDCMD load.on 1.870575 send_to_one: ADDCMD shutdown.return 1.870578 send_to_one: ADDCMD shutdown.stayoff 1.870582 send_to_one: ADDCMD shutdown.stop 1.870585 send_to_one: ADDCMD test.battery.start 1.870589 send_to_one: ADDCMD test.battery.start.deep 1.870593 send_to_one: ADDCMD test.battery.start.quick 1.870596 send_to_one: ADDCMD test.battery.stop 1.870600 send_to_one: DATAOK 1.870603 send_to_one: DUMPDONE 2.132419 send: Q1 2.135204 received 47 (40) 2.135215 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210812/59c02cab/attachment.htm>
Manuel Wolfshant
2021-Aug-13 11:32 UTC
[Nut-upsuser] Empty readings from sensors (MEC0003)
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 00000000As 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>