[DEPRECATED ] Automatic Connected Car- Integration with SmartThings

@vlad, @yvesracine - Can you please let me know how you specified TLSv1.2 with httpPost? I tried this and did not work. I have an API that I’m trying to connect and it requires TLSv1.2. Any help on this is appreciated!

httpPost(uri: uri, tlsVersion: “TLSv1.2” ) { resp ->

}

In my case, it’s for swapping the token during the oAuth flow. Your use case may be different.

def tokenMethod = [
	uri:"${get_URI_ACCOUNT_ROOT()}/oauth/access_token",
	tlsVersion: "TLSv1.2",       
	body: toQueryString(tokenParams)
]

log.debug "Swapping token $params"

def jsonMap
try {	
	httpPost(tokenMethod) { resp ->
		jsonMap = resp.data
	}
} catch ( e) {
	
	log.error ("exception ${e}, error swapping token: $resp.status")		
}

Regards.

Thank you! Will see if this can be used.

@yvesracine
Hello,
I was getting “unauthorized at api.automatic.com/vehicle” so I updated to the latest service manager and devite type (1.7.1 and 2.7.1)
But the issue persists so I went to the service manger to login with my creds and keep getting below error.
I double checked all instructions and Keys etc.
Screenshot_20180320-180843|277x500

@frazered, please send me the screenshot or any logs via email at services@maisonsecomatiq.com.

P.S. In certain cases, due to some ST platform issues, you may need to delete the device and restart from scratch when you have unauthorized issues.

My own Automatic device is working well, except that there are some read socket exceptions from time to time between Automatic and ST (timeouts) in the logs. This is probably an Automatic backend issue and my code cannot do anything about it.

Regards.

Regards

@ yvesracine
Hi, I recently brought Automatic Pro.
Will the current DTH and Apps work fine with Automatic Pro ?
Will go ahead and make the purchase then.
Thanks.

Yes, this question has been asked before in this thread…

Regards.

1 Like

@yvesracine Thanks for responding. Appreciated!

Any inputs on Google Home integration after getting Automatic added as a device in ST and ST added to GHome ? Will it be able to respond just like it does for officially supported Alexa (or "Ok Google, Where is [my Car] ? / fuel level ? ")

No sorry. I’ve done a tighter integration with Amazon echo (via messages received in Ask Alexa), but Google Home doesn’t allow this kind of integration.

Regards.

Whoa I just noticed that my cars haven’t been updating. I went to the smart app and had issues logging in (using correct credentials).

Long story short, it appears my Automatic app got deleted somehow… I’ll have to start this over again this weekend.

That happen to anyone else recently?

FYI, the auth tokens at Automatic are usually valid for about a year… Your last post was about a year ago, so I assume that your auth tokens are now expired… You just need to re-login at Automatic within MyAutomaticServiceMgr under Automation/smartapps in the ST classic mobile app.

Regards.

When I went to the admin portal it didn’t show any apps at all…
I did try to re-authenticate in the app and always got “something went wrong” which is why I started looking further.

OK, got it. My apps are still at the Automatic portal. However, I had to re-login as it’s been a year already…

yea, kinda weird. I would assume that they could tell if the app was being used…

Did you re-login to your app or the automatic developer portal?

Just within My Automatic Manager smartapp as my app was still at the Automatic developer portal…

Looks decent tho, i like it!

Sorry, I wanted to make sure I have current DH & App, but I couldn’t find them on your site?

Still there, just use your original selffy download link.

thanks, got it. What’s the current version? I’m not sure I’ve heard of any updates for a while (not that there’s anything wrong with that!)