Exporting information of associated stations over local network

I'm currently trying to use the information of associated stations to figure out whether my house is empty or not, so I could automatically adjust the heating and air conditioning settings accordingly.

On my desktop PC, I have a small Python script which I use to collect data from various places and do all the necessary things. So my question is, is it possible to fetch the associated stations data from the router directly, or if it's not, is it possible to set a timer in the router to export that information to a shared folder on the PC which I could then read in the script?

Have a look at this. Other than that you can run a script over ssh, e.g ssh root@openwrt.lan /path/of/script or you could setup a cronjob to send a file with scp to your desktop.

1 Like

Thank you, that looks quite handy.