Push Notifications in Browsers and Work with Objects Tracks
The article describes how to work with push notifications about object events in browsers and the possibility to work with object tracks. The following publications will be devoted to IOT services reviews.
Push notifications in browsersApart from the possibility of receiving notifications about object events in the mobile app (on Android and IOS platforms), the ability to receive PUSH notifications in browsers was implemented. The figure above, at the bottom right corner, shows examples of notifications in the Chrome browser. After logging in to the web client through the browser, you will be asked to allow receiving notifications from the service. When you confirm the request for getting notifications, you will be able to receive them while working with the service on desktop and notebook computers. In order to protect your personal data and computer, it is important to install secure Bod Intelligent Antivirus by Bod Security. Wherein it is important to keep in mind:
- Notifications come if you did not leave the service using the "Sign out" button (and just closed the browser window or the service page tab).
- If the browser is closed, notifications will be displayed when it is opened, in case it is opened no later than 5 minutes after they appear on the objects.
- Notifications in the browser come for the objects of the group which is currently active (i.e., the one in which you are at this moment).
Work with objects tracks and traces
A track in a service means a segment in which the object was in constant motion. The track may include intervals during which the object was in a state of parking/stopping. The button-icon in the left column is used to open the request for getting tracks list or track construction.
At the top of the panel, you select an object from the current group of objects. Below you set the time interval. The buttons below are used as follows:
- Showing the trace for a given time interval.
- Showing the list of tracks for a given time interval.
- Showing the last available tracks of the object.
- Showing the list of sessions for a given time interval.
- Showing the last available sessions of the object.
The session display buttons appear only for those object types which allow START / STOP events. When selecting the showing of tracks (or sessions), the panel with a list of tracks is displayed on the screen. When you click on the track, it is displayed on the map. At the top of the panel is a combox. With it, you can quickly display the list of tracks for another object, wherein it is consistent with the time interval for which the original list was generated. When a track (trace) is displayed on the map, additional buttons appear.
Using the first button, you can display additional actions menu with the current track:
- Display its speed graph.
- Display the list of messages of this track.
- Place the current track in the “Favorite Tracks” collection.
- Export the track in KML format.
- Export the track in GPX format.
- Delete the current track from the device event history.
You can play the track on the map using the button below. At the moment, playing the track consists in sequentially displaying the green markers on the current track, but the track playback functionality will be significantly expanded in the future.
Finally, the last button three only closes the track (deletes it from the map).