Tracking Device and Web App IoT Modem (Blues, Python, Bottle, Google Maps API)
This project creates a portable tracking device that sends its location to your server. Your server stores that data in a SQLite database, and users can access a web app that shows the last 5 locations of the tracking device in embedded Google Maps.
We use Blues Cell+Wifi modem that comes in their dev kit - https://shop.blues.com/products/blues-global-starter-kit
Blues Global Starter Kit - https://notehub.io
Web facing server. (Digital Ocean)
pip3 install bottle
Google Maps API Key - https://developers.google.com/maps
PlatformIO VScode extension
Create an Account and Project in Notehub - https://notehub.io
Under Settings -> Triangulation Events -> Set to unlimited
Under Routes -> Create Webhook to your server
Setup modem based on blues-config.txt file
Upload code to Arduino using PlatformIO VScode extension
Use main.cpp and platformio.ini files
Install Bottle
SQLlite should be installed by default, if not install.
SQLite auto configures from the Python script
Run Script - Note the webs services will only function while the script is running. For continuous use make the script a service, or auto start the script with rc.local
Create a Google Maps API Account and get a key.
WARINING - You cannot set max spend limits so be careful using the key.