kennedyshead / aioasuswrt

MIT License
24 stars 24 forks source link

Connected devices doesn't make sense #87

Open erkr opened 2 years ago

erkr commented 2 years ago

Hi

Thanks for providing this library , used by the Home assistant asuswrt integration. I have several ASUS RTN-66u's devices configured as AP's. The firmware on them is a Merlin LTS fork (based on the Merlin 374 version where power settings where still unlocked). Although the integration can connect the AP's, the information provided by this library doesn't make any sense.

I would like to see these figures based on the list of devices connected via the WiFi (when in AP mode).

Best Eric

tmikoss commented 1 year ago

In my case, this seems to be related to 5Ghz wifi devices. On my AX88U router with latest stock firmware, the /tmp/clientlist.json, which this library seems to use for device listing, does not seem to contain entries for devices connected to 5Ghz network.

There seems to exist a /tmp/allwclientlist.json file, that contains references to all wirelessly conencted devices, but in a different format.