Managed to figure out how to query my Tesla's battery level from the watch face and display it to a modified copy of Crystal face. That 80% on the lower left, is my car's current battery charge level.
Managed to figure out how to query my Tesla's battery level from the watch face and display it to a modified copy of Crystal face. That 80% on the lower left, is my car's current battery charge level.
That's pretty awesome! Now if I could just figure out how to get info from my Mach-E into a watch face :-)
Thanks :-)
I guess it depends if Ford has opened its API to the public or if someone has reversed engineered it (like for the Tesla API). A search for 'Mach-E' in Connect IQ returns nothing relevant so I would assume it's not possible, yet.
They have the FordPass API which gives tons of info about vehicles, used to power 3rd party phone widgets and controls, but there's no OFFICIAL documentation that they've posted, but there's been a lot of community work to document it. It uses OAuth to connect (nothing hacky). I just haven't put any effort into looking into it because I hadn't though of it until you showcased your effort!
Same with the Tesla community. The Tesla widget does use OAUTH to authenticate the user but I couldn't get that to work from a watch face background process (can't get it to popup a login page on my phone) so I reverted to generating an access token from another app and I'm using that token in my calls.