Close

Automation Entry - Automatic location & remote data tracking

A project log for MyComm

A portable, solar powered, handheld device that provides truly global messaging when you have no alternative.

John Grant 08/21/2016 at 17:032 Comments

When the Iridium service delivers a message an HTTP POST request to the MyComm server URL. As well as the message data other parameters such as device serial number and imei number are included. Also included is the approximate latitude and longitude of the device at the time it transmitted.

Request Body: {
     "imei":"300234062910580”,"
     device_type":"ROCKBLOCK”,
     "serial":"8532”,
     "momsn":"13”,
     "transmit_time”:"20-08 11:00:47”,
     "iridium_latitude":"55.9533”,
     "iridium_longitude":"-3.1883”,
     "iridium_cep":"3”,
     "data:”{Light Level: 6, Random Val: 48}”
}

Example POST data

This location data could be used to automatically track location of a remote sensor unit along with the sensor data, the MyComm device can be programmed to automatically send the sensor data say every hour or every day. We’ve used the POST data/location along with the Google Maps API to show a nice reporting page on the MyComm server:

Discussions

John Grant wrote 09/09/2016 at 14:36 point

Hi Sindre. Sorry for the delay in getting back to you. At the moment the server side is a Django app and I'm using sqlite3. I'm in the process of getting code, etc commented and added to github and hope to have a link up soon along with a log. Thanks!

  Are you sure? yes | no

Sindre wrote 08/27/2016 at 14:15 point

Hi! Do you store the data received from Rockblock using mysql database? Could you tell a little bit more about your setup on the server side... 

  Are you sure? yes | no