Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click on the device icon available on the Devices page, and navigate to Device Details page.
  2. To view location-based device statistics, follow the steps below: 
    1. Install the geoextension feature to WSO2 IoT Server, by navigating to <IoTS_HOME>/wso2/analytics/scriptsdirectory and running the following command. 

      Code Block
      mvn clean install -f siddhi-geo-extention-deployer.xml
    2. 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>
    3. 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
    4. Click on the Device Location tab. 

      Note

      For more information on location based services, see Monitoring Devices Using Location Based Services

...