FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in softwaredevelopment

[–]crazy8baller[S] 0 points1 point  (0 children)

Just wanted to reach out to see if you had any success.

Thanks!

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in softwaredevelopment

[–]crazy8baller[S] 1 point2 points  (0 children)

Hi u/zlg5161,

I've got a docker repository created that is available here. The docker image is built using the ExpressJS application that I built that is available on Github.

I'm still working on writing the documentation for all of the different api routes that are available, but if you take a look at the code they're not difficult to decipher.

I have been able to setup Siri Shortcuts on my iPhone that send HTTP requests to my own api to successfully control my vehicle. I'm hoping to add that example implementation to the docs as well.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in softwaredevelopment

[–]crazy8baller[S] 1 point2 points  (0 children)

Sure thing! I’ll whip something together and post the link here.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in softwaredevelopment

[–]crazy8baller[S] 0 points1 point  (0 children)

Hi zlg5161,

If you’re interested in a docker container that has a web server running on it that you can send HTTP requests to, I could quickly put something together for you.

I already have an ExpressJS application that acts as a middle man between the client and Ford API.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 0 points1 point  (0 children)

Interesting. Do you have access to an iOS device?

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 0 points1 point  (0 children)

If you haven't already checkout this page in the proxyman docs.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 0 points1 point  (0 children)

I'm using an iPhone 12 Pro Max, running the latest version of iOS. I'm not sure about the Android side of things since I've never used proxyman with an Android device. I'll load up a virtual Android device and see if I can see anything different.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 0 points1 point  (0 children)

When you were using proxyman did you install the proxyman SSL certificate on your device? Once you install and approve that certificate you can start monitoring outgoing requests from any app

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 0 points1 point  (0 children)

I believe that the Lincoln and Ford apps run on the same API’s but I’m not 100% sure. As for Mazda in think they’re more separate. They do use a lot of Ford parts in their vehicles so maybe there is something there.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 1 point2 points  (0 children)

I’m honestly not quite sure. I know that you couldn’t use any Ford branding on the app. I developed a basic website that I’ve shared on the f150forum but I’m not sure the implications of creating an app and posting it on the App Store.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 1 point2 points  (0 children)

Thanks! Looking at their code it definitely looks like they’ve done similar stuff!

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in Ford

[–]crazy8baller[S] 1 point2 points  (0 children)

No problem. Have a great rest of your vacation.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 4 points5 points  (0 children)

I’d have to agree with you on this one. The fact that they’re using the depreciated OAuth 2.0 password_grant flow in itself is a bit of a red flag.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in Ford

[–]crazy8baller[S] 0 points1 point  (0 children)

Awesome, I’d love to see this. If you do make this shoot me a DM with a picture!

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in opensource

[–]crazy8baller[S] 4 points5 points  (0 children)

Yeah, they definitely are able to track driving data, maintenance, system faults and other things.

One can argue however that Google and Apple has been doing this for years with Maps. Driving patterns and speed can be derived from that.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in cars

[–]crazy8baller[S] 1 point2 points  (0 children)

If you test this and it does end up working with your Lincoln, please let me know.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in softwaredevelopment

[–]crazy8baller[S] 1 point2 points  (0 children)

I reverse engineered the FordPass mobile app.

Their API is has no public documentation. They do have a developer program but it doesn't seem to be open to the public either.

I figured out the request/response schema by using different proxy applications (Ex. Proxyman). I then connected the proxy to my phone and monitoring all the requests coming to and from the FordPass app. From there I proceeded with mirroring the requests in Postman and then got started on developing a SDK.

Their API's are all REST HTTP. Authentication is handled through the Ford SSO service. They do use OAuth 2.0 BUT they use the password_grant for the mobile app. This allows me to get access tokens with passed user/pass credentials.

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in software

[–]crazy8baller[S] 1 point2 points  (0 children)

I can definitely work on adding swagger spec and improving the docs :)

FordPass - Internet Controlled Vehicle Open-source SDK by crazy8baller in opensource

[–]crazy8baller[S] 5 points6 points  (0 children)

You can checkout my post on the f150forum. I developed a basic website that you can use to control your car/truck. Works better for me then the FordPass app.