Asuswrt Device tracker presence needs some updating of attributes who is up for a challenge?

Dear Developers,

Can someone please point me the right way…

We have 7 asus routers all RT-AC67U in aimesh connected together on our site. On the main router I found a clientlist.json file. In it I see the mac address of each node and who or what is connected. Did a few tests e.g. Moved my devices to another Nodes and my phoned moved nicely with the correct change in this clientlist.json file, great !!

Now how to get it as a tracker into HA?

So my question how can I best import this data as a tracker into HA, So I can see where my mobile is connected to, garage node or living room?

I have installed ASUSWRT but this only allows to see ALL connected devices, we cannot see to which node it connects too.

Any help is appreciated, hopefully someone knows how to get this into ASUSWRT

I am fully available for testings and debugging if needed

Have converted the json to yaml to make it better readable for this post. :

4C:ED:FB:C2:FA:D8:  **<-- Node Garage**
  5G:
    1E:74:03:B5:01:08:
      ip: 192.168.2.216
      rssi: "-71"
    40:98:AD:45:59:B4:
      ip: 192.168.2.54
      rssi: "-76"
    8E:E5:F1:BE:2C:A6:
      ip: 192.168.2.48
      rssi: "-70"
  wired_mac:
    04:D9:F5:91:B8:38:
      ip: 192.168.2.183
    BE:C8:4F:7C:46:D9:
      ip: 192.168.2.38
4C:ED:FB:C2:F8:30:    **<-- Node Living room**
  2G:
    8C:B8:4A:A0:17:1A:
      ip: 192.168.2.198
      rssi: "-36"
    F8:32:E4:A9:5B:58:
      ip: 192.168.2.154
      rssi: "-53"
  5G:
    18:20:32:F4:00:D9:
      ip: 192.168.2.193
      rssi: "-64"
04:D9:F5:94:C3:08: {}     **<-- Node Terrace with no clients**
4C:ED:FB:C3:F5:38:
  2G:

On the main router of my ASUS:
cat /tmp/clientlist.json
{"4C:ED:FB:C3:F0:40":{"2G":{"F0:EF:86:25:D0:CF":{"ip":"192.168.2.51","rssi":"-65"},"BC:DD:C2:58:4A:0B":{"ip":"192.168.2.240","rssi":"-70"},"34:29:8F:1E:EC:32":{"ip":"192.168.2.170","rssi":"-71"},"D4:F5:47:A1:BC:3B":{"ip":"192.168.2.122","rssi":"-66"},"34:29:8F:1E:EC:D3":{"ip":"192.168.2.106","rssi":"-66"},"92:B5:33:30:53:1A":{"ip":"192.168.2.242","rssi":"-64"},"E0:AC:CB:80:43:64":{"ip":"192.168.2.30","rssi":"-67"},"DC:A6:32:00:1F:18":{"ip":"192.168.2.10","rssi":"-61"},"50:77:05:E1:9D:A0":{"ip":"192.168.2.56","rssi":"-66"},"34:29:8F:1E:EE:32":{"ip":"192.168.2.62","rssi":"-62"},"C4:8E:8F:62:FB:5E":{"ip":"192.168.2.212","rssi":"-39"},"B8:27:EB:64:E4:D1":{"ip":"192.168.2.55","rssi":"-54"}},"wired_mac":{"04:D9:F5:91:B8:38":{"ip":"192.168.2.183"},"04:D9:F5:94:C3:08":{"ip":"192.168.2.105"},"40:98:AD:45:59:B4":{"ip":"192.168.2.54"},"4C:ED:FB:C2:EC:00":{"ip":"192.168.2.160"},"4C:ED:FB:C2:FA:D8":{"ip":"192.168.2.72"}}},"4C:ED:FB:C2:FA:D8":{"5G":{"1E:74:03:B5:01:08":{"ip":"192.168.2.216","rssi":"-63"},"40:98:AD:45:59:B4":{"ip":"192.168.2.54","rssi":"-72"},"8E:E5:F1:BE:2C:A6":{"ip":"192.168.2.48","rssi":"-69"}},"wired_mac":{"04:D9:F5:91:B8:38":{"ip":"192.168.2.183"}}},"4C:ED:FB:C2:F8:30":{"2G":{"F8:32:E4:A9:5B:58":{"ip":"192.168.2.154","rssi":"-53"}},"5G":{"18:20:32:F4:00:D9":{"ip":"192.168.2.193","rssi":"-64"}}},"04:D9:F5:94:C3:08":{},"4C:ED:FB:C3:F5:38":{"2G":{"8C:B8:4A:A0:17:1A":{"ip":"192.168.2.198","rssi":"-49"},"48:5A:B6:4B:FE:25":{"ip":"192.168.2.204","rssi":"-49"}},"5G":{"A4:5E:60:C5:8B:39":{"ip":"192.168.2.84","rssi":"-63"}}},"4C:ED:FB:C2:F8:60":{"wired_mac":{"04:D9:F5:91:B8:38":{"ip":"192.168.2.183"},"04:D9:F5:94:C3:08":{"ip":"192.168.2.105"},"0C:89:10:D5:3B:C9":{"ip":"192.168.2.76"},"1E:74:03:B5:01:08":{"ip":"192.168.2.216"},"34:29:8F:1A:53:58":{"ip":"192.168.2.147"},"40:98:AD:45:59:B4":{"ip":"192.168.2.54"},"48:5A:B6:4B:FE:25":{"ip":"192.168.2.204"},"4C:ED:FB:C2:EC:00":{"ip":"192.168.2.160"},"4C:ED:FB:C2:F8:30":{"ip":"192.168.2.238"},"4C:ED:FB:C2:FA:D8":{"ip":"192.168.2.72"},"4C:ED:FB:C3:F0:40":{"ip":"192.168.2.83"},"4C:ED:FB:C3:F5:38":{"ip":"192.168.2.144"},"6C:71:D9:A2:50:DD":{"ip":"192.168.2.161"},"78:8A:20:DC:6A:C9":{"ip":"192.168.2.101"},"8C:B8:4A:A0:17:1A":{"ip":"192.168.2.198"},"A4:5E:60:C5:8B:39":{"ip":"192.168.2.84"},"B8:27:EB:64:E4:D1":{"ip":"192.168.2.55"},"BC:DD:C2:58:4A:0B":{"ip":"192.168.2.240"},"C4:8E:8F:62:FB:5E":{"ip":"192.168.2.212"},"D4:F5:47:A1:BC:3B":{"ip":"192.168.2.122"},"DC:A6:32:00:1F:18":{"ip":"192.168.2.10"},"E0:AC:CB:80:43:64":{"ip":"192.168.2.30"},"F0:EF:86:25:D0:CF":{"ip":"192.168.2.51"},"F8:32:E4:A9:95:44":{"ip":"192.168.2.9"}}},"04:D9:F5:91:B8:38":{},"4C:ED:FB:C2:EC:00":{"wired_mac":{"04:D9:F5:94:C3:08":{"ip":"192.168.2.105"}}}}

Hi!

I am also interested in this functionality to be able to tweak automation based on which room e.g. AiMesh node device is connected.
Please register an issue in Github https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+asuswrt with latest details you may have in order to get it actually worked on.

Sold all our Asus equipment and moved to unify…done with the random hanging process issues on Asus routers