Automatic OBD-II Indigo Plugin (discontinued)

Posted on
Tue Feb 27, 2018 6:52 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

dgarozzo wrote:
You’ve entered in the Google Maps API token? I know some people said they got two separate keys for their Google API, but I only got one. I wonder if I need to account for people who got two different ones.

Yes, I had entered my Google Maps API key previously. It seems to know my distance from home, at least when I'm at home, even though the Current Location is unknown.

Automatic OBD-II 2018 Honda Clarity Plug-In Hybrid Touring En Route; At unknown location, 1 min / 0.0 miles from home, ETA 07:42 PM

Posted on
Tue Feb 27, 2018 8:06 pm
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

It sounds like your API key doesn't have access to both API commands that I need to use. Can you double-check? Also, from what I'm reading on Google's API docs, it looks like you should be able to get it to use the same key for both.

Posted on
Tue Feb 27, 2018 10:02 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

I got the 2 new keys and replaced the one I used before with the Geolocation key. I can't see how to get one key for both. I'll try it tomorrow when I drive the car to see if it has any effect. Thanks.

Posted on
Wed Feb 28, 2018 1:44 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Automatic OBD-II Indigo Plugin

I got all excited reading about this plugin, then find the device is US only.


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 28, 2018 2:20 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Automatic OBD-II Indigo Plugin

Just got my developer update yesterday also. Wonder what the holdup was?

Regardless, I did check my scope and real time location was still shown as unavailable in the scopes.

Posted on
Wed Feb 28, 2018 5:21 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

Dewster35 wrote:
...Regardless, I did check my scope and real time location was still shown as unavailable in the scopes.

Argh! Same here. I just sent them a messsge asking about it.

Posted on
Wed Feb 28, 2018 5:41 am
dgarozzo offline
Posts: 132
Joined: Jan 08, 2009

Re: Automatic OBD-II Indigo Plugin

Did you click the checkbox in the plugin and re-authorize it?


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 28, 2018 6:31 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

dgarozzo wrote:
Did you click the checkbox in the plugin and re-authorize it?

Yes and it seemed to work. However, I just tried it again and got the unauthorized error. Hmmm.

Posted on
Wed Feb 28, 2018 6:53 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

DVDDave wrote:
dgarozzo wrote:
Did you click the checkbox in the plugin and re-authorize it?

Yes and it seemed to work. However, I just tried it again and got the unauthorized error although this may be normal. I entered the redirect URL and the access token generated successfully. Current Location still doesn't work and isn't authorized..

Posted on
Wed Feb 28, 2018 6:54 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

DVDDave wrote:
DVDDave wrote:
dgarozzo wrote:
Did you click the checkbox in the plugin and re-authorize it?

Yes and it seemed to work. However, I just tried it again and got the unauthorized error although this may be normal. I entered the redirect URL and the access token was saved successfully. Current Location still doesn't work and isn't authorized..

Posted on
Wed Feb 28, 2018 9:32 am
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Automatic OBD-II Indigo Plugin

DVDDave wrote:
Dewster35 wrote:
...Regardless, I did check my scope and real time location was still shown as unavailable in the scopes.

Argh! Same here. I just sent them a messsge asking about it.

Yup, same thing happened to me and I sent them an email too... I was so excited for a moment that this would finally be working...

Posted on
Wed Feb 28, 2018 10:38 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Automatic OBD-II Indigo Plugin

rapamatic wrote:
DVDDave wrote:
Dewster35 wrote:
...Regardless, I did check my scope and real time location was still shown as unavailable in the scopes.

Argh! Same here. I just sent them a messsge asking about it.

Yup, same thing happened to me and I sent them an email too... I was so excited for a moment that this would finally be working...


Just got this response from Automatic:

The change is live but there's a UI bug. If you try to authorize, it would work fine.



Sent from my iPhone using Tapatalk

Posted on
Wed Feb 28, 2018 11:32 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

Jeez! I haven't heard from them but I tried selecting the access approved checkbox and could not obtain an access token. I think this means the scope is still unavailable. Seems much more likely that the UI explanation. Hopefully we're not stuck in an infinite loop here.

Posted on
Thu Mar 01, 2018 2:52 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Automatic OBD-II Indigo Plugin

The Automatic support person has offered to help me troubleshoot the issue but I'm not sure what to tell them since I'm not using the API directly.

I was actually able to get an Access Token with the location checkbox enabled. So maybe the scope is working after all, at least partially.

However, I didn't get anything in the log after I just drove the car, not did I get anything in the Automatic app for that matter. When I trigger a simulated Trip Finished event, I get these errors:

Automatic OBD-II Location unknown, distance matrix calculation failed: 'duration'
Automatic OBD-II Location unknown, geocode failed: list index out of range

Oddly enough, I used to get a distance calculation and ETA before I got the scope approval but even that does not seem to work anymore.

The debug log shows this:

Automatic OBD-II Debug https://maps.googleapis.com/maps/api/di ... s=imperial
Automatic OBD-II Debug {
"destination_addresses" : [ "xxxxxxxxxxx San Jose, CA xxxxx, USA" ],
"origin_addresses" : [ "-29,63" ],
"rows" : [
{
"elements" : [
{
"status" : "ZERO_RESULTS"
}
]
}
],
"status" : "OK"
}

The origin_addresses field does not look right at all and it comes up differently depending on whether I enable locations, choose the other Google API, etc. If that field is supposed to be coordinates, it's way off.

Also, the debug log seems to show that the realtime location scope is enabled:

{"access_token":"xxxxxxxxxxxxxxxxxxxx","scope":"scope:behavior scope:location scope:offline scope:public scope:realtime:location scope:trip scope:user:profile scope:vehicle:events scope:vehicle:profile","expires_in":2440735,"refresh_token":"xxxxxxxxxxxxxxxxx","token_type":"bearer","user":{"id":"xxxxxxxxxxxxxxxxxx","sid":"xxxxxxxxxxxxxxxx"},"user_id":"xxxxxxxxxxxxxx"}

Any suggestions on what else to try or what I should tell the Automatic support person?

Thanks.

--Dave

Posted on
Thu Mar 01, 2018 3:03 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Automatic OBD-II Indigo Plugin

I'm getting a bit different error message, about once a second when a vehicle is driving. Here's a sample debug log (with a few things [redacted]).

Code: Select all
Mar 1, 2018, 12:48:34 PM
   Automatic OBD-II Debug          Automatic - Minivan
   Automatic OBD-II Debug          _refreshStatesFromAPI for Automatic - Minivan (C_400027b0f9a87963)
   Automatic OBD-II Debug          Bearer 8e5c1e5f52565eb889fc982921a27e1d0b3114b3
   Automatic OBD-II Debug          Bearer 8e5c1e5f52565eb889fc982921a27e1d0b3114b3
   Automatic OBD-II Debug          Bearer 8e5c1e5f52565eb889fc982921a27e1d0b3114b3
   Automatic OBD-II Debug          Bearer 8e5c1e5f52565eb889fc982921a27e1d0b3114b3
   Automatic OBD-II Debug          <<-- entering triggerEvent: location_updated
   Automatic OBD-II Debug          getting ETA
   Automatic OBD-II Debug          getETA for C_400027b0f9a87963
   Automatic OBD-II Debug          https://maps.googleapis.com/maps/api/distancematrix/json?origins=42.06241,-87.752104&destinations=[[redacted - home]]&key=[[redacted - Google API Key]]&units=imperial
   Automatic OBD-II Debug          {
   "destination_addresses" : [ "[[redacted - my home address]]" ],
   "origin_addresses" : [ "[[redacted - looks like a good address for where the car was]]" ],
   "rows" : [
      {
         "elements" : [
            {
               "distance" : {
                  "text" : "7.1 mi",
                  "value" : 11451
               },
               "duration" : {
                  "text" : "11 mins",
                  "value" : 630
               },
               "status" : "OK"
            }
         ]
      }
   ],
   "status" : "OK"
}

   Automatic OBD-II Debug          2018-03-01 14:59:00
   Automatic OBD-II Debug          ['7.1', 'mi']
   Automatic OBD-II Debug          11 mins / 7.1 miles from home, ETA 02:59 PM
   Automatic OBD-II Debug          getting location
   Automatic OBD-II Debug          getLocation C_400027b0f9a87963
   Automatic OBD-II                Location unknown, geocode failed: list index out of range
   Automatic OBD-II Debug          getLocation: unknown location
   Automatic OBD-II Debug          updating miles
   Automatic OBD-II Debug          PreviousMiles = 2.7
   Automatic OBD-II Debug          CurrentMiles = 7.1
   Automatic OBD-II Debug          Skipping due to lack of progress *towards* home; percent change = -162.962962963
   Automatic OBD-II Debug          triage end


Page 8 of 11 1 ... 5, 6, 7, 8, 9, 10, 11

Who is online

Users browsing this forum: No registered users and 2 guests