calzor suzay
Regular Contributor
I currently run a presence detection script that picks up a few devices to see if we're home or not and update/do something with the home automation.
This worked great when I just had an RT68U but now I have a RT86U as primary and the RT68U as a node in AiMesh, both on latest merlin build.
I migrated the script to the 86U, had to tweak eth1 and eth2 to eth5 & 6 but then noticed if I roam across to the 68U it thinks I've left the network.
I'm assuming as the wl -i eth(5&6) assoclist | awk MAC is only checking the local router not the 'mesh'.
Can it be run from 86U as one command or do I need to setup a separate cron job on the 68U.
If so the 68U no longer has a USB drive etc where would I save the script to and setup the cron job so it's not wiped on a reboot?
This worked great when I just had an RT68U but now I have a RT86U as primary and the RT68U as a node in AiMesh, both on latest merlin build.
I migrated the script to the 86U, had to tweak eth1 and eth2 to eth5 & 6 but then noticed if I roam across to the 68U it thinks I've left the network.
I'm assuming as the wl -i eth(5&6) assoclist | awk MAC is only checking the local router not the 'mesh'.
Can it be run from 86U as one command or do I need to setup a separate cron job on the 68U.
If so the 68U no longer has a USB drive etc where would I save the script to and setup the cron job so it's not wiped on a reboot?