inaccurate API data?

DevilWAH
Here to help

inaccurate API data?

Hi does anyone else see this. two API endpoints giving different results? why does one show evidence of clients and the other not? 

 

When i run 

 

dashboard.wireless.getNetworkWirelessClientCountHistory( network_id) on a network for the last 7 days it returns 

 

{ "startTs": "2023-05-01T00:00:00Z", "endTs": "2023-05-02T00:00:00Z", "clientCount": null }

 

but if i run connection stats i see evidence of clients?

 

dashboard.wireless.getNetworkWirelessClientsConnectionStats( network_id )

 

[ { "mac": "xx:xx:Xx:Xx:xx:xx", "connectionStats": { "assoc": 0, "auth": 0, "dhcp": 0, "dns": 0, "success": 5 } },

3 Replies 3
RaphaelL
Kind of a big deal
Kind of a big deal

Can you see the client(s) on the dashboard ?

 

A client needs to pass some type of traffic to be considered a client

DevilWAH
Here to help

But they are people are using the network? This is why it seems odd clients have transferred GBs over the last few days 

DevilWAH
Here to help

The simple way to get round it is to count the unique mac in 

 

dashboard.wireless.getNetworkWirelessClientsConnectionStats( network_id )

 

 

Get notified when there are additional replies to this discussion.