Real-time Websocket Notifications no longer provide Location:Updated event

  • 2
  • Problem
  • Updated 5 months ago
Looking at my logs of the websocket real-time api, it has stopped sending location:updated events since Dec 1st. Now I only get ignition:on and ignition:off.

Has anyone else noticed that the location:updated event is no longer working? I suspect it's related to the other complaints here about IFTTT and Stringify no longer working.
Photo of Matt Farley

Matt Farley

  • 1,464 Points 1k badge 2x thumb

Posted 5 months ago

  • 2
Photo of xrak en

xrak en

  • 1,196 Points 1k badge 2x thumb
The last location update I received was from Dec 1 at 6:31am. It is definitely BROKEN.
Photo of Matt Farley

Matt Farley

  • 1,464 Points 1k badge 2x thumb
I have two open email support requests that have not been responded to. One is ~3 weeks old, the other is a couple days. I feel like this company is on a skeleton crew going out of business.
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
Do you have the authorization from the API/app to get scope:current_location? From what I can see, they used to allow that pretty "loosely" and might now have tied it down a bit as I know in my Developer portal, I have to specifically request/override the defaults to get scope:current_location, which is what's used with location:updated...
Photo of xrak en

xrak en

  • 1,196 Points 1k badge 2x thumb
There was an issue a while back (late Nov) where a location based IFTTT trigger went crazy with tons of notifications, I have a feeling they simply turned off all location updates while they figure out what went wrong. I just wish they would keep us updated like they used to before.
Photo of Matt Farley

Matt Farley

  • 1,464 Points 1k badge 2x thumb
Wow! Justin, you're right. I *lost* the scope. It used to be there, I had to request it when I first bought the device, and it was granted, and working. Now when I go to my dev portal it's showing as unavailable. I'll try re-requesting. 

xrak en -- check your dev portal, see if you have the same problem.

Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
Scroll up fuirther Matt. There is a section at the top that says "tell us about your app" you also have to fill out to enable the button ;)
Photo of Matt Farley

Matt Farley

  • 1,464 Points 1k badge 2x thumb
ha! Justin, you should be on the payroll! :)
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
Lets just say i've spent a lot of time around the API lately...I sometimes feel I might ask Automatic for a side gig lol
Photo of Matt Farley

Matt Farley

  • 1,464 Points 1k badge 2x thumb
Is your currrent_location scope work? xrak en and I have been using that scope for a long time and we both lost it on Dec 1.
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
All of the authoring I've done is based around webhooks versus the socket API. I grab data at ignition on and trip finish (as well as speeding), so I can't say i've ever grabbed current_location.
Photo of xrak en

xrak en

  • 1,196 Points 1k badge 2x thumb
Same issue for me. I requested the additional scope.
Matt, did you get approval yet?
Photo of Matt Farley

Matt Farley

  • 1,454 Points 1k badge 2x thumb
Not yet :(   (to be fair it hasn't even been 24 hrs since I re-requested, and it's still the weekend)
Photo of Ananda Sankaran

Ananda Sankaran

  • 90 Points 75 badge 2x thumb
Did you guys get access to the current_location scope?
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
I get location from the webhook update scopes every 5 minutes as well as at ignition:on and ignition:off and trip:complete. Do you need it more frequently?
(Edited)
Photo of Ananda Sankaran

Ananda Sankaran

  • 90 Points 75 badge 2x thumb
Thanks Justin for your response.  Yes, my interest is to map real time movement of my car in a map.
Is that even feasible?  I am thinking more of a driver tracking in realtime
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
I think the problem "theoretically" from my perspective is that this would require the Automatic device to be sending the data back in real time too, which I don't believe is the case. Is a 5 minute update not "real-time" enough (noting all of the data Automatic is receiving/processing/parsing)? 5 minutes is pretty "near" real-time, no?
(Edited)
Photo of Ananda Sankaran

Ananda Sankaran

  • 90 Points 75 badge 2x thumb
Justin - In a delivery scenario where a customer is involved, we would rather show where their order is on the road.  So for us real-time needs to be real-time (may be a lag of few secs), definitely not in minutes
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
That'd require the device to "real time" update (and require a constant 3G connection) and to my knowledge it doesn't, therefore; with Automatic you can't even do what you want.

Furthermore, when developing software, a +/- 5 minute location is usually acceptable. I know FedEx, UPS, Amazon and a few other carriers all have what you're talking about and they don't notify you of delivery until at least ~10 or more minutes after actual "location".
(Edited)
Photo of Ananda Sankaran

Ananda Sankaran

  • 90 Points 75 badge 2x thumb
Thanks for the detailed reply.  Well appreciated.  Do you know of anybody else who has the ability.  My requirement  (i think) is pretty simple.  Track my delivery car on the road. (stream lat, long, speed, braking, acceleration in real time).  
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
As a developer, program manager and product manager in the past, are you really sure that's what you want/need or is it just the cool factor that you're trying to buy in to? Again, from use cases most people are familiar with, real time tracking (even with Amazon Prime Now (2 hour delivery)) you don't get "real time" updates, moreso "near real time". As for speed and braking, you'lll get those in your database real time as they're triggers, its just the lat/lon with Automatic that will only update ~5 minutes with location:update triggers...
Photo of Justin Rodino

Justin Rodino

  • 820 Points 500 badge 2x thumb
Also, remember, at the end of each trip (trip:completed) you get a polyline which gives all of the data - exactly - as the vehicle drove...
Photo of xrak en

xrak en

  • 1,196 Points 1k badge 2x thumb
My app still shows as not having approval for "scope:current_location" but it looks like I've started receiving updates again anyway.
Photo of Matt Farley

Matt Farley

  • 1,454 Points 1k badge 2x thumb
Same here! ... strange. And still no replies on any of my old helpdesk tickets (from November)