New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device info #1
Comments
Managed to get most of the info that was missing. Last one that I need is, clients per ap. The below gives info for all ap's if I can add Thank you so much for your help. |
Something that I found that might work. the api that is being used is From searching the web for solution, found that you can use json to show what is needed. So if we can use the above api call to list all strings that has |
@w1tw0lf guess you're right. I had a glance at the device json but there's not much information about clients but the stat/sta could provide this information. Let me check. |
I had a look at both json files clients and devices but I couldn't find any field named target_mac.
So the AP mac is given and wifi channel but no mention of 2.4 or 5GHz. |
under 'radio_name' target_mac is specified in the |
wifi0 and wifi1 is wifi 5 where Made some changes to |
Any luck ? Running into dead end from myside. |
sorry @w1tw0lf I need some spare time to look at. was busy today working but tomorrow I'll have a look at. |
No stress @phen0 also had a busy day this side. |
Think I might have found and easier way to pull this per ap... if you look at /proxy/network/api/s/default/stat/device/"mac address ap" user-num_sta come up 3 times, first 2 is the client on ap per station and the last one is the total clients per ap we need to pull it from this section |
Believe I might have fixed it.... Change this |
Fixed. |
Thank you @phen0 for willing to help. can't believe how easy it was actually. |
Hey @w1tw0lf, |
No stress :) was looking at this
And that is where I saw it. PS: Playing around and seeing what info can be pulled from the switches 😄 |
@w1tw0lf which info are you looking for? if you pull the device-info you'll get a huge json file with all device information.
just let me know maybe I can code something quickly.
The text was updated successfully, but these errors were encountered: