Giter Site home page Giter Site logo

South Africa about fordpass-ha HOT 24 OPEN

greg10810 avatar greg10810 commented on June 23, 2024 2
South Africa

from fordpass-ha.

Comments (24)

jonathankretzmer avatar jonathankretzmer commented on June 23, 2024 2

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.

theunidj avatar theunidj commented on June 23, 2024 2

Keen to see this working for South Africa too. Let me know if I can help with logs too.

from fordpass-ha.

cyrenaud avatar cyrenaud commented on June 23, 2024

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.

itchannel avatar itchannel commented on June 23, 2024

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.

greg10810 avatar greg10810 commented on June 23, 2024

from fordpass-ha.

itchannel avatar itchannel commented on June 23, 2024

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.

greg10810 avatar greg10810 commented on June 23, 2024

@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.

itchannel avatar itchannel commented on June 23, 2024

@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.

theunidj avatar theunidj commented on June 23, 2024

@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.

itchannel avatar itchannel commented on June 23, 2024

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.

theunidj avatar theunidj commented on June 23, 2024

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.

itchannel avatar itchannel commented on June 23, 2024

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.

theunidj avatar theunidj commented on June 23, 2024

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.

theunidj avatar theunidj commented on June 23, 2024

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.

theunidj avatar theunidj commented on June 23, 2024

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.

itchannel avatar itchannel commented on June 23, 2024

@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 avatar greg10810 commented on June 23, 2024

@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.

greg10810 avatar greg10810 commented on June 23, 2024

@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.

Screenshot 2023-08-24 at 17 42 02

Unfortunately I am unable to add FordPass integration, as per the screenshot.

from fordpass-ha.

greg10810 avatar greg10810 commented on June 23, 2024

@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.

Screenshot 2023-08-24 at 17 42 02

Unfortionately I am unable to add FordPass integration, as per the screenshot.

from fordpass-ha.

itchannel avatar itchannel commented on June 23, 2024

@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.

greg10810 avatar greg10810 commented on June 23, 2024

@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.

greg10810 avatar greg10810 commented on June 23, 2024

@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.

greg10810 avatar greg10810 commented on June 23, 2024

@itchannel let me know if you need more info

from fordpass-ha.

SquidBytes avatar SquidBytes commented on June 23, 2024

#417 #400

from fordpass-ha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.