I'm working with an Asset Tracker v2.0. I'm using a Twilio webhook to SMS me a Google Maps link containing the current location.
I also created an IFTTT recipe saying If Particle Published an event, then the contents of the event be displayed in the notification.
This is what my Particle code looks like:
int flag = 1;
AssetTracker t = AssetTracker();
if (flag == 1)
String urlStart = "https://www.google.co.in/maps/@";
String latlon = t.readLatLon();
String zoom = ",20z";
String location = String(urlStart+latlon+zoom);
Particle.publish("twilio", location, PRIVATE);
flag = 0;
And this is what my IFTTT Recipe looks like:
I'm not sure where I'm going wrong, but the notification never pops up after the SMS is received.
I've edited your post to properly format the code. Please check out this post, so you know how to do this yourself in the future. Thanks in advance! ~Moors7