nutdotnet / WinNUT-Client

WinForms-based client for monitoring your Uninterruptible Power Supply (UPS) connected to a Network UPS Tools (NUT) server.
GNU General Public License v3.0
209 stars 19 forks source link

UPS load wattage calbrate #120

Closed alexmb2020 closed 10 months ago

alexmb2020 commented 10 months ago

Hi thank You for windows client!

Win NUT ver. 2.2.8719.24624 Win 11, 22H2

Hi, Is any way to calibrate wattage for UPS load? Need to multiply by 3 to have correct wattage, % is correct. UPS load is greyout in the calibration menu. Screenshot 2023-11-27 082502 Screenshot 2023-11-27 092054

Thank You! Alex

gbakeman commented 10 months ago

Hi @alexmb2020 , thank you for moving your post over here. I actually just spent some work on the Load calculation/display in #41, so it sounds like your UPS may have a special case that I need to address. The Calibration menu only affects dial ranges, and I figured that the dial should always be a percentage between 0 and 100%, so I disabled the customization there. You're saying that the percentage of max load is correct, but the displayed wattage is one third of what it should be. Would you please post the output of the UPS Variable List from the File menu?

Thank you!

alexmb2020 commented 10 months ago

UPS (CPS/OR2200PFCRT2U/Unknown) battery.charge (Description unavailable) : 100 battery.charge.low (Description unavailable) : 10 battery.charge.warning (Description unavailable) : 20 battery.mfr.date (Description unavailable) : CPS battery.runtime (Description unavailable) : 2280 battery.runtime.low (Description unavailable) : 300 battery.type (Description unavailable) : PbAcid battery.voltage (Description unavailable) : 24.0 battery.voltage.nominal (Description unavailable) : 24 device.mfr (Description unavailable) : CPS device.model (Description unavailable) : OR2200PFCRT2U device.type (Description unavailable) : ups driver.name (Description unavailable) : usbhid-ups driver.parameter.pollfreq (Description unavailable) : 30 driver.parameter.pollinterval (Description unavailable) : 5 driver.parameter.port (Description unavailable) : auto driver.parameter.synchronous (Description unavailable) : no driver.version (Description unavailable) : DSM7-2-1-NewModel-repack-64570-230831 driver.version.data (Description unavailable) : CyberPower HID 0.4 driver.version.internal (Description unavailable) : 0.41 input.voltage (Description unavailable) : 116.0 input.voltage.nominal (Description unavailable) : 120 output.voltage (Description unavailable) : 116.0 ups.beeper.status (Description unavailable) : disabled ups.delay.shutdown (Description unavailable) : 20 ups.delay.start (Description unavailable) : 30 ups.load (Description unavailable) : 26 ups.mfr (Description unavailable) : CPS ups.model (Description unavailable) : OR2200PFCRT2U ups.productid (Description unavailable) : 0601 ups.realpower.nominal (Description unavailable) : 516 ups.status (Description unavailable) : OL ups.test.result (Description unavailable) : No test initiated ups.timer.shutdown (Description unavailable) : -60 ups.timer.start (Description unavailable) : -60 ups.vendorid (Description unavailable) : 0764

gbakeman commented 10 months ago

Thank you for providing that. That's interesting, because I see your ups.realpower.nominal variable is available and I'm assuming that 516 is the correct amount of wattage for the time this was taken? WinNUT should have automatically detected that. Could you please attach your log file from WinNUT? You can find it in the "Miscellanous" tab, by clicking the document with a blue 'i'.

alexmb2020 commented 10 months ago

Its too big is it ok to add it to post?

Please see below

11/27/2023 10:44:34 AM [29096, Logger]: Windows NUT Client 2.2.8719.24624 Log file init

==== History of 200 previous events ====

[1] 11/27/2023 10:44:20 AM [29096, WinNUT]: Updating UPS data for Form.

[2] 11/27/2023 10:44:20 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[3] 11/27/2023 10:44:20 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[4] 11/27/2023 10:44:20 AM [29096, WinNUT]: Update Dial

[5] 11/27/2023 10:44:20 AM [29096, WinNUT]: Update Icon

[6] 11/27/2023 10:44:20 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[7] 11/27/2023 10:44:20 AM [29096, WinNUT]: Battery Status => Charged

[8] 11/27/2023 10:44:21 AM [29096, WinNUT]: Open Pref Gui From Menu

[9] 11/27/2023 10:44:21 AM [29096, Pref_Gui]: Load Pref Gui

[10] 11/27/2023 10:44:21 AM [29096, WinNUT]: Main Gui Lose Focus

[11] 11/27/2023 10:44:21 AM [29096, WinNUT]: Update Icon

[12] 11/27/2023 10:44:21 AM [29096, Pref_Gui]: Pref Gui Opened.

[13] 11/27/2023 10:44:21 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[14] 11/27/2023 10:44:21 AM [29096, UPS_Device]: output.frequency is not supported by server.

[15] 11/27/2023 10:44:21 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[16] 11/27/2023 10:44:21 AM [29096, UPS_Device]: input.frequency is not supported by server.

[17] 11/27/2023 10:44:21 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[18] 11/27/2023 10:44:21 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[19] 11/27/2023 10:44:21 AM [29096, WinNUT]: Updating UPS data for Form.

[20] 11/27/2023 10:44:21 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[21] 11/27/2023 10:44:21 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[22] 11/27/2023 10:44:21 AM [29096, WinNUT]: Update Dial

[23] 11/27/2023 10:44:21 AM [29096, WinNUT]: Update Icon

[24] 11/27/2023 10:44:21 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[25] 11/27/2023 10:44:21 AM [29096, WinNUT]: Battery Status => Charged

[26] 11/27/2023 10:44:22 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[27] 11/27/2023 10:44:22 AM [29096, UPS_Device]: output.frequency is not supported by server.

[28] 11/27/2023 10:44:22 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[29] 11/27/2023 10:44:22 AM [29096, UPS_Device]: input.frequency is not supported by server.

[30] 11/27/2023 10:44:22 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[31] 11/27/2023 10:44:22 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[32] 11/27/2023 10:44:22 AM [29096, WinNUT]: Updating UPS data for Form.

[33] 11/27/2023 10:44:22 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[34] 11/27/2023 10:44:22 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[35] 11/27/2023 10:44:22 AM [29096, WinNUT]: Update Dial

[36] 11/27/2023 10:44:22 AM [29096, WinNUT]: Update Icon

[37] 11/27/2023 10:44:22 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[38] 11/27/2023 10:44:22 AM [29096, WinNUT]: Battery Status => Charged

[39] 11/27/2023 10:44:23 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[40] 11/27/2023 10:44:23 AM [29096, UPS_Device]: output.frequency is not supported by server.

[41] 11/27/2023 10:44:23 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[42] 11/27/2023 10:44:23 AM [29096, UPS_Device]: input.frequency is not supported by server.

[43] 11/27/2023 10:44:23 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[44] 11/27/2023 10:44:23 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[45] 11/27/2023 10:44:23 AM [29096, WinNUT]: Updating UPS data for Form.

[46] 11/27/2023 10:44:23 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[47] 11/27/2023 10:44:23 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[48] 11/27/2023 10:44:23 AM [29096, WinNUT]: Update Dial

[49] 11/27/2023 10:44:23 AM [29096, WinNUT]: Update Icon

[50] 11/27/2023 10:44:23 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[51] 11/27/2023 10:44:23 AM [29096, WinNUT]: Battery Status => Charged

[52] 11/27/2023 10:44:23 AM [29096, Pref_Gui]: Setting LogControl statuses.

[53] 11/27/2023 10:44:24 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[54] 11/27/2023 10:44:24 AM [29096, UPS_Device]: output.frequency is not supported by server.

[55] 11/27/2023 10:44:24 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[56] 11/27/2023 10:44:24 AM [29096, UPS_Device]: input.frequency is not supported by server.

[57] 11/27/2023 10:44:24 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[58] 11/27/2023 10:44:24 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[59] 11/27/2023 10:44:24 AM [29096, WinNUT]: Updating UPS data for Form.

[60] 11/27/2023 10:44:24 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[61] 11/27/2023 10:44:24 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[62] 11/27/2023 10:44:24 AM [29096, WinNUT]: Update Dial

[63] 11/27/2023 10:44:24 AM [29096, WinNUT]: Update Icon

[64] 11/27/2023 10:44:24 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[65] 11/27/2023 10:44:24 AM [29096, WinNUT]: Battery Status => Charged

[66] 11/27/2023 10:44:25 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[67] 11/27/2023 10:44:25 AM [29096, UPS_Device]: output.frequency is not supported by server.

[68] 11/27/2023 10:44:25 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[69] 11/27/2023 10:44:25 AM [29096, UPS_Device]: input.frequency is not supported by server.

[70] 11/27/2023 10:44:25 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[71] 11/27/2023 10:44:25 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[72] 11/27/2023 10:44:25 AM [29096, WinNUT]: Updating UPS data for Form.

[73] 11/27/2023 10:44:25 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[74] 11/27/2023 10:44:25 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[75] 11/27/2023 10:44:25 AM [29096, WinNUT]: Update Dial

[76] 11/27/2023 10:44:25 AM [29096, WinNUT]: Update Icon

[77] 11/27/2023 10:44:25 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[78] 11/27/2023 10:44:25 AM [29096, WinNUT]: Battery Status => Charged

[79] 11/27/2023 10:44:26 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[80] 11/27/2023 10:44:26 AM [29096, UPS_Device]: output.frequency is not supported by server.

[81] 11/27/2023 10:44:26 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[82] 11/27/2023 10:44:26 AM [29096, UPS_Device]: input.frequency is not supported by server.

[83] 11/27/2023 10:44:26 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[84] 11/27/2023 10:44:26 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[85] 11/27/2023 10:44:26 AM [29096, WinNUT]: Updating UPS data for Form.

[86] 11/27/2023 10:44:26 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[87] 11/27/2023 10:44:26 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[88] 11/27/2023 10:44:26 AM [29096, WinNUT]: Update Dial

[89] 11/27/2023 10:44:26 AM [29096, WinNUT]: Update Icon

[90] 11/27/2023 10:44:26 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[91] 11/27/2023 10:44:26 AM [29096, WinNUT]: Battery Status => Charged

[92] 11/27/2023 10:44:27 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[93] 11/27/2023 10:44:27 AM [29096, UPS_Device]: output.frequency is not supported by server.

[94] 11/27/2023 10:44:27 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[95] 11/27/2023 10:44:27 AM [29096, UPS_Device]: input.frequency is not supported by server.

[96] 11/27/2023 10:44:27 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[97] 11/27/2023 10:44:27 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[98] 11/27/2023 10:44:27 AM [29096, WinNUT]: Updating UPS data for Form.

[99] 11/27/2023 10:44:27 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[100] 11/27/2023 10:44:27 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[101] 11/27/2023 10:44:27 AM [29096, WinNUT]: Update Dial

[102] 11/27/2023 10:44:27 AM [29096, WinNUT]: Update Icon

[103] 11/27/2023 10:44:27 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[104] 11/27/2023 10:44:27 AM [29096, WinNUT]: Battery Status => Charged

[105] 11/27/2023 10:44:28 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[106] 11/27/2023 10:44:28 AM [29096, UPS_Device]: output.frequency is not supported by server.

[107] 11/27/2023 10:44:28 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[108] 11/27/2023 10:44:28 AM [29096, UPS_Device]: input.frequency is not supported by server.

[109] 11/27/2023 10:44:28 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[110] 11/27/2023 10:44:28 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[111] 11/27/2023 10:44:28 AM [29096, WinNUT]: Updating UPS data for Form.

[112] 11/27/2023 10:44:28 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[113] 11/27/2023 10:44:28 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[114] 11/27/2023 10:44:28 AM [29096, WinNUT]: Update Dial

[115] 11/27/2023 10:44:28 AM [29096, WinNUT]: Update Icon

[116] 11/27/2023 10:44:28 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[117] 11/27/2023 10:44:28 AM [29096, WinNUT]: Battery Status => Charged

[118] 11/27/2023 10:44:29 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[119] 11/27/2023 10:44:29 AM [29096, UPS_Device]: output.frequency is not supported by server.

[120] 11/27/2023 10:44:29 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[121] 11/27/2023 10:44:29 AM [29096, UPS_Device]: input.frequency is not supported by server.

[122] 11/27/2023 10:44:29 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[123] 11/27/2023 10:44:29 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[124] 11/27/2023 10:44:29 AM [29096, WinNUT]: Updating UPS data for Form.

[125] 11/27/2023 10:44:29 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[126] 11/27/2023 10:44:29 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[127] 11/27/2023 10:44:29 AM [29096, WinNUT]: Update Dial

[128] 11/27/2023 10:44:29 AM [29096, WinNUT]: Update Icon

[129] 11/27/2023 10:44:29 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[130] 11/27/2023 10:44:29 AM [29096, WinNUT]: Battery Status => Charged

[131] 11/27/2023 10:44:30 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[132] 11/27/2023 10:44:30 AM [29096, UPS_Device]: output.frequency is not supported by server.

[133] 11/27/2023 10:44:30 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[134] 11/27/2023 10:44:30 AM [29096, UPS_Device]: input.frequency is not supported by server.

[135] 11/27/2023 10:44:30 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[136] 11/27/2023 10:44:30 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[137] 11/27/2023 10:44:30 AM [29096, WinNUT]: Updating UPS data for Form.

[138] 11/27/2023 10:44:30 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[139] 11/27/2023 10:44:30 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[140] 11/27/2023 10:44:30 AM [29096, WinNUT]: Update Dial

[141] 11/27/2023 10:44:30 AM [29096, WinNUT]: Update Icon

[142] 11/27/2023 10:44:30 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[143] 11/27/2023 10:44:30 AM [29096, WinNUT]: Battery Status => Charged

[144] 11/27/2023 10:44:31 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[145] 11/27/2023 10:44:31 AM [29096, UPS_Device]: output.frequency is not supported by server.

[146] 11/27/2023 10:44:31 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[147] 11/27/2023 10:44:31 AM [29096, UPS_Device]: input.frequency is not supported by server.

[148] 11/27/2023 10:44:31 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[149] 11/27/2023 10:44:31 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[150] 11/27/2023 10:44:31 AM [29096, WinNUT]: Updating UPS data for Form.

[151] 11/27/2023 10:44:31 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[152] 11/27/2023 10:44:31 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[153] 11/27/2023 10:44:31 AM [29096, WinNUT]: Update Dial

[154] 11/27/2023 10:44:31 AM [29096, WinNUT]: Update Icon

[155] 11/27/2023 10:44:31 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[156] 11/27/2023 10:44:31 AM [29096, WinNUT]: Battery Status => Charged

[157] 11/27/2023 10:44:32 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[158] 11/27/2023 10:44:32 AM [29096, UPS_Device]: output.frequency is not supported by server.

[159] 11/27/2023 10:44:32 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[160] 11/27/2023 10:44:32 AM [29096, UPS_Device]: input.frequency is not supported by server.

[161] 11/27/2023 10:44:32 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[162] 11/27/2023 10:44:32 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[163] 11/27/2023 10:44:32 AM [29096, WinNUT]: Updating UPS data for Form.

[164] 11/27/2023 10:44:32 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[165] 11/27/2023 10:44:32 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[166] 11/27/2023 10:44:32 AM [29096, WinNUT]: Update Dial

[167] 11/27/2023 10:44:32 AM [29096, WinNUT]: Update Icon

[168] 11/27/2023 10:44:32 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[169] 11/27/2023 10:44:32 AM [29096, WinNUT]: Battery Status => Charged

[170] 11/27/2023 10:44:33 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[171] 11/27/2023 10:44:33 AM [29096, UPS_Device]: output.frequency is not supported by server.

[172] 11/27/2023 10:44:33 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[173] 11/27/2023 10:44:33 AM [29096, UPS_Device]: input.frequency is not supported by server.

[174] 11/27/2023 10:44:33 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[175] 11/27/2023 10:44:33 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[176] 11/27/2023 10:44:33 AM [29096, WinNUT]: Updating UPS data for Form.

[177] 11/27/2023 10:44:33 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[178] 11/27/2023 10:44:33 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[179] 11/27/2023 10:44:33 AM [29096, WinNUT]: Update Dial

[180] 11/27/2023 10:44:33 AM [29096, WinNUT]: Update Icon

[181] 11/27/2023 10:44:33 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[182] 11/27/2023 10:44:33 AM [29096, WinNUT]: Battery Status => Charged

[183] 11/27/2023 10:44:34 AM [29096, UPS_Device]: Enter Retrieve_UPS_Datas

[184] 11/27/2023 10:44:34 AM [29096, UPS_Device]: output.frequency is not supported by server.

[185] 11/27/2023 10:44:34 AM [29096, UPS_Device]: Apply Fallback Value when retrieving output.frequency

[186] 11/27/2023 10:44:34 AM [29096, UPS_Device]: input.frequency is not supported by server.

[187] 11/27/2023 10:44:34 AM [29096, UPS_Device]: Apply Fallback Value when retrieving input.frequency

[188] 11/27/2023 10:44:34 AM [29096, UPS_Device]: UPS statuses have not changed since last update, skipping.

[189] 11/27/2023 10:44:34 AM [29096, WinNUT]: Updating UPS data for Form.

[190] 11/27/2023 10:44:34 AM [29096, WinNUT]: Updating battery icons based on charge percent: 100%

[191] 11/27/2023 10:44:34 AM [29096, WinNUT]: Calculated estimated remaining battery time: 00:39:00

[192] 11/27/2023 10:44:34 AM [29096, WinNUT]: Update Dial

[193] 11/27/2023 10:44:34 AM [29096, WinNUT]: Update Icon

[194] 11/27/2023 10:44:34 AM [29096, WinNUT]: NotifyIcon Text =>

WinNUT Client - 2.2

Connected

On Line

Battery OK

[195] 11/27/2023 10:44:34 AM [29096, WinNUT]: Battery Status => Charged

[196] 11/27/2023 10:44:34 AM [29096, Pref_Gui]: Save Parameters.

[197] 11/27/2023 10:44:34 AM [29096, Pref_Gui]: Pref_Gui Params Saved

[198] 11/27/2023 10:44:34 AM [29096, Pref_Gui]: Setting LogControl statuses.

[199] 11/27/2023 10:44:34 AM [29096, WinNUT]: Beginning WinNUT_PrefsChanged subroutine.

[200] 11/27/2023 10:44:34 AM [29096, Logger]: Windows NUT Client 2.2.8719.24624 Log file init

==== Begin Live Log ====

11/27/2023 10:44:34 AM [29096, WinNUT]: Connection parameters Changed. Force Reconnect

11/27/2023 10:44:34 AM [29096, WinNUT]: Disconnected from Nut Host

11/27/2023 10:44:34 AM [29096, WinNUT]: Client UPS_Connect subroutine beginning.

11/27/2023 10:44:34 AM [29096, Nut_Socket]: Attempting TCP socket connection to NetStation:3493...

11/27/2023 10:44:36 AM [29096, Nut_Socket]: Connection established and streams ready for NetStation:3493

11/27/2023 10:44:36 AM [29096, Nut_Socket]: Attempting authentication...

11/27/2023 10:44:36 AM [29096, Nut_Socket]: NUT server reports VER: DSM7-2-1-NewModel-repack-64570-230831 NETVER: 1.2

11/27/2023 10:44:36 AM [29096, UPS_Device]: Using NominalPowerCalc method to calculate power usage.

11/27/2023 10:44:36 AM [29096, WinNUT]: Connection to Nut Host Established

11/27/2023 10:44:36 AM [29096, WinNUT]: WinNut Preferences Applied.

From: gbakeman @.> Sent: Monday, November 27, 2023 10:22 AM To: nutdotnet/WinNUT-Client @.> Cc: alexmb2020 @.>; Mention @.> Subject: Re: [nutdotnet/WinNUT-Client] UPS load wattage calbrate (Issue #120)

Thank you for providing that. That's interesting, because I see your ups.realpower.nominal variable is available and I'm assuming that 516 is the correct amount of wattage for the time this was taken? WinNUT should have automatically detected that. Could you please attach your log file from WinNUT? You can find it in the "Miscellanous" tab, by clicking the document with a blue 'i'.

— Reply to this email directly, view it on GitHub https://github.com/nutdotnet/WinNUT-Client/issues/120#issuecomment-1828382374 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3PWA6SI34Y3BJWJFD7UZDYGTK5FAVCNFSM6AAAAAA74MMQ66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGM4DEMZXGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AQ3PWAZQJPDHO5SLGXZ7Y63YGTK5FA5CNFSM6AAAAAA74MMQ66WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTM7LTKM.gif Message ID: @. @.> >

gbakeman commented 10 months ago

Thank you - this confirms that WinNUT is getting load information from the ups.realpower.nominal and ups.load variables. I noticed that your UPS model says it supports about 1400W of power, although the nominal realpower variables says 516. I think that's why the reported power is about a third of what you're expecting. I'm just trying to make sure I fully understand the problem so I can make a fix that benefits as many people as possible.

I think the first order of business is understanding why it reports the nominal realpower as 516. This could be a bug in the UPS firmware, or a bug with the driver NUT's upsd uses. Either way, it looks like your exact model of UPS isn't officially supported so you may want to open an issue with the NUT people to have them take a closer look at this.

In the meantime, I know a simple solution would be to just override/manually specify the max power of the UPS. I'll create a new issue for something like this and provide a link to you.

alexmb2020 commented 10 months ago

Hi, Thank You for your time and support

Alex

From: gbakeman @.> Sent: Monday, November 27, 2023 12:07 PM To: nutdotnet/WinNUT-Client @.> Cc: alexmb2020 @.>; Mention @.> Subject: Re: [nutdotnet/WinNUT-Client] UPS load wattage calbrate (Issue #120)

Thank you - this confirms that WinNUT is getting load information from the ups.realpower.nominal and ups.load variables. I noticed that your UPS model says it supports about 1400W of power, although the nominal realpower variables says 516. I think that's why the reported power is about a third of what you're expecting. I'm just trying to make sure I fully understand the problem so I can make a fix that benefits as many people as possible.

I think the first order of business is understanding why it reports the nominal realpower as 516. This could be a bug in the UPS firmware, or a bug with the driver NUT's upsd uses. Either way, it looks like your exact model of UPS isn't officially supported so you may want to open an issue https://github.com/networkupstools/nut/issues with the NUT people to have them take a closer look at this.

In the meantime, I know a simple solution would be to just override/manually specify the max power of the UPS. I'll create a new issue for something like this and provide a link to you.

— Reply to this email directly, view it on GitHub https://github.com/nutdotnet/WinNUT-Client/issues/120#issuecomment-1828509234 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3PWA6N3R3XOVX3CF65MLDYGTXENAVCNFSM6AAAAAA74MMQ66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGUYDSMRTGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AQ3PWA26WK6YL3IN63QYF6DYGTXENA5CNFSM6AAAAAA74MMQ66WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTM7TLDE.gif Message ID: @. @.> >

gbakeman commented 10 months ago

I realized we have an issue open that can address this; please subscribe to #69 as that should address what you need. In the meantime, please consider opening that issue with the NUT people as that may give you a more direct solution to the problem you're experiencing. I think I may close this issue unless there's something else specific you'd like me to address.