Sending location data to Node-RED

After getting location data, app will send data to Node-RED though a http_node. By default, you should name URL in this node to "/location", and app will send data to "admin_url/location".

Setting of App


Flows for Node-RED

To display data on map, it is recommended to install node-red-contrib-web-worldmap . This flow get data, create a map and drawing track. A disadvantage is: This node does not have time updated data.  Below is flows to receive data and display on map. You need to edit worldmap node to choose the right layout for Dashboard UI


Show/Hide Flow
App Permission

In iOS, when mimimize app with location tracking on, you will be asked for permission, choose always.

If you miss this panel, access Seting -> RED Client Editor -> and set location setting to always



Testing  and debugging

This feature allow you to test data sent from phone, display on map. You can also change lat and lon to manipulate moving for testing location tracking and draw tracking line on map.