Open mikechristiansen opened 1 year ago
I'm having a similar issue! phev2mqtt was working fine until yesterday when I updated to the latest master. It compiles ok and seems to run ok.
I've tried to register and I get exactly what the OP gets. So, I tried using the previous MAC ADDRESS that I had spoofed (from my mobile, the old way) and I only get: TCP_CONNECTED and nothing more..
what has changed? Is it possible to provide the previous version to test? (although I'm not sure what was)
I have a MY14 that was working fine ;)
LOGS with -v debug:
INFO[0000] %PHEV_TCP_CONNECTED%
DEBU[0000] %%PHEV_START_AWAIT%%
DEBU[0000] %PHEV_TCP_SEND_MSG%: [00] PING REQ (id a)
DEBU[0000] %PHEV_TCP_RECV_MSG%: [00] PING RESP (id a)
DEBU[0000] %PHEV_TCP_SEND_MSG%: [00] PING REQ (id b)
DEBU[0000] %PHEV_TCP_RECV_MSG%: [00] PING RESP (id b)
DEBU[0001] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0001] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e2e2e2e2e26a5150223)
DEBU[0001] %%PHEV_START14_RECV%%
DEBU[0001] %%PHEV_START_DONE%%
DEBU[0001] %PHEV_TCP_SEND_MSG%: [46] START SEND 14 (orig )
DEBU[0001] %PHEV_TCP_SEND_MSG%: [46] PING REQ (id c)
DEBU[0001] %PHEV_TCP_SEND_MSG%: [46] PING REQ (id d)
DEBU[0002] %PHEV_TCP_SEND_MSG%: [46] PING REQ (id e)
DEBU[0002] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0002] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d883d0fac7691583024a)
DEBU[0002] %%PHEV_START14_RECV%%
DEBU[0002] %PHEV_TCP_SEND_MSG%: [8c] START SEND 14 (orig )
DEBU[0002] %PHEV_TCP_SEND_MSG%: [8c] PING REQ (id f)
DEBU[0002] %PHEV_TCP_SEND_MSG%: [8c] PING REQ (id 10)
DEBU[0003] %PHEV_TCP_SEND_MSG%: [8c] PING REQ (id 11)
DEBU[0003] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0003] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b691583d88b61940241)
DEBU[0003] %%PHEV_START14_RECV%%
DEBU[0003] %PHEV_TCP_SEND_MSG%: [24] START SEND 14 (orig )
DEBU[0003] %PHEV_TCP_SEND_MSG%: [24] PING REQ (id 12)
DEBU[0003] %PHEV_TCP_SEND_MSG%: [24] PING REQ (id 13)
DEBU[0004] %PHEV_TCP_SEND_MSG%: [24] PING REQ (id 14)
DEBU[0004] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0004] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e26adadadada515021f)
DEBU[0004] %%PHEV_START14_RECV%%
DEBU[0004] %PHEV_TCP_SEND_MSG%: [3d] START SEND 14 (orig )
DEBU[0004] %PHEV_TCP_SEND_MSG%: [3d] PING REQ (id 15)
DEBU[0004] %PHEV_TCP_SEND_MSG%: [3d] PING REQ (id 16)
DEBU[0005] %PHEV_TCP_SEND_MSG%: [3d] PING REQ (id 17)
DEBU[0005] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0005] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d88b691583d0fac70252)
DEBU[0005] %PHEV_TCP_SEND_MSG%: [59] PING REQ (id 18)
DEBU[0005] %PHEV_TCP_SEND_MSG%: [59] PING REQ (id 19)
DEBU[0006] %PHEV_TCP_SEND_MSG%: [59] PING REQ (id 1a)
DEBU[0006] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0006] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b6194f23f507a37020f)
DEBU[0006] %PHEV_TCP_SEND_MSG%: [51] PING REQ (id 1b)
DEBU[0006] %PHEV_TCP_SEND_MSG%: [51] PING REQ (id 1c)
DEBU[0007] %PHEV_TCP_SEND_MSG%: [51] PING REQ (id 1d)
DEBU[0007] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0007] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e2e26adada51d0402ff)
DEBU[0007] %PHEV_TCP_SEND_MSG%: [5b] PING REQ (id 1e)
DEBU[0007] %PHEV_TCP_SEND_MSG%: [5b] PING REQ (id 1f)
DEBU[0008] %PHEV_TCP_SEND_MSG%: [5b] PING REQ (id 20)
DEBU[0008] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0008] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d883d883d0facfe1028d)
DEBU[0008] %PHEV_TCP_SEND_MSG%: [4d] PING REQ (id 21)
DEBU[0008] %PHEV_TCP_SEND_MSG%: [4d] PING REQ (id 22)
DEBU[0009] %PHEV_TCP_SEND_MSG%: [4d] PING REQ (id 23)
DEBU[0009] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0009] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b691d0ce11d0ce10265)
DEBU[0009] %PHEV_TCP_SEND_MSG%: [48] PING REQ (id 24)
DEBU[0009] %PHEV_TCP_SEND_MSG%: [48] PING REQ (id 25)
DEBU[0010] %PHEV_TCP_SEND_MSG%: [48] PING REQ (id 26)
DEBU[0010] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0010] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e26a51d0ce9ada502ba)
DEBU[0010] %PHEV_RECV_LISTENER% message not sent
DEBU[0010] %PHEV_TCP_SEND_MSG%: [79] PING REQ (id 27)
DEBU[0010] %PHEV_TCP_SEND_MSG%: [79] PING REQ (id 28)
DEBU[0011] %PHEV_TCP_SEND_MSG%: [79] PING REQ (id 29)
DEBU[0011] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0011] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d88b6194f237c769020e)
DEBU[0011] %PHEV_RECV_LISTENER% message not sent
DEBU[0011] %PHEV_TCP_SEND_MSG%: [3e] PING REQ (id 2a)
DEBU[0011] %PHEV_TCP_SEND_MSG%: [3e] PING REQ (id 2b)
DEBU[0012] %PHEV_TCP_SEND_MSG%: [3e] PING REQ (id 2c)
DEBU[0012] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0012] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b619c8b6194f23f0296)
DEBU[0012] %PHEV_RECV_LISTENER% message not sent
DEBU[0012] %PHEV_TCP_SEND_MSG%: [8d] PING REQ (id 2d)
DEBU[0012] %PHEV_TCP_SEND_MSG%: [8d] PING REQ (id 2e)
DEBU[0013] %PHEV_TCP_SEND_MSG%: [8d] PING REQ (id 2f)
DEBU[0013] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0013] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e2e2e26ada5158b02ff)
DEBU[0013] %PHEV_RECV_LISTENER% message not sent
DEBU[0013] %PHEV_TCP_SEND_MSG%: [f0] PING REQ (id 30)
DEBU[0013] %PHEV_TCP_SEND_MSG%: [f0] PING REQ (id 31)
DEBU[0014] %PHEV_TCP_SEND_MSG%: [f0] PING REQ (id 32)
DEBU[0014] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0014] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d883d0f237cfe11d027e)
DEBU[0014] %PHEV_RECV_LISTENER% message not sent
DEBU[0014] %PHEV_TCP_SEND_MSG%: [9b] PING REQ (id 33)
DEBU[0014] %PHEV_TCP_SEND_MSG%: [9b] PING REQ (id 34)
DEBU[0015] %PHEV_TCP_SEND_MSG%: [9b] PING REQ (id 35)
DEBU[0015] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0015] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b69158b619c83d80249)
DEBU[0015] %PHEV_RECV_LISTENER% message not sent
DEBU[0015] %PHEV_TCP_SEND_MSG%: [96] PING REQ (id 36)
DEBU[0015] %PHEV_TCP_SEND_MSG%: [96] PING REQ (id 37)
DEBU[0016] %PHEV_TCP_SEND_MSG%: [96] PING REQ (id 38)
DEBU[0016] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0016] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00012e26ada51d0ce11d022a)
DEBU[0016] %PHEV_RECV_LISTENER% message not sent
DEBU[0016] %PHEV_TCP_SEND_MSG%: [6a] PING REQ (id 39)
DEBU[0016] %PHEV_TCP_SEND_MSG%: [6a] PING REQ (id 3a)
DEBU[0017] %PHEV_TCP_SEND_MSG%: [6a] PING REQ (id 3b)
DEBU[0017] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0017] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c0001d88b691d0ce9a51d02fd)
DEBU[0017] %PHEV_RECV_LISTENER% message not sent
DEBU[0017] %PHEV_TCP_SEND_MSG%: [df] PING REQ (id 3c)
DEBU[0017] %PHEV_TCP_SEND_MSG%: [df] PING REQ (id 3d)
DEBU[0018] %PHEV_TCP_SEND_MSG%: [df] PING REQ (id 3e)
DEBU[0018] %PHEV_SEC_KEY_UPDATE% Updated security key
DEBU[0018] %PHEV_TCP_RECV_MSG%: [00] START RECV 14 (orig 4e0c00018b6194fac7619c8b0226)
DEBU[0018] %PHEV_RECV_LISTENER% message not sent
DEBU[0018] %PHEV_TCP_SEND_MSG%: [01] PING REQ (id 3f)
DEBU[0018] %PHEV_TCP_SEND_MSG%: [01] PING REQ (id 40)
^C
seems to go on forever..
I have the same issue with the same symptoms
Yep, same here. MY15 and failing to register in exact the same way,.
Hi, This project looks like just what im looking for except I cant get my connection to register.
Ive reset the car leaving both registration slots empty but still don't seem to be able to get a successful register.
Output from ./phev2mqtt client register below. _mike@ubuntuserver:~/phev2mqtt-master$ ./phev2mqtt client register INFO[0000] %PHEV_TCPCONNECTED%
Client connected and started! ^C
And also part of my output from "ip a" _3: wls16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:c2:c6:a1:d6:0a brd ff:ff:ff:ff:ff:ff altname wlp0s16 inet6 fe80::2c2:c6ff:fea1:d60a/64 scope link valid_lft forever preferredlft forever
Is there any way to trouble shoot this?
Thanks for your time!