so i got this output :
root@AP3:~# ubus -S call hostapd.wlan2 get_clients
{"freq":2462,"clients":{"70:8a:09:df:f1:bc":{"auth":true,"assoc":true,"authorized":true,"preauth":false,"wds":false,"wmm":true,"ht":true,"vht":false,"he":false,"wps":false,"mfp":false,"rrm":[115,0,1,0,0],"extended_capabilities":[0,0,8,2,1],"aid":2,"bytes":{"rx":75767,"tx":159599},"airtime":{"rx":52775,"tx":36795},"packets":{"rx":590,"tx":396},"rate":{"rx":6000,"tx":72200},"signal":-47,"capabilities":{}},"ee:52:2a:09:59:ba":{"auth":true,"assoc":true,"authorized":true,"preauth":false,"wds":false,"wmm":true,"ht":true,"vht":false,"he":false,"wps":false,"mfp":false,"rrm":[113,0,0,0,0],"extended_capabilities":[0,0,8,0,0,0,0,64],"aid":1,"bytes":{"rx":447139,"tx":4233106},"airtime":{"rx":382161,"tx":680202},"packets":{"rx":4565,"tx":4355},"rate":{"rx":6000,"tx":72200},"signal":-47,"capabilities":{}}}}
root@AP3:~#
and i need to grepp all MACs and i need each MAC signal lvl
and i have no idea how to make it grep probably wont do it.
Maybe some kind of json but It would be best to not install anything more than alredy by default in openwrt firmware