Open gmta opened 4 years ago
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.
@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?
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)
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.