...
- Click on the device icon available on the Devices page, and navigate to Device Details page.
- To view location-based device statistics, follow the steps below:
Install the geoextension feature to WSO2 IoT Server, by navigating to
<IoTS_HOME>/wso2/analytics/scripts
directory and running the following command.Code Block mvn clean install -f siddhi-geo-extention-deployer.xml
Enable the geoextension feature in WSO2 IoT Server, by openning the
cdm-config.xml
file in the<IoTS_HOME>/conf
directory and setting the following properties under the<GeoLocationConfiguration>
tag to true.Code Block <GeoLocationConfiguration> <isEnabled>true</isEnabled> <PublishLocationOperationResponse>true</PublishLocationOperationResponse> </GeoLocationConfiguration>
Restart the WSO2 IoT Server broker, core and, analytics profiles in the given order
Code Block cd <IOTS_HOME>/bin ------Linux/Mac OS/Solaris ---------- ./broker.sh ./iot-server.sh ./analytics.sh -----Windows----------- broker.bat iot-server.bat analytics.bat
Click on the Device Location tab.
Note For more information on location based services, see Monitoring Devices Using Location Based Services.
...