buxtronix

Results 24 comments of buxtronix

This is awesome, getting this part figured out would be a huge help to getting the protocol working reliably! I will try to get some time to try the modified...

I've not been able to get the modified app to run :( I get the brief initial splash screen, then a blank screen. Logcat shows the following: ``` - waiting...

Here's the registration debug log: [phev-registration-debug.txt](https://github.com/buxtronix/phev2mqtt/files/9689253/phev-registration-debug.txt)

[phev-update-debug.txt](https://github.com/buxtronix/phev2mqtt/files/9704857/phev-update-debug.txt) [phev-parkinglights-debug.txt](https://github.com/buxtronix/phev2mqtt/files/9704858/phev-parkinglights-debug.txt) I've attached two more debug files. One is a general refresh of the car status from the app, and the other is the log from when the parking...

I notice a few instances where `security_key` is changed without `0x5e` or `0x4e`, and I can't see a valid packet that it's derived from. Example from one of the uploaded...

Ah that explains it. So I have implemented the xor algorithm in a local copy of phev2mqtt and it's looking really good at least against captured data, it all matches...

Tested against my MY18 and it's working! Applied these changes in https://github.com/buxtronix/phev2mqtt/commit/3db6f8370ae9f62f987f2260b96ed5cae32838ac Certainly more reliable than the previous method of guessing, however I do still occasionally get something going out...

I have also opened https://github.com/buxtronix/phev2mqtt/issues/18 to reverse engineer the registration process.

First thing I discovered...a client can 'deregister' itself by writing the value `0x01` to the register `0x15`. I learnt this by sniffing the OEM client and selecting the 'cancel vin...

I connected phev2mqtt (using an unregistered mac address) to my car when it was in registration mode, and whilst it was then able to do the usual fetch of registers,...