-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Changing the shutdown battery level for UPS Legrand #2014
Comments
For |
Generally, though, you might have to set such value in And note there is currently an open discussion whether this works as it should (at least as far as propagating the value into the device, for UPSes that do not remember settings after power cycling) => #1993 |
Here my configuration of upsd upsd.conf upsd.users when i use the command : upsrw -s battery.charge.low=40 Legrand@192.168.1.10 Username (root) : admin |
Unexpected response from upsd: ERR VAR-NOT-SUPPORTED |
Seems right regarding credentials (and since it no longer complains about access denied - OS permissions on the file are also ok) |
So the remaining bit is that this var for this subdriver is not defined, possibly the device does not handle it, or the driver authors were not aware of protocol bits to request/query the value (if they exist). At least it is not in the mapping https://github.com/networkupstools/nut/blob/v2.8.0/drivers/nutdrv_qx_megatec.c A few subdrivers do have this mapping, and it is very different among them. |
I think there were some discussions over time, recently too, that an "LB" state could be raised by the drivers generally (or by Alternatives per discussion could be to take a look at |
I didnt get it, what i can try or configure to solve it ? |
As a quick approach, I'd suggest investigating (googling) if I am a bit surprised to not see a built-in solution based on those measurements after the decades that NUT is out there, so maybe I'm missing or forgetting something (and/or spoiled by experience with more capable devices/drivers which did not need workarounds), but it seems that currently it is not there, or too well hidden :) I'll ask if the mailing list users have fresher experience with that. |
Hello
i want to know how i can change the shutdown battery charge level, so my nut client linux host shutdown when for exemple the battery level fall to 40%
i tried with upsrw command in a client nut server :
i got this error message
here the information of my UPS :
Please can you help, i don't find the solution in the internet
MAINTAINER NOTE: Slightly edited with markdown for readability
The text was updated successfully, but these errors were encountered: