Skip to content

AutonomicData Tutorial

theUNSTABLE edited this page Oct 20, 2023 · 8 revisions

If you would like to share your vehicles data, or help debug various issues you can generate a json file containing your vehicles data. This can be done using the VSCode Add-on for Home Assistant, or through a terminal if you would prefer to do that.

Precondition:

  • fordpass-ha integration installed
  • Vehicle's VIN
  • VSCode Add-on for Home Assistant

Steps:

  1. In the VSCode explorer window open the fordpass integration folder under /config/custom_components/fordpass

image

  1. Open autonomicData.py and add the VIN of the vehicles you wish to return data from.
  • Add your vehicle information, if desired, or disable redaction (not recommended if you wish to share this data)

image

  1. Open the VSCode Terminal
  2. Ensure you are in the correct directory
  • cd /config/custom_components/fordpass
  1. Execute python3 autonomicData.py

image

Conclusion:

  • Your vehicles data will be saved in a .json file in the fordpass directory.

TROUBLESHOOTING:

Please enter your VIN into the python script You need to manually input your VIN into the script.

Error finding FordPass token text file: The script is looking for your EMAIL_fordpass_token.txt file. In the above example I used ls -lh to verify that my token file exists, and that it contains data.

HTTP Error: 403 Client Error: Forbidden for url: https://api.autonomic.ai/v1beta/telemetry/sources/fordpass/vehicles/<VIN> This means you are not being blocked when trying to access the new API.

Please Verify the following:

  • You can log into the FordPass application on your device
  • You can actively control your vehicle with the FordPass application
  • Your account is not locked out
    • You can try logging into your account on Ford.com
    • You can also try logging out, and then logging back in to see if there may be additional steps needed