Skip to content

Commit eecb8d3

Browse files
authored
Merge pull request #2956 from masterwishx/ECOmode-auto-addon2-todo
ECOmode-auto-addon2-todo
2 parents 9f76f3f + f339783 commit eecb8d3

File tree

5 files changed

+303
-44
lines changed

5 files changed

+303
-44
lines changed

NEWS.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,15 @@ https://github.com/networkupstools/nut/milestone/9
202202
report back to the driver that an argument value was not supported,
203203
so `setvar()` or `instcmd()` can not proceed safely and should return
204204
`STAT_SET_CONVERSION_FAILED` or `STAT_INSTCMD_CONVERSION_FAILED`. [#3017]
205+
* `hid_ups_walk(HU_WALKMODE_INIT)`: report if exactly one of "fun" or "nuf"
206+
dynamic value mapping methods is defined in a one-line table, and this
207+
may preclude reads/writes of that variable. [#2956]
205208
* The `cps-hid` subdriver's existing mechanism for fixing broken report
206209
descriptors was extended to cover a newly reported case of nominal UPS
207210
power being incorrectly reported due to an unrealistically low maximum
208211
threshold, as seen with a EC850LCD device. [issue #2917, PR #2919]
212+
* Further revision of "ECO mode" related code in `mge-hid` subdriver,
213+
following up from work started for NUT v2.8.3 release. [PR #2956]
209214
* Added APC BVKxxxM2 and BKxxxM2-CH to list of devices where
210215
`lbrb_log_delay_sec=N` may be necessary to address spurious LOWBATT
211216
and REPLACEBATT events. [PR #2942, PR #3007, issue #2347, issue #3006]

data/cmdvartab

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,12 @@ CMDDESC calibrate.start "Start run time calibration"
258258
CMDDESC calibrate.stop "Stop run time calibration"
259259
CMDDESC bypass.start "Put the UPS in Bypass mode"
260260
CMDDESC bypass.stop "Take the UPS out of Bypass mode"
261-
CMDDESC experimental.ecomode.enable "Put UPS in High Efficiency (aka ECO) mode"
262-
CMDDESC experimental.ecomode.disable "Take the UPS out of High Efficiency (aka ECO) mode"
263-
CMDDESC experimental.essmode.enable "Put UPS in Energy Saver System (aka ESS) mode"
264-
CMDDESC experimental.essmode.disable "Take the UPS out of Energy Saver System (aka ESS) mode"
261+
CMDDESC experimental.ecomode.start "Put UPS in High Efficiency (aka ECO) mode"
262+
CMDDESC experimental.ecomode.stop "Take the UPS out of High Efficiency (aka ECO) mode"
263+
CMDDESC experimental.bypass.ecomode.start "Put UPS in Bypass mode then High Efficiency (aka ECO) mode"
264+
CMDDESC experimental.bypass.ecomode.stop "Take the UPS out of High Efficiency (aka ECO) mode after exiting Bypass mode"
265+
CMDDESC experimental.essmode.start "Put UPS in Energy Saver System (aka ESS) mode"
266+
CMDDESC experimental.essmode.stop "Take the UPS out of Energy Saver System (aka ESS) mode"
265267
CMDDESC experimental.test.beeper.start "Start testing the UPS beeper"
266268
CMDDESC experimental.test.beeper.stop "Stop a UPS beeper test"
267269
CMDDESC reset.input.minmax "Reset minimum and maximum input voltage status"

docs/nut-names.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,13 +1055,17 @@ to last as part of NUT standard protocol in the long run.
10551055
[options="header"]
10561056
|========================================================================
10571057
| Name | Driver/Devices | Description
1058-
| experimental.ecomode.enable | usbhid-ups => mge-hid (Eaton/MGE)
1058+
| experimental.ecomode.start | usbhid-ups => mge-hid (Eaton/MGE)
10591059
| Put UPS in High Efficiency (aka ECO) mode
1060-
| experimental.ecomode.disable | usbhid-ups => mge-hid (Eaton/MGE)
1060+
| experimental.ecomode.stop | usbhid-ups => mge-hid (Eaton/MGE)
10611061
| Take the UPS out of High Efficiency (aka ECO) mode
1062-
| experimental.essmode.enable | usbhid-ups => mge-hid (Eaton/MGE)
1062+
| experimental.bypass.ecomode.start | usbhid-ups => mge-hid (Eaton/MGE)
1063+
| Put UPS in Bypass mode then High Efficiency (aka ECO) mode
1064+
| experimental.bypass.ecomode.stop | usbhid-ups => mge-hid (Eaton/MGE)
1065+
| Take the UPS out of High Efficiency (aka ECO) mode after exiting Bypass mode
1066+
| experimental.essmode.start | usbhid-ups => mge-hid (Eaton/MGE)
10631067
| Put UPS in Energy Saver System (aka ESS) mode
1064-
| experimental.essmode.disable | usbhid-ups => mge-hid (Eaton/MGE)
1068+
| experimental.essmode.stop | usbhid-ups => mge-hid (Eaton/MGE)
10651069
| Take the UPS out of Energy Saver System (aka ESS) mode
10661070
|========================================================================
10671071

0 commit comments

Comments
 (0)