( roleez | 2022. 12. 17., szo – 23:47 )

/lib/nut/usbhid-ups -a legrand -DDD:

  62.075810     [D2] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 16, Size: 1, Value: 1
  62.075819     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  62.075827     [D2] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 18, Size: 1, Value: 0
  62.075836     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  62.075844     [D2] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 20, Size: 1, Value: 1
  62.075853     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  62.075860     [D2] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 21, Size: 1, Value: 0
  64.077533     [D1] upsdrv_updateinfo...
  64.077554     [D1] Not using interrupt pipe...
  64.077562     [D1] Full update...
  64.077703     [D3] Report[get]: (3 bytes) => 18 43 09
  64.077712     [D2] Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 6.7e-05
  64.077856     [D3] Report[get]: (3 bytes) => 20 88 00
  64.077869     [D2] Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 0.000136
  64.078038     [D3] Report[get]: (2 bytes) => 34 64
  64.078051     [D2] Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100
  64.078221     [D3] Report[get]: (3 bytes) => 35 0b 0a
  64.078232     [D2] Path: UPS.PowerSummary.RuntimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 2571
  64.078362     [D3] Report[get]: (3 bytes) => 1b 92 09
  64.078371     [D2] Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.000146
  64.078489     [D3] Report[get]: (2 bytes) => 1e 0e
  64.078497     [D2] Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 14
  64.078656     [D3] Report[get]: (4 bytes) => 32 00 00 19
  64.078672     [D2] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 16, Size: 1, Value: 1
  64.078681     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  64.078694     [D2] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 18, Size: 1, Value: 0
  64.078703     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  64.078710     [D2] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 20, Size: 1, Value: 1
  64.078717     [D3] Report[buf]: (4 bytes) => 32 00 00 19
  64.078724     [D2] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 21, Size: 1, Value: 0

A Voltage 0.000136 !!!?

viszont:

upsc legrand
Error: Connection failure: Cannot assign requested address

:(