-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
ecomode_addon-2 #2684
ecomode_addon-2 #2684
Conversation
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
❌ Build nut 2.8.2.2368-master failed (commit e298656580 by @masterwishx) |
✅ Build nut 2.8.2.2369-master completed (commit 813fcec36b by @masterwishx) |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
@arnaudquette-eaton Very sorry to bother you again ,maybe you can find info about:
|
no need to be sorry @masterwishx , I'm always happy to help ;) Desc: Item of Bypass AC Input collection RW 0: The automatic transfer on bypass is not allowed Hope it helps |
Thanks a lot , so its like as you know we now have ECO/Bypass enabled with your help for HID info! the only problem i cant exit from ECO to bypass by r/w values or commands bypass.on/off , but maybe its local issue for my UPS with timeouts .... Also will try to add function for auto enter to ECO mode ( bypass.on + ECO + bypass.off) but still cant test exit from ECO :( |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
added values if you think they usefull ? |
❌ Build nut 2.8.2.2373-master failed (commit 87e718f5df by @masterwishx) |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
✅ Build nut 2.8.2.2374-master completed (commit 09443bb338 by @masterwishx) |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
CC @arnaudquette-eaton can you please check and confirm that we can exit from ECO mode by : |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
❌ Build nut 2.8.2.2383-master failed (commit 985fb4d495 by @masterwishx) |
✅ Build nut 2.8.2.2386-master completed (commit 72fd7b8e62 by @masterwishx) |
❌ Build nut 2.8.2.2441-master failed (commit 201eb0399f by @masterwishx) |
Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
…bles but still have ability to enter Bypass mode Signed-off-by: DaRK AnGeL <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
@arnaudquette-eaton @jimklimov @desertwitch it seems if we return NULL from function its just not return value (not to get the value published) but proceeding the command or r/w variable or not? Line 1010 in f99109d
|
Signed-off-by: DaRK AnGeL <[email protected]>
Can't say quickly and reliably; please check the caller logic in |
I will try to check , asked becouse user tested ecomode in #2685 was need not able to enter to eco becouse of return NULL in case of no vars of eco limits ... Lines 711 to 733 in c83ebd4
|
Signed-off-by: DaRK AnGeL <[email protected]>
should be fixed in last commit |
Signed-off-by: DaRK AnGeL <[email protected]>
@jimklimov please check when you have time if can be merged |
…ecl type and varname) [networkupstools#2684] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: DaRK AnGeL <[email protected]>
…kupstools#2684, networkupstools#1737] Signed-off-by: Jim Klimov <[email protected]>
Seems reasonable code-wise, applied a bit of cleaning and waiting for CI to agree :) |
@jimklimov can be merged? |
I guess it would now be pending the discussion results in #2708, whether to remove The rest seems good though, so can merge it anyway and take care of removal and changes in a next PR. |
OK. My main task was to add and enable the missing Bypass/ECO modes for Eaton usb driver. |
add-on for #2637,#2680 ECO/Bypass for Eaton Models
@jimklimov In this new pr we can:
You think we can add ESS stuff also, however
Only enterprise UPSes have it?
[ Done ] We can add also post limits not passed in debug when check range eco/bypass func.
[ Done ] added variables:
[ Done ] ESS added to usbhid-ups.c
[ Done ] Refactoring :
eaton_input_bypass_check_range()
,eaton_input_eco_check_range()
CC @jimklimov please confirm if it needed .
Also for now can't leave eco mode by commands but maybe Becouse my ussue with timeout, not sure...