Implementing the device location history feature to Entgra IoT Server

Jayasanka Weerasinghe
1 min readApr 9, 2021

--

A screenshot of the location history view of Entgra DeviceMgt

Entgra IoT server is a product that brings the flexibility of open source to the Internet of Things, mobile projects, and mobile devices. At that time Entgra IoT server lacked one feature, which is the Location history service. Location history is a great way to track devices or keep a tab on business transportation. The feature was half-built and I was assigned to complete it.

When working on this task I had to work with both backend and frontend. The backend is built using Java and the frontend is built using ReactJS. I used a well-known open-source map plugin named Leaflet to create an interactive map.[2] This functionality is now available in Entgra IoTs from Entgra IoT Server 4.0 and is currently available on production. It enables IT Admins of an organization to check the location history of and device for a given period.

Links to the work I have done:
https://gitlab.com/entgra/carbon-device-mgt/-/merge_requests/448
https://gitlab.com/entgra/carbon-device-mgt/-/merge_requests/468

References

  1. Entgra (2020) Entgra Product Documentation: Entgra.io
    Available at: https://entgra-documentation.gitlab.io/home/ (Accessed: 20 August 2020).
  2. Vladimir Agafonkin (2019) Leaflet — an open-source JavaScript library for mobile-friendly interactive maps
    Available at: https://leafletjs.com (Accessed: 20 August 2020).

--

--

Jayasanka Weerasinghe
Jayasanka Weerasinghe

Written by Jayasanka Weerasinghe

A professional key presser who turns characters into interesting web things 🙂

No responses yet