is there a way to trigger a command when a device associates/disassociates from my AP?
(ideally also a connect disconnect event on the LAN ports)
I was expecting/hoping for a built-in event that could trigger an action, cfr hotplug or via ubus listen maybe?
all recipes i've found rely on some sort of polling e.g. a (lua) script/cron job that calls iwinfo than parsing/diffing for changes or parsing the log for assoc events.
Is there such a mechanism available within LEDE/wrt?
(maybe i've been looking in all the wrong places)