[DEPRECATED ] Automatic Connected Car- Integration with SmartThings

Hi,

Do you mean the authorization error code?

Please consult the ST community wiki under the troubleshooting section:

The authorization with Automatic is a known issue under the wiki:

http://thingsthataresmart.wiki/index.php?title=My_Automatic_Device#Known_issues

The way to format the public and private keys is described at the wiki.

EDIT: please also refer to the information section as the installation steps are referred at the end.

http://thingsthataresmart.wiki/index.php?title=My_Automatic_Device#Information
Regards.

I’ve tried every step using the wiki. I’m getting this error

{“error”:true, “type”:“groovy.lang.MissingMethodException”,“message”:“An unexpected error occurred.”}

This is not listed on the wiki.

Hi, I just tested it myself (with the code at github) and it works well.

Somehow, you must have not followed at the required installation steps at:

P.S. The authorization process is a bit tricky as Automatic doesn’t support wildcard URL redirect.

Regards.

EDIT: There could other ST issues that I’m not aware of. …

I just followed the directions to the T agian, and I’m going across the same issue.

The IDE Logs state this:

groovy.lang.MissingMethodException: No signature of method: script145001293609023993250.getSmartThingsClientId() is applicable for argument types: () values: []
Possible solutions: getSmartThingsClientd() @ line 501

6673533a-324b-49da-bc84-56a07c4bdff5 7:37:39 AM: error groovy.lang.MissingMethodException: No signature of method: script145001385910423993250.getSmartThingsClientId() is applicable for argument types: () values: []
Possible solutions: getSmartThingsClientd() @ line 501
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:39 AM: debug oauthInitUrl
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:38 AM: error groovy.lang.MissingMethodException: No signature of method: script145001375852423993250.getSmartThingsClientId() is applicable for argument types: () values: []
Possible solutions: getSmartThingsClientd() @ line 501
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:38 AM: debug oauthInitUrl
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:35 AM: error groovy.lang.MissingMethodException: No signature of method: script145001385520923993250.getSmartThingsClientId() is applicable for argument types: () values: []
Possible solutions: getSmartThingsClientd() @ line 501
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:35 AM: debug oauthInitUrl
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:32 AM: debug authPage>redirectUrl=https://graph.api.smartthings.com:443/api/token/392a36fd-f850-4fdf-8b4b-f5df863284ef/smartapps/installations/6673533a-324b-49da-bc84-56a07c4bdff5/auth,atomicState.authToken=null,state.oauthTokenProvided=null
6673533a-324b-49da-bc84-56a07c4bdff5 7:37:32 AM: debug buildRedirectUrl, redirectURL=https://graph.api.smartthings.com:443/api/token/392a36fd-f850-4fdf-8b4b-f5df863284ef/smartapps/installations/6673533a-324b-49da-bc84-56a07c4bdff5/auth

This is some other information

Hi,

Somehow, you erased some of the code at the end of the file. As specified at the wiki (Known Issues) and in the readme file, you need to insert your public & private keys at the end of MyAutomaticServiceMmgr.

def getSmartThingsClientId() { “insert your public key here!” }

def getSmartThingsPrivateKey() { “insert your private key here!” }

P.S. Don’t forget to leave the double quotes around the keys and leave the ‘{’ & ‘}’

I found the cause of the error; there was a typo on line 702. Submitted a pull request with the fix:

The app has been working thanks to the code fix, I’m not having to re-authenticate my account each and every day. Has anyone been having this problem?

Yes. If you plan on leaving your car for an extended period of time please make sure you remove your automatic. I came home from a 2 week trip and found my car dead in the parking lot of the airport. I contacted Automatic and they told me in the future I should remove the device if I’m going to be gone for an extended period of time.

2 Likes

Wow… This is quite epic. I cannot wait to get home and set this up. This is pretty amazing. Never thought I’d see an integration between my Automatic and ST. Thank you!!

Hello,

Please take note that, for now on, the latest version of MyAutomatic Device is now only available at my store:

www.ecomatiqhomes.com/#!store/tc3yr

The MonitorAutomaticCar smartapp is also available for a modest contribution.

You can also find Technical Support packages if needed.

For more details about MyAutomatic Device and its related smartapps, please consult the wiki:

http://thingsthataresmart.wiki/index.php?title=My_Automatic_Device
http://thingsthataresmart.wiki/index.php?title=Category:Unpublished_SmartApps

P.S. My Automatic device and related smartapps took several hundreds hours of development & testing, I’m now asking for a modest contribution.

Thank you for your support!
Regards.

1 Like

Hi, any support for metric at all? km/h for speed and/or fuel consumption l/100km or km/l

Yes, it’s supported. That’s what I use at home (Montreal, Canada)

Regards.

Great can you post a screenshot of the preferences page perhaps?

Ideally i’d like to be able to edit the cost of the fuel too, at 1.50 Euro / litre here in Netherlands the Automatic app of course vastly underestimates the cost of journeys too

Hi, you need to check with Automatic, but to my knowledge, they don’t allow
to edit the price of fuel yet.

Anyway, my app would not allow this feature as it’s read-only.

As far as the preference pages, you can see below that it supports liters and kmpl.

For more information, refer to

http://thingsthataresmart.wiki/index.php?title=My_Automatic_Device
Regards.

FYI, here are some screenshots of MonitorAutomaticCar:

This smartapp and others are available at my store:

I would appreciate anyone who uses this giving some examples of how they find this useful.

All I can figure is that if for some reason your phone doesn’t handle presence detection well, you could use Automatic to do it. Or if you have multiple cars and need to trigger different ST events based on which has arrived/departed.

I don’t mean to dismiss the dev’s obvious hard work, but I personally don’t see value in having ST know my Mini’s MPG.

Oh! here’s one: Start car in garage, garage door opens?

If you’re okay with your car running for ~30 seconds in an enclosed garage, maybe. :sleeping:

I never bought this integration. I use the automatic with works with nest for my thermostat and the concur expenses integration only right now

Well, can the following be setup?

So use the geo fence on my iPhone AND the automatic to know that i am arriving home in my car and only in that case open the garage door.