So where do I start.
The infrastructure available to me includes a number of Mikrotik wireless routers that have been interconnected. These routers all run the same wifi SSID and keys and have each been configured with a local DHCP.
What I would like to do is track devices as they move between these routers and assign different zones accordingly. Currently I am able to poll each router via SNMP and obtain the connected devices, however these are all assigned against the “home” zone.
# Device tracker
device_tracker:
- platform: snmp
host: mikrotik router1 ip
community: public
baseoid: 1.3.6.1.2.1.4.22.1.2
- platform: snmp
host: mikrotik router2 ip
community: public
baseoid: 1.3.6.1.2.1.4.22.1.2
Any idea how devices tracked via Router1 could be assigned to zone1 and devices tracked via router2 could be assigned to zone2?
Thanks