Alarm me when a specific mac address is connected

a long time ago I wrote this:

hostapd will run a script upon on event, you could then filter on the mac addr and e.g. send it to a a telegram bot with curl

curl -X POST \
     -H 'Content-Type: application/json' \
     -d '{"chat_id": "123456789", "text": ${MAC_ADDR}}' \
     https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage
1 Like