Skip to content

Instantly share code, notes, and snippets.

@snevas
Last active May 16, 2025 13:17
Show Gist options
  • Save snevas/8f3364293c7d8a5008ff99f485e9a27e to your computer and use it in GitHub Desktop.
Save snevas/8f3364293c7d8a5008ff99f485e9a27e to your computer and use it in GitHub Desktop.
UDR led blinker on doorbell ring
# Start en enable service. Replace "Deurbel" with the name of the doorbell camera
[Unit]
Description=LEDs Deurbel ring
After=unifi-protect.service
[Service]
ExecStart=/bin/bash -c "tail -Fn0 /ssd1/.data/unifi-protect/logs/automationManager.log | grep --line-buffered 'Ring: Deurbel' | while read line; do uled-ctrl blink 500 008000 FF0000 && sleep 10 &&uled-ctrl fw idle; done"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment