Comments (24)
I'm quite interested in getting this integration working for South Africa as well.
Here are my debug logs:
2023-04-01 14:04:09.765 DEBUG (MainThread) [custom_components.fordpass.config_flow] UK&Europe
2023-04-01 14:04:09.765 DEBUG (MainThread) [custom_components.fordpass.fordpass_new] /config/custom_components/fordpass/(REMOVED)_fordpass_token.txt
2023-04-01 14:04:09.765 DEBUG (SyncWorker_3) [custom_components.fordpass.fordpass_new] New System
2023-04-01 14:06:13.410 DEBUG (MainThread) [custom_components.fordpass.config_flow] North America & Canada
2023-04-01 14:06:13.411 DEBUG (MainThread) [custom_components.fordpass.fordpass_new] /config/custom_components/fordpass/(REMOVED)_fordpass_token.txt
2023-04-01 14:06:13.412 DEBUG (SyncWorker_2) [custom_components.fordpass.fordpass_new] New System
2023-04-01 14:06:52.134 DEBUG (MainThread) [custom_components.fordpass.config_flow] Australia
2023-04-01 14:06:52.135 DEBUG (MainThread) [custom_components.fordpass.fordpass_new] /config/custom_components/fordpass/(REMOVED)_fordpass_token.txt
2023-04-01 14:06:52.135 DEBUG (SyncWorker_6) [custom_components.fordpass.fordpass_new] New System
Tried getting the Burp proxy working, you're right it is quite fiddly. Started going down the road of loading the CA certificate onto the Android phone, but then ran into instructions for using ADB, etc. Is this the right direction?
from fordpass-ha.
Keen to see this working for South Africa too. Let me know if I can help with logs too.
from fordpass-ha.
I would love to have this integration available for South Africa too. I'm sure there are plenty of us that would be willing to assist (with guidance) if required.
from fordpass-ha.
Have you tried selecting the other regions and trying to see if it works? I'm guessing the south African Fordpass app is the same as the US one?
In order to make it fully compatible I would need to guide someone through using Burp (Proxy) to intercept the Fordpass application on their device so I can get the relevant region code which I'm happy to do if someone wants to give it a try. Just need some Fordpass details first e.g.
- Screenshot of data displayed in Fordpass app
- Version of Fordpass avaliable on your local app store
from fordpass-ha.
from fordpass-ha.
I don't see any of the attachments you mentioned. Can you do me a favour and enabled debug logging for fordpass in your HA configuration and then send me the relevant logs when you try logging in so I can see exactly the error you are getting back.
logger:
default: warning
logs:
custom_components.fordpass: debug
If you can do the above first before going down the proxy route as it's not the easiest to explain and can be a little fiddly if you've never used a proxy before.
from fordpass-ha.
@itchannel would be great if we could revisit this, seems that there is some interest in this working in SA.
If you still need logs, happy to send
from fordpass-ha.
@greg10810 Out of interest does it let you login here: https://sso.ci.ford.com
That's what the API authenticates against. If that works for you then we can troubleshoot from there.
from fordpass-ha.
@greg10810 Out of interest does it let you login here: https://sso.ci.ford.com
That's what the API authenticates against. If that works for you then we can troubleshoot from there.
i get "Weβre sorry, an error has occurred." when trying to reset my password on that link. I don't think i ever created an account.
from fordpass-ha.
It's the same account you use to login to the fordpass application on your phone. That's just the web interface for the fordpass backend.
from fordpass-ha.
the ford pass app requests a mobile number whilst the link above (when accessed on PC) requests an email. when I access that link on mobile it requests a mobile number and I am able to log in.
from fordpass-ha.
oh interesting. For most people it asks for an email not a phone number.
So for you does it ask for phone number and password?
Any chance you could send me a screenshot of the login you see?
from fordpass-ha.
sign in on mobile- https://i.imgur.com/Z1zbMx5.jpg
sign in on desktop - https://i.imgur.com/SoI0w9G.png
ford pass sign in on mobile - https://i.imgur.com/mSULtW7.jpg
from fordpass-ha.
if i put in my email or mobile number from desktop it doesn't log in. but i can log in from mobile and it presents me with a screen showing "My apps", all some version of "Ford Credit Native Mobile app"
from fordpass-ha.
sooo, after looking into the fordpass app on my mobile under the accounts section, i noted that they don't keep the 0 in front of my mobile number. when removing the 0 from the username field and just using the rest of my mobile number, I've managed to add the intergation to HA selecting the Europe and Uk option.
from fordpass-ha.
@theunidj Nice! If another couple of people can also confirm that works for them. Then I can make a couple of changes to the workflow for anyone required to use a mobile number rather than email.
from fordpass-ha.
@greg10810 Out of interest does it let you login here: https://sso.ci.ford.com
That's what the API authenticates against. If that works for you then we can troubleshoot from there.
I was able to submit my phone number (without the 0) and password, but just get a blank screen
from fordpass-ha.
@theunidj Nice! If another couple of people can also confirm that works for them. Then I can make a couple of changes to the workflow for anyone required to use a mobile number rather than email.
Unfortunately I am unable to add FordPass integration, as per the screenshot.
from fordpass-ha.
@theunidj Nice! If another couple of people can also confirm that works for them. Then I can make a couple of changes to the workflow for anyone required to use a mobile number rather than email.
Unfortionately I am unable to add FordPass integration, as per the screenshot.
from fordpass-ha.
@greg10810 What version of the integration are you running? and can you turn on debug logging and check your logs for any errors.
Also try signing into the below website and tell me if it works for you:
https://www.ford.co.za/support/vehicle-dashboard
from fordpass-ha.
@itchannel currently running 1.49, I can log into the site and view my vehicle.
I am currently updating the vehicle firmware to the latest version - will revert with debug logs
from fordpass-ha.
@itchannel here are the logs:
This error originated from a custom integration.
Logger: custom_components.fordpass.config_flow
Source: custom_components/fordpass/fordpass_new.py:370
Integration: FordPass (documentation, issues)
First occurred: 09:31:08 (1 occurrences)
Last logged: 09:31:08
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/fordpass/config_flow.py", line 83, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fordpass/config_flow.py", line 62, in validate_input
vehicles = await(hass.async_add_executor_job(vehicle.vehicles))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/fordpass/fordpass_new.py", line 370, in vehicles
response.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.mps.ford.com/api/expdashboard/v1/details/
from fordpass-ha.
@itchannel let me know if you need more info
from fordpass-ha.
from fordpass-ha.
Related Issues (20)
- DTE is not even showing up in fuel attributes HOT 2
- Add 3 raw Json sensors. HOT 1
- Add possibility to change credentials
- Feature Request "vehicleImage" HOT 5
- Source_type GPS deprecated HOT 1
- 'sensor.fordpass_fuel' cannot be added a second time HOT 2
- No vehicle HOT 8
- fordpass_fuel > 100% HOT 3
- fordpass.doorlock Hanging state HOT 1
- fordpass_battery 24 % HOT 1
- Remote Start Limit - How To Track, Flag, or Prevent?
- Sensors not updating either automatically or manually HOT 3
- Ignition Status always on
- Trunk/Frunk Entity? HOT 2
- 401 Client Error: Unauthorized HOT 5
- Auto Refresh HOT 3
- Occasionally getting stuck on UNLOCKING status
- Warning from Temp Sensor Ford Focus HOT 1
- Unable to refresh vehicle status with specific VIN HOT 3
- Getting error showing truck image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fordpass-ha.