-
-
Notifications
You must be signed in to change notification settings - Fork 58
AutonomicData Tutorial
theUNSTABLE edited this page Oct 17, 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.
- fordpass-ha integration installed
- Vehicle's VIN
- VSCode Add-on for Home Assistant
- In the VSCode explorer window open the fordpass integration folder under
/config/custom_components/fordpass
- 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)
- Open the VSCode Terminal
- Ensure you are in the correct directory
cd /config/custom_components/fordpass
- Execute
python3 autonomicData.py
- Your vehicles data will be saved in a .json file in the fordpass directory.
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 you _fordpass_token.txt file. Ensure this file exists in the directory.
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