This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

REST API - Get Connection State of Wireless Client

Hi there.

Was playing with the REST API and was wondering, if it is possible to get Informations about the connected clients, like in webadmin (Wireless Status - Currently Connected: ...).

But found nothing.

Does anybody know, if this is even possible via REST? And if it is possible, give me a little hint where to find it?

 

Thanks in advance!

 

Thorsten



This thread was automatically locked due to age.
  • Hi Thorsten

     

    Take a look at  /objects/awe/device/ in the API 

     

     

    You will have this schema

     

    [
    {
    "ac_ability": false,
    "active_channels": [],
    "allowed_channels": [
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11
    ],
    "allowed_countries": [],
    "ap_localdebuglevel": 0,
    "ap_vlantag": 1,
    "auto_channel": 0,
    "auto_channel11a": 0,
    "band": "g",
    "bridge_modes": [
    "vlan",
    "lan",
    "none"
    ],
    "channel": 0,
    "channel11a": 0,
    "channel_width": "HT20",
    "channel_width11a": "HT20",
    "comment": "string",
    "country": "",
    "dfs_ability": false,
    "enabled": false,
    "id": "Remote Wifi Device",
    "interface": "",
    "key": "",
    "lan_mac": "00:00:00:00:00:00",
    "last_ip": "",
    "location": "",
    "max_ssids": 1,
    "mesh_ability": false,
    "mesh_ability11a": false,
    "mesh_ability11g": false,
    "name": "string",
    "networks": [],
    "r0kh_secret": "",
    "scan_interval": 0,
    "scan_interval11a": 0,
    "sched_scan_interval": 0,
    "sched_scan_interval11a": 0,
    "status": false,
    "stp": false,
    "time_scheduling": false,
    "time_scheduling11a": false,
    "time_select": [],
    "time_select11a": [],
    "tunnel_id": "",
    "tx_power_control": false,
    "txpower": 1,
    "txpower11a": 1,
    "type": "",
    "vlantagging": false,
    "wifi_mac": "00:00:00:00:00:00"
    }
    ]

     

     

     

    Olivier Miossec

  • Hi Olivier,

     

    thanks for your reply!

    Had a look into it, but it only shows my Accesspoint, but not the devices (Tablets, Smartphones, etc.) connected to the Accesspoint.

    Thats what I'm interested in. I tried everything in this area, but nothing gives me the wanted information :-/

    Regards,

    Thorsten

  • Hi Thorsten

     

    I can see the device in  /api/objects/network/host/ with Wifi suffix

     

    Regards

  • Good Morning Olivier,

    unfortunately no. In this part of the tree I just see my configured hosts-objects.

    But not those, that are "just" and right now connected via WiFi to my Wireless Network.

    Regards

    Thorsten