-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce NUT handling for "ECO Mode" (status, commands) #2495
Comments
it seems we can set some voltage range for both modes like posted in #2492 (comment) |
I think this should be a detail of OL. OL should mean: input ok, UPS is supplying the load using input power. As to whether it is charging/inverting or not, that's a secondary thing. perfectly ok to have an "OL_MODE" variable. But as someone getting alerts, I care about are things ok or are they not, and I don't care that much about the green claims. (Those may or may not be important at purchase time, but we're not talking about that here.) Again, I want to organize the thinking by asking how it is used in monitoring/alerting. |
Well, depending on the load (is it a computer whose PSU is protected by capacitors or something else) it may be important to know in advance whether you expect a 5-10ms gap without power during the switch-over. Or if a lightning would strike directly your PC through a prepared circuit. Or conversely if you waste power on double-conversion when all seems good... |
Sure, you might care about that, but those are properties of the setup, more than that they are about what is happening now. I think it's fine to represent them. I just don't think we should blur them into a big-picture OL vs OB, fracturing OL into 3 and then needing a macro that says "is one of these true, so that regardless of technology, the system is in normal operation, with utility input power." If we care about the gap, then let's have a "switching time" variable that is in s (but will be ms) that is the time from loss of power on the output socket until it is good again. |
but found next :
|
I'll try to look for the missing proprietary Usage IDs (like ffff00ba) |
Well, FWIW - my "Eaton Ellipse ECO 650" does not seem to report the data points added with PR #2620 :
...so unless it hides the capability behind some other Usage IDs, I can't directly participate in testing of these ECO features :\ |
in case you need, posting debug nut log ... |
hey there, finally got the info:
side note: any HID Usage that starts with "i" (like iModel, iDesignator, ...) is the index of a string in the string descriptor hope it helps |
Cool, Thanks a lot. What hex id should be present in ups log for enable/disable the ECO/Bypass mode for Eaton? |
if you can extract and highlight these, that would save me some precious time. |
Do you need only hex number or path or the whole block where unknown? |
the full HID path with the unknown hex Usage ID, similar to UPS.OutletSystem.Outlet.[x].ffff00ba |
just to be sure : this case is ok becouse its found by another id ?
|
|
right, the Usages like 00ff0004 encodes an ID. Here, 4 for the 4th index which ends up as [4]. |
Thanks, posted above the missed values #2495 (comment) |
right, just need to find enough spare minutes to process this thing that is not related at all with my work :D |
ok, skipped a coffee break to make something you can play with. |
Oh , sorry for it , i was thinking you are retired... |
Thanks a lot for help ,will try ... |
Cant find in nut log "ECOControl" or 0xffff0085 , is that mean ECO Control not available in Eaton 9E by USB ? |
retired from opensource, to restore a crazy personal life :D E series, like 9E, are Entry level units, cheaper, but less features. |
it seems that HE - High Efficiency is the new name of ECO mode.
|
9E has only two buttons and The problem I don't have buttons combination on ups to enable eco by Eaton documents, will try to check.. Input[5]... |
yes found in nut log: |
What the real difference about Input.[1] - [5] ? |
these indexed collections are connected to the HW design, and link with the SW features. |
it seems some work made here for ECO Mode ... |
…ols#2495, networkupstools#2637] Signed-off-by: Jim Klimov <[email protected]>
, PR networkupstools#2637] Signed-off-by: Jim Klimov <[email protected]>
At the moment we do not even have a name for "ECO Mode" (as in "economic" or "ecological"; allegedly aka "High Efficiency"/"HE" or "eConversion") status in https://networkupstools.org/docs/developer-guide.chunked/new-drivers.html#_status_data while it apparently becomes a common feature (and reported state) on current devices.
Quite probably, every vendor or model series has their own definition.
By some accounts, the description of this ECO mode seems to be what was called "line-interactive" in the early days of UPSes (as opposed to "online", which kept wall and load on physically separate circuits with a battery and inverter in the middle), so powering load from the wall and switching over to battery when it goes out of range - maybe except the smart part of also waiting for 5 minutes on battery after a hiccup before switching back to wall. (Per #2254 (comment) for Riello at least)
For Eaton devices, per #430 (comment), the ECO range provides the ECO mode, which cut power on slaves outlets if power consumption on the master outlet goes below a certain threshold. This is usable in NUT, but I think I missed to document it. See
nut/drivers/mge-hid.c
Lines 1326 to 1329 in b7f7043
upsrw
onoutlet.power
.There are few hits to
git grep -wi eco drivers
already, which suggest that:huawei-ups2000.c
,apc-mib.c
andhuawei-mib.c
have mappings for"OL ECO"
or"OB ECO"
delta_ups-hid.c
has a hit for"on eco"
(lower-cased)mge-hid.c
seems to have many comments about it, and "pegasus" mappings for some model seriessocomec_jbus.c
has anupsdebugx()
message about it but no formalstatus_set()
tripplitesu.c
has a#define ECONOMIC_MODE "ECO"
macro which is not further referencednutdrv_qx_voltronic.c
inconveniently handles it as an alarm (suppress alarm = "UPS is in ECO Mode." #2494); also of note there is a "Converter Mode" alarm that has no name either... maybe (is it boost/trim or something else?)Another aspect raised in ML and tickets earlier is that there seems to be no way currently to manage such UPS mode through NUT. Per
git grep dstate_addcmd
, quite a few drivers seem to supportbypass.(start|stop)
commands, one forcalibrate.(start|stop)
, and a few wordings liketest.battery.(start|stop|quick...)
andtest.panel.*
-- so there's ample similar precedent for someeco{mode?}.(start|stop)
to become a thing syntax-wise.Alternatively, as per Eaton example noted above, this might be a setting (perhaps per-outlet) rather than a device-wide command (although the comment said "seen" not "set" albeit via
upsrw
).UPDATE: The coded notion of ECO concept as such (in headers, upsmon notifications, docs, C++ bindings, augeas...) is getting added by PR #2637
The text was updated successfully, but these errors were encountered: