Ranching technology post #6

A recent examination of my surveillance system's mobile broadband device web interface (i.e. 192.168.1.1) led me to the discovery of a bunch of hidden and useful information available from the device. While examining the device's webpage, I noticed an icon showing the charge level of the device's battery. Realizing that the icon was updating its status every few seconds, I searched for the source of the updates via Firebug.  As I had suspected, the device was sending the update status via a small JSON file, but what surprised me was the amount of information available in each file that was not reflected on the webpage.   Among the more interesting pieces of data were values for RAC, LAC, MCC, MNC, cell ID, txlevel, and rxlevel.  There was also a great amount of detail on signal quality (see above picture).

The basic Python script used to extract the information from the JSON file and create a text block for the automated email.
The possibilities for this data are great and as an initial step I've added scripting to the surveillance station to request a JSON file from the device (using cURL) each hour prior to sending an email update.  The file is then read by a python script during the creation of the systems hourly automated email and selected information is added to each email as text.  The following image was captured from an email I received today.   It sure is hot out there.
 In the future I may choose to add additional info from the JSON, but I'm currently satisfied with what I have now. 

Comments

Popular posts from this blog

Front-end loader mounted t-post installer

DIY cultipacker-roller

Face fly nightmare