Monitoring, Management & Location Tracking

How to locate a user using VisualRF XML APIs ?

If you want to see location of all users on a given floorplan, site.xml is the best API. It’s documented in the Location XML API Documentation of the AWMS's Home -> Documentation page.

https://demo.airwave.com/visualrf/site.xml?id=53484253-51fa-41db-baf7-b9e34842eeae&aps=1&clients=1&walls=1&regions=1&rfids=1&rogues=1&surveys=1&messages=1&properties=1&sensors=1&detail=1&idf=1&rack=1

That file can contain a lot of data. Here’s a snippet of the info on one client:

<client ap_id="13184" ap_name="AL19" ap_site_id="53484253-51fa-41db-baf7-b9e34842eeae" building="1344 Crossman" campus="Sunnyvale" device_type="default" floor="HQ" group="Ethersphere-lms3" ip="10.6.5.178" mac="00:1F:3A:1B:13:B3" monitoring="false" name="ARUBANETWORKS\jmontana" operating_phy="N" site_id="53484253-51fa-41db-baf7-b9e34842eeae" vendor="Hon Hai Precision Co">
<date>2010-06-24T10:04:40-07:00</date>
<bandwidth>0</bandwidth>
<signal>-52</signal>
<placement>none</placement>
<x>81.00</x>
<y>63.00</y>
<radio phy="n" xmit-dbm="14.8"/>
<radio phy="N" xmit-dbm="14.0"/>
<discovering-radio associated="false" dBm="-77" id="13198" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-102" id="13173" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="false"/>
<discovering-radio associated="false" dBm="-98" id="13183" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="false"/>
<discovering-radio associated="false" dBm="-97" id="13171" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-97" id="13215" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-94" id="14216" index="2" timestamp="2010-06-24T10:00:30-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-98" id="13210" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="false"/>
<discovering-radio associated="true" dBm="-52" id="13184" index="2" timestamp="2010-06-24T10:00:30-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-105" id="13178" index="2" timestamp="2010-06-24T10:00:30-07:00" valid="false"/>
<discovering-radio associated="false" dBm="-99" id="13204" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="false"/>
<discovering-radio associated="false" dBm="-96" id="13212" index="2" timestamp="2010-06-24T10:00:29-07:00" valid="true"/>
<discovering-radio associated="false" dBm="-96" id="13169" index="2" timestamp="2010-06-24T10:00:30-07:00" valid="true"/>
</client>

In addition, VisualRF has a couple of APIs that are useful for locating specific users. If you have a user’s mac and want to locate him, you can use these:

1. location.xml
https://demo.airwave.com/visualrf/location.xml?mac=00:24:D6:65:B3:03

Example output:

<visualrf:location version="1">
-
<device mac="00:24:D6:65:B3:03" name="ARUBANETWORKS\sfloyd" site_id="53484253-51fa-41db-baf7-b9e34842eeae" site_name="HQ">
<site-width>224.05</site-width>
<site-height>231.12</site-height>
<x>101.00</x>
<y>173.00</y>
</device>
</visualrf:location>

2. location.png
https://demo.airwave.com/visualrf/location.png?mac=00:24:D6:65:B3:03

Example output:

<image of client place on floorplan>

Version History
Revision #:
1 of 1
Last update:
‎06-30-2014 11:33 PM
Updated by:
 
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.