Synology NAS Beeper

Disable / enable the beeper sound from a USB connected UPS in Synology DiskStation Manager | 2019

Based on this post from Moshi’s Blog.

Some time ago the power went off at 4am for a long time and I had to get up and shutdown the UPS in order to stop the beeping. The abovementioned post describes how to disable it permanently. Still, I did not want it to stop beeping during day time. The next steps and scripts are my solution to disable and enable the beeping during specific parts of the day (in my case between 00h and 09h).

Code Repository