When a new device is connects to my OpenWRT router, I get a notification on Gotify. This serves as a good low-key intrusion detection along with my earlier OpenWRT login alerts. Heavy lifting was already done by Brandon McFarlin, I had to just modify the code to send messages to Gotify instead of MQTT. #!/bin/sh cat << "EOF" > /etc/hotplug.d/dhcp/90-newdev [ "$ACTION" == "add" ] || exit 0 # [ "$ACTION" == "add" -o "$ACTION" == "update" ] || exit 0 known_macs="/etc/known_macs" if !