-
Notifications
You must be signed in to change notification settings - Fork 16
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
update service id for start/stop action to match current USA endpoint #3
base: master
Are you sure you want to change the base?
Conversation
Hey @TaiPhamD, thank you for the MR. Quick question: Is your Hyundai vehicle bought in the United States? (Different regions seem to have different APIs). |
Yes it is bought from the US |
I just ran some tests on the existing codebase, and things are working as expected for a 2021 Elantra. What car do you have? |
I have an Ioniq 5. The apis must be different even between car models. Might need a dictionary for action verbs variability depending on the car model. |
Out of curiosity, when using |
Would you mind adding an if self.model == "ioniq5": # Not sure what the `self.model` should be.
action = "postRemoteFatcStart"
else:
action = "ignitionstart"
self._request(
action,
headers={ ... }
...
) For the |
You get a 200 OK response code however with an empty response in the body instead of the usual Z-Success response struct. The action also doesn't get logged at all the the action remote history from the bluelink app.
No. You get this error if I don't use postRemoteFatcStop on the ioniq 5.
|
Rather than using if else statement in order to easier support multiple models. Could you list me the exact name of the Electra model? I think we can add this in the constructor:
Then in the action code just set:
Side note: Thanks to your repo it gave me the idea to write a web proxy server so I can use Siri commands to send remote action to my car to start/stop climate etc. You might find it useful: |
Got it.
My one concern with this method is that the dictionary will not default, and we would have to - over time - collect all the different car models. I think we can safely assume that if the car is electric it uses If you don't mind doing some exploration, perhaps here: Lines 339 to 353 in 1d8a890
You can do a
Wow, this is actually awesome! I never got around to it, but I had always wanted to write a layer for Google Home to start my car with seat warmers, air setting, etc. set. Happy to see this package is being used for some cool stuff. 😄 |
Based on latest network inspection the service ID have changed which will make this code get an error. The ID is updated to fix this problem.
Example of the current raw ID: