Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery SoC? #12

Open
andig opened this issue Oct 25, 2020 · 7 comments
Open

Battery SoC? #12

andig opened this issue Oct 25, 2020 · 7 comments

Comments

@andig
Copy link

andig commented Oct 25, 2020

Hi, does ffpass allow reading the battery soc for Ford EVs?

@d4v3y0rk
Copy link
Owner

Do you get the information you’re talking about in your fordpass app?

@blumstrauss
Copy link

blumstrauss commented Oct 26, 2020

Screenshot_20201026-105516

sorry for the large image - did not find a way to make it smaller...

@andig
Copy link
Author

andig commented Oct 26, 2020

It would be great to get the following from the api if available:

  • battery soc
  • remaining range
  • remaining charge duration (if available)

@andig
Copy link
Author

andig commented Oct 27, 2020

Also wondering if there's any way to get the list of vehicles. api/vehicles/v4/status doesn't work.

UPDATE: answering myself. Using the Ford portal I've found there is another API https://api.mps.ford.com/api/users/vehicles.

@d4v3y0rk
Copy link
Owner

@andig So if the data is available in the app then it should be contained in the vehicleData variable here

var vehicleData = await car.status()

You would simply need to inspect that JSON data and find the reference to it to log it out to the console with the rest of the information already logged in the lines that follow.

@d4v3y0rk
Copy link
Owner

@andig I do not have a hybrid or electric vehicle to test with so if you want to post a redacted version of that JSON object returned from the car.status() call I could make a branch you could test locally.

@andig
Copy link
Author

andig commented Oct 30, 2020

The status endpoint contains various additional data. Unfortunately, I don't have credentials anymore to provide you the structure, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants