Ctrl + Alt + Space
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] |