Skip to content
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

Aircon duration seems to be stuck on 10 minutes #6

Open
gmta opened this issue Oct 21, 2020 · 3 comments
Open

Aircon duration seems to be stuck on 10 minutes #6

gmta opened this issue Oct 21, 2020 · 3 comments

Comments

@gmta
Copy link
Contributor

gmta commented Oct 21, 2020

Using phevctl to set the aircon mode (heating/cooling/windshield) works fine, but regardless of whether I set 10, 20 or 30 minutes for the duration, my car (MY15) seems to stop after 10 minutes.

@papawattu
Copy link
Contributor

It might be because the call is two requests, one to set then time and then one to switch on the aircon. There are issues with the encryption logic where not all requests are accepted. The retry logic only works on one of the requests. I could look into splitting into two requests.

@gmta
Copy link
Contributor Author

gmta commented Oct 22, 2020

@papawattu Not sure if I understand that entirely - as far as I know, there are two registers that are updated in total:

Since the mode works, and the aircon/heater turns on correctly, my guess is that somehow the duration is sent incorrectly? I know that there is a retry handler, but if the register failed to update, wouldn't the mode be wrong as well?

@papawattu
Copy link
Contributor

Can you check is to see if there is a response back from the aircon mode call, turn on full debug and and look for a response for register 2, so it will be 0x6f(command) 0x04(msg len) 0x0x01 (type 1 is response) 0x02 (register) 0x00 (data) 0xXX (last byte is the checksum)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants