GPS Tracker

Ubidots provides multiples ways to start tracking your IoT devices, so here we are going to show you how to send coordinates to Ubidots in order to start with a GPS IoT Solution.

To learn more about the Ubidots Maps Features, please check this guide.

mosquitto_pub 
-p 1883 
-h industrial.api.ubidots.com 
-t "/v1.6/devices/my-new-device" 
-u 'BBFF-Rfcgaxns6HlVb155WA0RhSY85xNDmB' 
-m '{"location":{"value": 1, "context":{"lat":37.773, "lng":-122.431}}}'
-q 1