I’ve been mapping the location of devices using Ubidots on your commercial platform for months now as I work on our project. When I set that up you selected both the device AND the variable that had the lat/lng context data attached to it and those dashboards setup that way (or using that as a template) still work.
However I have since created another device (using a Particle electron instead of a photon) this attaches the location context data to a different variable. When I add a map widget to the dashboard for this device it doesn’t ask which variable it should be loking, only the device. The widget claims there is no data to display, however the data is being send in exactly the same way as it was before.
snprintf(_publish,sizeof(_publish),"{\"Sig\":%i,\"M\":%i,\"C\":%i,\"W\":%i,\"P\":%i,\"A\":%i,\"lat\":%f,\"lon\":%f}",Signal.rssi,_var1,var2,var3,(AC_OK_State ? 1 : 0),(Alarming ? 1 : 0),lat,lon);
Particle.publish("Sig",_publish,PRIVATE);
Webhook
{
"Mind": "{{P}}",
"Your": "{{C}}",
"Own": "{{M}}",
"Business": "{{W}}",
"Matey": "{{A}}",
"Signal": {
"value": "{{Sig}}",
"context": {
"lat": " {{lat}}",
"lng": "{{lon}}"
}
}
}
All the sent variables in this hook are received, its just lat/lng that are not picked up.