Last active
May 16, 2025 13:17
-
-
Save snevas/8f3364293c7d8a5008ff99f485e9a27e to your computer and use it in GitHub Desktop.
UDR led blinker on doorbell ring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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