Raspberry Pi+GPS coordinates


#1

Hi everyone, is this possible to upload coordinates from Python to Cayenne and so they can be plotted on the map? Please help me i need to finish my project asap.


#2

you can send data using client.virtualWrite(channel, data, "gps", "m") where data expects [lat, lon, alt] format,


#3

Thanks for the reply.
I have python code in Raspberry Pi which collects coordinates.I want to send those gps coordinates to cayenne and show it on map for live car tracking.


#4

you can use https://github.com/myDevicesIoT/Cayenne-MQTT-Python to send data to cayenne.


#5

@shramik_salgaonkar does the map widget work with non lora devices now?


#6

yup it works. check the list of data types http://mydevices.com/cayenne/docs/cayenne-mqtt-api/#cayenne-mqtt-api-supported-data-types


#7

Awesome, I missed that announcement then.