[Nut-upsuser] UPS reboots with APC UPS

stefanos at karandreas.gr stefanos at karandreas.gr
Thu Sep 3 13:45:35 BST 2020


Hello,

I have been using NUT for a short period of time and have some questions 
regarding the UPS reboot signal that I can't figure out. Have tried some 
googling and reading the DOCs but I am struggling to understand how some 
variables / things are supposed to work, so would appreciate any help 
with any of the following questions.

I am running NUT on standalone mode on a linux machine (lets call it 
M1), connected via USB to the APC UPS. There is another Windows computer 
connected on the UPS (refer to as M2), which when not used is suspended. 
The windows machine (M2) is not managed by NUT due to not finding a NUT 
windows client but that's a separate thing.

My use case. When power is off the UPS should run till battery charge 
gets to 30%, then the shutdowncmd will issue a suspend to M1. UPS should 
continue running till power is back or battery runs out, as such the UPS 
should never be restarted or shutdown by NUT as that would kill the 
suspending. The UPS even at 30% should last couple of hours with M1,M2 
suspended and power cuts at worst last 30min. Obviously I accept the 
fact that if the battery runs out it will greatly reduce the lifespan of 
the battery.

# ups.conf:

[apc1400]
         driver = usbhid-ups
         port = auto


# upsc apc1400:

Init SSL without certificate database
battery.charge: 62
battery.charge.low: 30
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2018/03/27
battery.runtime: 316
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 26.6
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Back-UPS XS 1400U
device.serial: 3B1740X16183
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: APC HID 0.96
driver.version.internal: 0.41
input.sensitivity: medium
input.transfer.high: 280
input.transfer.low: 155
input.voltage: 230.0
input.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 926.T2 .I
ups.firmware.aux: T2
ups.load: 53
ups.mfr: American Power Conversion
ups.mfr.date: 2017/10/06
ups.model: Back-UPS XS 1400U
ups.productid: 0002
ups.realpower.nominal: 700
ups.serial: 3B1740X16183
ups.status: OL CHRG
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d


I have issued upsrw -s battery.charge.low=30 apc1400 and set SHUTDOWNCMD 
"/bin/systemctl suspend" to reflect the above, so when battery.charge 
reaches 30% or available battery runtime is 120sec the computer should 
suspend, which it has done multiple times.

I am trying to understand what controls/triggers the UPS reboot signal.
1. Have had the UPS reboot while on power and 100% battery when manually 
restarting M1 for updates taking down both M1 (during boot, so the 
signal was delayed?) & M2 (was running). Have tried to reproduce it 
while writing this with a manual reboot / suspend to no avail.
2. UPS takes ~30min to reach 40% battery with M1 running and M2 
suspended. After manually suspending M1 15min in a power cut (took place 
yesterday), after couple of minutes the UPS rebooted. When the power 
came back the UPS reported 57% battery charge, so it didn't even reach 
LB either from battery.charge.low and couldn't have been 
battery.runtime.low if I have understood the setting correctly. This has 
happened a total of 2 times iirc.

I can't figure out which settings cause the reboots. Would setting 
ups.timer.reboot to -1 stop it from happening regardless the cause of 
triggering a UPS reboot? Though I would prefer understanding what is the 
cause.

# OS:
   Ubuntu 18.04

# uname -a
   Linux amdx4 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 
2020 x86_64 x86_64 x86_64 GNU/Linux

# apt policy nut:
   Installed: 2.7.4-5.1ubuntu2
   Candidate: 2.7.4-5.1ubuntu2

# UPS Model:
   APC Back-UPS 1400 (BX1400U-GR)

# Driver debug log:

Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
    0.000000	debug level is '2'
    0.001039	upsdrv_initups...
    0.253805	Checking device (1D6B/0001) (007/001)
    0.329676	- VendorID: 1d6b
    0.329700	- ProductID: 0001
    0.329708	- Manufacturer: unknown
    0.329712	- Product: unknown
    0.329723	- Serial Number: unknown
    0.329735	- Bus: 007
    0.329746	- Device release number: 0415
    0.329749	Trying to match device
    0.329761	Device does not match - skipping
    0.329776	Checking device (1D6B/0001) (006/001)
    0.405652	- VendorID: 1d6b
    0.405690	- ProductID: 0001
    0.405717	- Manufacturer: unknown
    0.405728	- Product: unknown
    0.405734	- Serial Number: unknown
    0.405740	- Bus: 006
    0.405745	- Device release number: 0415
    0.405749	Trying to match device
    0.405762	Device does not match - skipping
    0.405783	Checking device (1D6B/0001) (005/001)
    0.481626	- VendorID: 1d6b
    0.481657	- ProductID: 0001
    0.481660	- Manufacturer: unknown
    0.481663	- Product: unknown
    0.481666	- Serial Number: unknown
    0.481669	- Bus: 005
    0.481672	- Device release number: 0415
    0.481674	Trying to match device
    0.481683	Device does not match - skipping
    0.481696	Checking device (051D/0002) (004/002)
    0.499538	- VendorID: 051d
    0.499597	- ProductID: 0002
    0.499608	- Manufacturer: American Power Conversion
    0.499615	- Product: Back-UPS XS 1400U  FW:926.T2 .I USB FW:T2
    0.499621	- Serial Number: 3B1740X16183
    0.499637	- Bus: 004
    0.499642	- Device release number: 0106
    0.499647	Trying to match device
    0.499662	Device matches
    0.501409	HID descriptor length 1028
    0.546337	Report Descriptor size = 1028
    0.546726	Using subdriver: APC HID 0.96
    0.546732	104 HID objects found
    0.548374	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 
0x01, Offset: 0, Size: 8, Value: 1
    0.552380	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, 
ReportID: 0x02, Offset: 0, Size: 8, Value: 2
    0.555357	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, 
ReportID: 0x03, Offset: 0, Size: 8, Value: 4
    0.560374	Path: UPS.PowerSummary.iOEMInformation, Type: Feature, 
ReportID: 0x04, Offset: 0, Size: 8, Value: 3
    0.564363	Path: UPS.PowerSummary.Rechargeable, Type: Feature, 
ReportID: 0x05, Offset: 0, Size: 8, Value: 1
    0.569387	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.569424	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.569498	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.569517	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.569534	Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 
0x06, Offset: 16, Size: 8, Value: 8
    0.569548	Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, 
ReportID: 0x06, Offset: 16, Size: 8, Value: 8
    0.572386	Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, 
ReportID: 0x07, Offset: 0, Size: 16, Value: 19270
    0.577386	Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, 
ReportID: 0x08, Offset: 0, Size: 16, Value: 24
    0.581404	Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 
0x09, Offset: 0, Size: 16, Value: 27.09
    0.585403	Path: UPS.PowerSummary.iManufacturer, Type: Feature, 
ReportID: 0x0a, Offset: 0, Size: 8, Value: 3
    0.588459	Path: UPS.PowerSummary.CapacityMode, Type: Feature, 
ReportID: 0x0b, Offset: 0, Size: 8, Value: 2
    0.593408	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    0.593517	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    0.593558	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, 
ReportID: 0x0c, Offset: 8, Size: 16, Value: 540
    0.593588	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, 
ReportID: 0x0c, Offset: 8, Size: 16, Value: 540
    0.597506	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, 
ReportID: 0x0d, Offset: 0, Size: 8, Value: 100
    0.602393	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, 
ReportID: 0x0e, Offset: 0, Size: 8, Value: 100
    0.605388	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, 
ReportID: 0x0f, Offset: 0, Size: 8, Value: 50
    0.610393	Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, 
ReportID: 0x10, Offset: 0, Size: 8, Value: 1
    0.614391	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: 
Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
    0.618401	Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, 
ReportID: 0x12, Offset: 0, Size: 8, Value: 1
    0.621398	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    0.621499	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    0.626402	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Input, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    0.626439	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    0.626450	Path: UPS.PowerSummary.ShutdownImminent, Type: Input, 
ReportID: 0x14, Offset: 8, Size: 8, Value: 0
    0.626455	Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, 
ReportID: 0x14, Offset: 8, Size: 8, Value: 0
    0.631388	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.635356	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, 
ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    0.635381	Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    0.635389	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Input, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    0.635401	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    0.635412	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, 
ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    0.635421	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    0.635429	Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: 
Input, ReportID: 0x16, Offset: 3, Size: 1, Value: 1
    0.635438	Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: 
Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 1
    0.635447	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    0.635456	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    0.635465	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: 
Input, ReportID: 0x16, Offset: 5, Size: 1, Value: 0
    0.635474	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: 
Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0
    0.635482	Path: 
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, 
ReportID: 0x16, Offset: 6, Size: 1, Value: 0
    0.635491	Path: 
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, 
ReportID: 0x16, Offset: 6, Size: 1, Value: 0
    0.635500	Path: UPS.PowerSummary.PresentStatus.CommunicationLost, 
Type: Input, ReportID: 0x16, Offset: 7, Size: 1, Value: 0
    0.635508	Path: UPS.PowerSummary.PresentStatus.CommunicationLost, 
Type: Feature, ReportID: 0x16, Offset: 7, Size: 1, Value: 0
    0.635517	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: 
Input, ReportID: 0x16, Offset: 8, Size: 1, Value: 0
    0.635526	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: 
Feature, ReportID: 0x16, Offset: 8, Size: 1, Value: 0
    0.635535	Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, 
ReportID: 0x16, Offset: 9, Size: 1, Value: 0
    0.635543	Path: UPS.PowerSummary.PresentStatus.Overload, Type: 
Feature, ReportID: 0x16, Offset: 9, Size: 1, Value: 0
    0.635552	Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, 
Type: Input, ReportID: 0x16, Offset: 10, Size: 1, Value: 0
    0.635561	Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, 
Type: Feature, ReportID: 0x16, Offset: 10, Size: 1, Value: 0
    0.638381	Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, 
ReportID: 0x17, Offset: 0, Size: 16, Value: 120
    0.643414	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.647381	Path: UPS.Battery.APCBattReplaceDate, Type: Feature, 
ReportID: 0x1c, Offset: 0, Size: 24, Value: 599297
    0.651362	Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 
0x20, Offset: 0, Size: 16, Value: 19579
    0.654351	Path: UPS.Battery.Test, Type: Input, ReportID: 0x21, Offset: 
0, Size: 8, Value: 6
    0.654379	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, 
Offset: 0, Size: 8, Value: 6
    0.659393	Path: UPS.Battery.RemainingCapacity, Type: Feature, 
ReportID: 0x22, Offset: 0, Size: 8, Value: 100
    0.664436	Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 
0x23, Offset: 0, Size: 16, Value: 540
    0.668434	Path: UPS.Battery.RemainingTimeLimit, Type: Feature, 
ReportID: 0x24, Offset: 0, Size: 16, Value: 120
    0.671407	Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 
0x25, Offset: 0, Size: 16, Value: 24
    0.676397	Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x26, 
Offset: 0, Size: 16, Value: 27.09
    0.680414	Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x27, 
Offset: 0, Size: 8, Value: 241
    0.684411	Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x28, 
Offset: 0, Size: 32, Value: 0
    0.687357	Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 
0x30, Offset: 0, Size: 8, Value: 230
    0.692379	Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, 
Offset: 0, Size: 16, Value: 232
    0.697371	Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 
0x32, Offset: 0, Size: 16, Value: 155
    0.701381	Path: UPS.Input.HighVoltageTransfer, Type: Feature, 
ReportID: 0x33, Offset: 0, Size: 16, Value: 280
    0.704382	Path: UPS.Input.ff860024, Type: Feature, ReportID: 0x34, 
Offset: 0, Size: 8, Value: 129
    0.709363	Path: UPS.Input.APCSensitivity, Type: Feature, ReportID: 
0x35, Offset: 0, Size: 8, Value: 1
    0.713331	Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 
0x36, Offset: 0, Size: 8, Value: 0
    0.717383	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    0.720381	Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: 
Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1
    0.726432	Path: UPS.APCGeneralCollection.DelayBeforeShutdown, Type: 
Feature, ReportID: 0x42, Offset: 0, Size: 16, Value: -1
    0.730420	Path: UPS.PowerConverter.PercentLoad, Type: Feature, 
ReportID: 0x50, Offset: 0, Size: 8, Value: 51
    0.734407	Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 
0x51, Offset: 0, Size: 8, Value: 126
    0.737374	Path: UPS.PowerConverter.ConfigActivePower, Type: Feature, 
ReportID: 0x52, Offset: 0, Size: 16, Value: 700
    0.742362	Path: UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, 
Offset: 0, Size: 16, Value: 0
    0.746395	Path: UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, 
Offset: 0, Size: 8, Value: 154
    0.750367	Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62, 
Offset: 0, Size: 32, Value: 0
    0.753390	Path: UPS.iProduct, Type: Feature, ReportID: 0x7f, Offset: 
0, Size: 8, Value: 5
    0.759405	Path: UPS.APC_UPS_FirmwareRevision, Type: Feature, ReportID: 
0x7e, Offset: 0, Size: 8, Value: 6
    0.763352	Path: UPS.iSerialNumber, Type: Feature, ReportID: 0x7d, 
Offset: 0, Size: 8, Value: 2
    0.767345	Path: UPS.iManufacturer, Type: Feature, ReportID: 0x7c, 
Offset: 0, Size: 8, Value: 3
    0.770390	Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x7b, 
Offset: 0, Size: 16, Value: 19270
    0.775354	Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 
0x7a, Offset: 0, Size: 1, Value: 0
    0.775390	Path: UPS.PresentStatus.Discharging, Type: Feature, 
ReportID: 0x7a, Offset: 1, Size: 1, Value: 0
    0.775405	Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 
0x7a, Offset: 2, Size: 1, Value: 1
    0.775413	Path: UPS.PresentStatus.BatteryPresent, Type: Feature, 
ReportID: 0x7a, Offset: 3, Size: 1, Value: 1
    0.775447	Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x7a, Offset: 4, Size: 1, Value: 0
    0.775483	Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, 
ReportID: 0x7a, Offset: 5, Size: 1, Value: 0
    0.775501	Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: 
Feature, ReportID: 0x7a, Offset: 6, Size: 1, Value: 0
    0.775514	Path: UPS.PresentStatus.CommunicationLost, Type: Feature, 
ReportID: 0x7a, Offset: 7, Size: 1, Value: 0
    0.775527	Path: UPS.PresentStatus.NeedReplacement, Type: Feature, 
ReportID: 0x7a, Offset: 8, Size: 1, Value: 0
    0.775542	Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 
0x7a, Offset: 9, Size: 1, Value: 0
    0.775555	Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, 
ReportID: 0x7a, Offset: 10, Size: 1, Value: 0
    0.779345	Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, 
Offset: 0, Size: 8, Value: 0
    0.783334	Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 
0x78, Offset: 0, Size: 8, Value: 2
    0.786380	Path: UPS.ff860029, Type: Feature, ReportID: 0x75, Offset: 
0, Size: 16, Value: 98
    0.792428	Path: UPS.ff86002a, Type: Feature, ReportID: 0x74, Offset: 
0, Size: 32, Value: 0
    0.792564	Report descriptor retrieved (Reportlen = 1028)
    0.792587	Found HID device
    0.792598	Detected a UPS: American Power Conversion/Back-UPS XS 1400U  
FW:926.T2 .I USB FW:T2
    0.792668	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    0.792725	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: 
Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10
    0.792783	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, 
ReportID: 0x0f, Offset: 0, Size: 8, Value: 50
    0.792843	Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 
0x23, Offset: 0, Size: 16, Value: 540
    0.792917	Path: UPS.Battery.RemainingTimeLimit, Type: Feature, 
ReportID: 0x24, Offset: 0, Size: 16, Value: 120
    0.792987	Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x26, 
Offset: 0, Size: 16, Value: 27.09
    0.793044	Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 
0x25, Offset: 0, Size: 16, Value: 24
    0.793124	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, 
ReportID: 0x03, Offset: 0, Size: 8, Value: 4
    0.796431	Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 
0x20, Offset: 0, Size: 16, Value: 19579
    0.796509	Path: UPS.Battery.APCBattReplaceDate, Type: Feature, 
ReportID: 0x1c, Offset: 0, Size: 24, Value: 599297
    0.796543	Path: UPS.PowerConverter.PercentLoad, Type: Feature, 
ReportID: 0x50, Offset: 0, Size: 8, Value: 51
    0.796599	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.796691	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    0.796713	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, 
Offset: 0, Size: 8, Value: 6
    0.796735	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.796762	Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x7b, 
Offset: 0, Size: 16, Value: 19270
    0.796798	Path: UPS.PowerConverter.ConfigActivePower, Type: Feature, 
ReportID: 0x52, Offset: 0, Size: 16, Value: 700
    0.796836	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    0.796860	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    0.796883	Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    0.796906	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: 
Feature, ReportID: 0x16, Offset: 5, Size: 1, Value: 0
    0.796929	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    0.796951	Path: UPS.PowerSummary.PresentStatus.Overload, Type: 
Feature, ReportID: 0x16, Offset: 9, Size: 1, Value: 0
    0.796974	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: 
Feature, ReportID: 0x16, Offset: 8, Size: 1, Value: 0
    0.796998	Path: 
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, 
ReportID: 0x16, Offset: 6, Size: 1, Value: 0
    0.797024	Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: 
Feature, ReportID: 0x16, Offset: 3, Size: 1, Value: 1
    0.797047	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.797067	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.797090	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    0.797110	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    0.797129	Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, 
ReportID: 0x14, Offset: 8, Size: 8, Value: 0
    0.797144	Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, 
ReportID: 0x06, Offset: 16, Size: 8, Value: 8
    0.797161	Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 
0x36, Offset: 0, Size: 8, Value: 0
    0.797178	Path: UPS.Input.APCLineFailCause, Type: Feature, ReportID: 
0x36, Offset: 0, Size: 8, Value: 0
    0.797197	Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, 
Offset: 0, Size: 16, Value: 232
    0.797219	Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 
0x30, Offset: 0, Size: 8, Value: 230
    0.797260	Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 
0x32, Offset: 0, Size: 16, Value: 155
    0.797284	Path: UPS.Input.HighVoltageTransfer, Type: Feature, 
ReportID: 0x33, Offset: 0, Size: 16, Value: 280
    0.797319	Path: UPS.Input.APCSensitivity, Type: Feature, ReportID: 
0x35, Offset: 0, Size: 8, Value: 1
    0.797398	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, 
Offset: 0, Size: 8, Value: 6
    0.797428	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, 
Offset: 0, Size: 8, Value: 6
    0.797489	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, 
Offset: 0, Size: 8, Value: 6
    0.797505	Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, 
Offset: 0, Size: 8, Value: 0
    0.797520	Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, 
Offset: 0, Size: 8, Value: 0
    0.797551	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.797580	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.797640	Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: 
Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1
    0.797658	Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: 
Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1
    0.797672	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    0.797698	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.797717	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.797736	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.797755	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.797775	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, 
ReportID: 0x18, Offset: 0, Size: 8, Value: 2
    0.797794	find_nut_info: unknown info type: load.on.delay
    0.797807	find_nut_info: unknown info type: load.on.delay
    0.797824	upsdrv_initinfo...
    0.797835	upsdrv_updateinfo...
    0.805383	Got 3 HID objects...
    0.805426	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.805462	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.805472	Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 
0x06, Offset: 16, Size: 8, Value: 8
    0.805480	Quick update...
    0.805485	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.805493	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    0.805499	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    0.805505	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    0.805510	Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    0.805515	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    0.805521	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.805526	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.805531	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    0.805536	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    0.805542	Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, 
ReportID: 0x06, Offset: 16, Size: 8, Value: 8
    0.805637	dstate_init: sock /var/run/nut/usbhid-ups-apc1400 open on fd 
5
    0.805651	upsdrv_updateinfo...
    0.813354	Got 3 HID objects...
    0.813398	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.813420	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.813469	Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 
0x06, Offset: 16, Size: 8, Value: 8
    0.813483	Quick update...
    0.813494	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    0.813513	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    0.813527	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    0.813562	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    0.813574	Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    0.813588	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    0.813597	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    0.813607	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    0.813617	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    0.813627	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    0.813639	Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, 
ReportID: 0x06, Offset: 16, Size: 8, Value: 8
    2.807708	upsdrv_updateinfo...
    2.813358	Got 2 HID objects...
    2.813489	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, 
ReportID: 0x0c, Offset: 0, Size: 8, Value: 100
    2.813534	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, 
ReportID: 0x0c, Offset: 8, Size: 16, Value: 540
    2.813559	Quick update...
    2.817362	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, 
ReportID: 0x15, Offset: 0, Size: 16, Value: -1
    2.823353	Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: 
Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0
    2.827345	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: 
Feature, ReportID: 0x16, Offset: 2, Size: 1, Value: 1
    2.827411	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: 
Feature, ReportID: 0x16, Offset: 1, Size: 1, Value: 0
    2.827507	Path: UPS.PowerSummary.PresentStatus.Charging, Type: 
Feature, ReportID: 0x16, Offset: 0, Size: 1, Value: 0
    2.827543	Path: 
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0
    2.831359	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8, Value: 0
    2.831428	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 
0x06, Offset: 8, Size: 8, Value: 0
    2.834366	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 1
    2.839367	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
    2.839452	Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, 
ReportID: 0x06, Offset: 16, Size: 8, Value: 8
    4.809750	upsdrv_updateinfo...


  Let me know if there is some information missing and thank you.



More information about the Nut-upsuser mailing list