====== Disable APC UPS Beeper ====== I was about to go to bed, and my UPS started beeping once per second to tell me to get a new battery. I began searching for how to disable the beeping so I could get some sleep - starting with searching the UPS for an STFU button.

I already had NUT (Network UPS Tools) installed, so the command was actually very easy once I knew what I was looking for.

/etc/nut/ups.conf:

[smart1500] driver = usbhid-ups port = auto /etc/nut/upsd.users: [admin] password = admin allowfrom = localhost acctions = SET instcmds = ALL # upscmd -l smart1500 Instant commands supported on UPS [smart1500]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test test.panel.start - Start testing the UPS panel test.panel.stop - Stop a UPS panel test # upscmd smart1500 beeper.disable Username (root): admin Password: