Quote from: FullyBorked on March 22, 2021, 04:13:19 pmQuote from: genesysguy on March 22, 2021, 04:02:16 pmI did a fresh install yesterday and ran into the same issue with my Cyberpower UPS.When I looked into the ups.conf file located at /usr/local/etc/nut, I noticed that opnsense was adding several (3) configs for the ups in the file. I removed the configs that didn't pertain and was left with:# Please don't modify this file as your changes might be overwritten with# the next update.#[CP1500PFCLCD]driver=usbhid-upsport=autoAfter saving and rebooting, it worked. But since there isn't a widget for the UPS like in pfSense, I'm wondering why I wasted so much time mucking with it.This might explain something too, my config file is pretty much blank.Code: [Select]# Please don't modify this file as your changes might be overwritten with# the next update.#MODE=standalone~~You are looking at nut.conf, not ups.conf
Quote from: genesysguy on March 22, 2021, 04:02:16 pmI did a fresh install yesterday and ran into the same issue with my Cyberpower UPS.When I looked into the ups.conf file located at /usr/local/etc/nut, I noticed that opnsense was adding several (3) configs for the ups in the file. I removed the configs that didn't pertain and was left with:# Please don't modify this file as your changes might be overwritten with# the next update.#[CP1500PFCLCD]driver=usbhid-upsport=autoAfter saving and rebooting, it worked. But since there isn't a widget for the UPS like in pfSense, I'm wondering why I wasted so much time mucking with it.This might explain something too, my config file is pretty much blank.Code: [Select]# Please don't modify this file as your changes might be overwritten with# the next update.#MODE=standalone~~
I did a fresh install yesterday and ran into the same issue with my Cyberpower UPS.When I looked into the ups.conf file located at /usr/local/etc/nut, I noticed that opnsense was adding several (3) configs for the ups in the file. I removed the configs that didn't pertain and was left with:# Please don't modify this file as your changes might be overwritten with# the next update.#[CP1500PFCLCD]driver=usbhid-upsport=autoAfter saving and rebooting, it worked. But since there isn't a widget for the UPS like in pfSense, I'm wondering why I wasted so much time mucking with it.
# Please don't modify this file as your changes might be overwritten with# the next update.#MODE=standalone~~
root@OPNsense:/usr/local/etc/nut # vi nut.conf# Please don't modify this file as your changes might be overwritten with# the next update.#MODE=standalone
@genesysguy editing the ups.conf file fixed it. It works now. I had some extra lines too. Now that it's added I assume OPNsense will now power down if the battery gets critical? Didn't see any config for that part so assume that's predefined somewhere else.