i looking for a way to check if a MAC address is connected by WiFi and when the last activity was, preferably via Python.
I want to use it as an alive monitor for IOT devices (like ESP32) and for Presence detection of family member (home/away via their smartphones).
Can somebody help me on the way please?
I have found librouterOS that facilitates commands and I think maybe via arp list or torch I may have success.
Preferably a system that is "energy friendly" on de remote device (eg no ping ...).