-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
apcupsd-ups: Override battery.charge.low #736
Comments
You did restart the If not, I'm wondering if there was some sort of parse error on I don't have things set up to test that driver right now, and nothing is jumping out at me when I look at the code. If the above two suggestions don't work, please stop the driver, and manually restart it with debug level 2 or more (e.g. |
Well, i just did
replaced Logs:
Feels like the log should be longer,?! |
Theoretically, if FreeNAS is using the same startup scripts as FreeBSD Ports. It should call I was looking at the wrong line for the debug level. You'll need |
root@freenas:~ # cat /tmp/apcupsd.log
doesn't look like there is any override happening with a value of |
Argh, I forgot that this driver does a |
Oh wow, yeah i see it. set on line 3 correctly, deleted override with the wrong values. |
In general, You might be able to change |
I'm not sure if FreeNAS allows that. Because of its appliance state it's not designed to install compilers and other packages the way i know it from debian/apt-get ... |
I think people have had success with finding the corresponding FreeBSD version, building NUT there, and copying the binaries over to FreeNAS [citation needed]. But probably best not to experiment without a backup system. |
Well, was kinda confusing to compile nut (or the apcupsd-ups driver) on FreeBSD 11.1 but i did it.
I'll test if the shutdown at 30% battery capacity works as expected tomorrow. |
Cool. If you wouldn't mind, could you please create a wiki page with any tips on compilation, or links that you used? Feel free to use the Debian/Ubuntu one as a model: https://github.com/networkupstools/nut/wiki/Building-NUT-on-Debian,-Raspbian-and-Ubuntu I will try to figure out whether we can add |
Done, it's not perfect and my english language skills might not be perfect, but this is what i did: I could share my compiled apcupsd-ups driver if needed. |
Can we expect a fix in the upstream release anytime soon? Just stumbled across the same issue. Building the driver itself is not a huge problem but it makes things a lot more complicated for automatic deployment using docker images :/ |
Hey,
i tried to setup Freenas as slave using a RaspberryPi on the UPS with apcupsd as master.
Now I want to override the charge.low value. But it seems like it is not possible with the apcupsd-ups driver?
What am I doing wrong?
ups.conf:
root@freenas:~ # upsc ups
And yes i could modify the apcupsd.conf but that's not what i want.
Freenas should shutdown earlier than the other clients.
Greetings
The text was updated successfully, but these errors were encountered: