Skip to content

Instantly share code, notes, and snippets.

@HomeFlix
HomeFlix / bellchange.sh
Last active May 8, 2026 14:47
Auto replace of default chime.wav with custom.wav for Unifi G4 Doorbell Pro
#!/bin/bash
clear
if [ "$1" = "" ]
then
echo "Usage: $0 <Custom wav filename in current dir to use>"
ls *.wav
exit 1
fi
echo "Step 1 ..."
sshpass -p<Unifi-Protect-Password> ssh root@<Unifi-Protect-IP> << EOF