Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upOverwriting TPMS IDs via CanZE #577
Comments
This comment has been minimized.
This comment has been minimized.
Thanks for reporting. I am assuming you are using a KONNWEI902 dongle? If so, there is not a lot we can do in the short term I am afraid, as both developers own older (non TPMS) cars; we literally have to borrow another more recent ZOE to debug and test. |
This comment has been minimized.
This comment has been minimized.
I have the ELM327 Bluetooth dongle, like this one: http://www.urlaub-in-istanbul.com/images/1/en32862623124.jpg |
This comment has been minimized.
This comment has been minimized.
Ah, that will almost certainly not work, sorry. See https://canze.fisch.lu/hardware/ and https://canze.fisch.lu/elm327/ for the explanation. Feel free to re-open when tried with a KONNWEI902 or a CanSee ( https://gitlab.com/jeroenmeijer/cansee ) dongle. |
This comment has been minimized.
This comment has been minimized.
OK thanks for the info. Sorry :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thank you for the offer. I need to go over the code, but it is hard as I do not have a car with TPMS. We need to consider adding some below-the-bonnet logging to get this right. If that works out, I might get back to you to see if you can do a few test. |
This comment has been minimized.
This comment has been minimized.
I can confirm the same defect as kler reported 8 days ago. Unable to Write TPMS ID mit Error Msg "Could not read write valves:-E-ISOTP tx flow Error" as response to "Debug 673.11". |
This comment has been minimized.
This comment has been minimized.
Thanks for reporting. The cause it not very clear yet, but might be related to timing. I made a small change in the ELM driver which will come out in the next release. Expect it to be in the play store in under a week. In the mean time, you MIGHT want to try with the car not "started" and see if that makes a difference. I would appreciate the results of both. |
This comment has been minimized.
This comment has been minimized.
#581 confirmed also in the latest update, so the timing change did not work. I have limited resources now (time) but will work on it ASAP |
This comment has been minimized.
This comment has been minimized.
I've now tried with version 1.46 and the car not started, and I receive an error, slightly different than before:
|
This comment has been minimized.
This comment has been minimized.
Hi all,
It seems there are two ways to write TPMS IDS
1 : Writing all TPMS ID at same time
Request[765.3B5D000000000000000000000000] : Write_TPMS_Configuration_4 (ignorée)
Send [765.3B5D000000000000000000000000.3.0]*: CodeIdentite(1)
Send [765.3B5D000000000000000000000000.6.0]*: CodeIdentite(2)
Send [765.3B5D000000000000000000000000.9.0]*: CodeIdentite(3)
Send [765.3B5D000000000000000000000000.12.0]*: CodeIdentite(4)
2 : Writing TPMS one wheel at a time
Request[765.3B5E00000000] : Write_TPMS_Configuration_12 (ignorée)
Send [765.3B5E00000000.3.0]*: Position_roue
Values list :
1 AVG
3 ARD
4 ARG
2 AVD
0 Aucune
Send [765.3B5E00000000.4.0]*: CodeIdentite
In CanZE for iOS, I use second method.
Bytes to send are : 3B5E00000000
Where 00 equals Wheel ID (01 Front Left, 02 Front Right, 03 Rear Right and 04 Rear Left)
And 000000 are TPMS ID (AB4C37) in the log below
Below, CanZE log for writing TPMS ID AB4C37 on Rear Right Wheel
:requestField(ecu[26],request[objet][Write_TPMS_Configuration_12] Virtual[0]
SID[765.3B5E00000000.3.0] Data[Position_roue] Value[ARD] Raw Value[3]
SID[765.3B5E00000000.4.0] Data[CodeIdentite] Value[11226167] Raw Value[11226167]
Construction Bytes To Send Ecu bytes to send (original) = [3B5E00000000] ECU bytes to send (calculé) = [3B5E03AB4C37]
:sendELM(elm[objet], ecu_request[objet], command[3B5E03AB4C37], auto[1]
CanBus[1] > Ecriture ELM : data[063B5E03AB4C37<\n>]
CanBus[1] < Ecriture ELM : Ok
Hope it’s help ;-)
Tried on my non TPMS equipped 2013’s Zoé and no error occurs; but no data where written...
Cordialement,
Frédéric RICHARD
… Le 18 nov. 2019 à 08:11, Patrik Lermon ***@***.***> a écrit :
Thanks for reporting. The cause it not very clear yet, but might be related to timing. I made a small change in the ELM driver which will come out in the next release. Expect it to be in the play store in under a week.
In the mean time, you MIGHT want to try with the car not "started" and see if that makes a difference. I would appreciate the results of both.
I've now tried with version 1.46 and the car not started, and I receive an error, slightly different than before:
Could not write walves: E-ISOTP tx flow Error:STOPPED
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#577?email_source=notifications&email_token=ADA3PSAXSHGMZ4X2CXCEUX3QUI5YJA5CNFSM4JF7JSXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEJNLXQ#issuecomment-554882526>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADA3PSE7ZMQBBHP525RT4RTQUI5YJANCNFSM4JF7JSXA>.
|
This comment has been minimized.
This comment has been minimized.
That is GREAT info as I can (temporarily) avoid the long frame issue on the ELMs. Thank you. |
This comment has been minimized.
This comment has been minimized.
You’r welcome
Cordialement,
Frédéric RICHARD
… Le 18 nov. 2019 à 10:55, yoh-there ***@***.***> a écrit :
That is GREAT info as I can (temporarily) avoid the long frame issue on the ELMs. Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#577?email_source=notifications&email_token=ADA3PSD75CQIM6S66QPITMLQUJRAXA5CNFSM4JF7JSXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEJ3WZY#issuecomment-554941287>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADA3PSHGBNXPOPHZCO2FH7LQUJRAXANCNFSM4JF7JSXA>.
|
This comment has been minimized.
This comment has been minimized.
I have implemented @FredLeudon suggestion, and @fesch released. I really hope this is fixed now. Thank you all for reporting. I am closing the issue, but please reopen if this release did not solve the issue. |
This comment has been minimized.
This comment has been minimized.
Thx for the rapid work! However, I believe that the release caused a problem, namely that the TPMS are wiped from the car if a write is performed :( I had working TPMS values programmed in the car, and after writing I get the error:
And
And after that
Android, CanZE version 1.47 |
This comment has been minimized.
This comment has been minimized.
Oh bloody hell :-( |
This comment has been minimized.
This comment has been minimized.
Well, I didn't try it, but I believe the car stills drives xD |
This comment has been minimized.
This comment has been minimized.
I have no TPMS, but I will try to fix ASAP. I hope you have a screen print or paper with the proper (current) values? |
This comment has been minimized.
This comment has been minimized.
I do have screenshot from when they were attached last winter. The reason I believe this is the case is because I today changed the last letter of front left from A to B before pressing write. I really can't explain this. Anyhow - I'll happily test the next fix, and hopefully the values I took note of last winter will work :) |
This comment has been minimized.
This comment has been minimized.
OK, thanks for being a good sport. I went over the code and it looks quite OK, so this is a tough one. And I did test things, though a while ago and with a CanSee dongle. I'll dig deeper. |
This comment has been minimized.
This comment has been minimized.
Not that it helps CanZE, but if you had issues with the TPMS-IDs you can write them back with ddt4all and a suitable database for renault. I have used this the last 3 seasons without issue even with a cheapo ELM327 from Ali. |
This comment has been minimized.
This comment has been minimized.
That's true indeed and it does work. Would also be a great way to ensure
the ID's you have listed are correct.
…On Wed, Nov 20, 2019 at 10:08 AM bjaolsen ***@***.***> wrote:
Not that it helps CanZE, but if you had issues with the TPMS-IDs you can
write them back with ddt4all and a suitable database for renault. I have
used this the last 3 seasons without issue even with a cheapo ELM327 from
Ali.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#577?email_source=notifications&email_token=ABF7XVXMYOXXHMOHQ6WYWVTQUT5CTA5CNFSM4JF7JSXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERILPI#issuecomment-555910589>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABF7XVSJDCRASJFA3QI3NMDQUT5CTANCNFSM4JF7JSXA>
.
--
Please use Signal to reach me on secure IM and VoIP http://sgnl.link/1KpeYmF
|
This comment has been minimized.
This comment has been minimized.
Thx for input! Irregardless of how stupid it is to actually copyright such a database, I couldn't find any trustworthy source for downloading it, and I don't want to do too much fiddling with neither the computer nor the car :) |
This comment has been minimized.
This comment has been minimized.
Regarding Write tire ID's: My ODB dong is a Vgate Icar Bluetooth 3. I noted that the CanZE needed a minute of operation before it starts to read data. The setting "use ISOPT fields" was on. To be sure CanZE had communication, I checked "Battery voltage map" was working. Write button seems not perfectly stable and different warnings and errors was output in the debug field. But when the Read button returns what was written with the Write button, it seems to work. I pushed the Write button a couple of times and the the Read button. More details regarding ID's: Recommendations for winter tires: Thanks a lot for CanZE. |
This comment has been minimized.
This comment has been minimized.
Thank you for testing again! I have to say, that dongle, or I must actually say, most of those dongles, are awfully crappy and don't perform well at all. It's hard to say, because these blue shells are very generic and house many, many different designs. The other day I got one with a real PIC controller in it that was fine, but I had another with two stacked PCB's that was pure evil. The code is 100% the same for each wheel (it's actually a loop), so there is not a lot I can do, other than write-read-compare maybe, retry once or twice if it fails. Hmmmm, let me think about that for a little bit. |
This comment has been minimized.
This comment has been minimized.
Hi there, It works alright after 25 minutes of driving. Nothing to note at all. Perfect. But some points just to remind and perhaps add/change:
And again, thank you very much for the development of this very useful app, I will use it at least twice a year, changing the winter tires ;-) |
This comment has been minimized.
This comment has been minimized.
Important one almost forgot to mention is:
Cheers! |
This comment has been minimized.
This comment has been minimized.
Great news!
Thank for testing and the heads up! |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Thinking about the swapping of pressures (ID is fine now I think?) some more. As said, I triple checked both the ISOTP as well as the free frame definitions, and they both are most definitely according to three sets of documentation. If you have time, you might want to check pressures with Use ISOTP Fields setting off. I would suggest that:
|
This comment has been minimized.
This comment has been minimized.
...or just drain Right Rear of 0.2 Bar and se what will be reported on the CanZE pressure display? :-) |
This comment has been minimized.
This comment has been minimized.
Yes please! |
This comment has been minimized.
This comment has been minimized.
But if you do, please check both with ISOTP on and off, because those are different queries to the car. Thanks! |
This comment has been minimized.
This comment has been minimized.
I have 0.2 bar diff between RR and RL. It looks to me that the readings switch places now that upgraded to 1.49b3 vs 1.48... |
This comment has been minimized.
This comment has been minimized.
@minibiti The pressure readings have not switched between 1.48 and 1.49beta3, or I am totally crazy (please note that I uploaded beta4 this morning). The rear ID's have switched and I am pretty sure these are OK now. With your dongle the recomended setting is absolutely ISOTP on. Is it possible to know which tire is REALLY 0.2 lower/higher and verify (with ISOTP on, and if it works also with ISOTP off)? But remember, to do this test, you need to be 100% sure that the ID's of the sensors match the exact positions. The car does not know the real positons; if two IDs are swapped, the car is happy, but the pressures are swapped in CanZE too. I know, it's complicated. @softamateur Please realize (I forgot!) this can be your use case too and the Autel will not be of help unless you are 100% sure about which sensor has which ID. |
This comment has been minimized.
This comment has been minimized.
TPMS tools, like the Autel Maxitpms TS401. works with an initial 150 KHz LF signal that activates the sensor. You hold the tool in contact with the tire as close to the inside sensor as possible during that procedure. The range is sad to be small for the LF signal. The system is designed not to be fooled by surrendering cars and tires and just activate,read and in cases, program, just one at a time. A very good tutorial is given on youtube "Autel TS401, how to program MX sensors" https://www.youtube.com/watch?v=vwMxHx8WoYw And for the hardcore DIY "How to install a tps yourself! But should you?" also featuring a TS401 :-) I will dig in to it and make sure how the displays are linked to the sensors and be back to night :-) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
You're a hero, thank you! I will merge the tires branch now in "development" (it has a few more changes), upload it to beta5, wait a few days and push that to production. Yay! |
This comment has been minimized.
This comment has been minimized.
To all: thank you so much for all the testing and reporting. Community cooperation at it's best. 1.49Beta5 is now in the play store and will roll out in the next few hours. Unless there are unforeseen "disasters", this will go to production in a couple of days. I will close this issue shortly after that. |
This comment has been minimized.
This comment has been minimized.
@yoh-there Thank YOU for the great work! |
This comment has been minimized.
This comment has been minimized.
Hi, just wanted to add another success report:
|
This comment has been minimized.
This comment has been minimized.
Great! Yes, >6 characters were reported earlier, but 3 bytes per sensor is the space in the BCM module. Good to know it's the first ones to use. If the print on the box is to be trusted at all (see softamateur's comment above) |
This comment has been minimized.
This comment has been minimized.
@redflo I never realized rtl_433 could decode TPMS, but it makes perfects sense. I assume you simply waited until the valves transmitted? Because there is not LF transmitter to make the sensors bow to your will involved. I really should order a digital radio stick ;-) |
This comment has been minimized.
This comment has been minimized.
@yoh-there Just put the stick into a notebook in your car and run rtl_443. I had to add the switch "-G" because i have Jansite TPMS sensors. Simply drive one minute, the sensors should send almost every second if your speed is > 20km/h. Note that you may see other things too like TPMS from other cars or other devices in the area. So in case you are unsure, make a trip to the countryside :-) |
This comment has been minimized.
This comment has been minimized.
First of all, I would like to say big "Thank you!" to CanZe team for all those years of devotion to develop this very handy tool. Therefore I ordered recommended KW902 (I got black one from https://www.amazon.co.uk/gp/product/B0785F9P57), which so far seems to be working fine with CanZe. |
This comment has been minimized.
This comment has been minimized.
Thank you for the heads up. You might want to try to set "Use ISOTP fields" with that dongle, though I see it is one with 2 PCB's stacked and must assume it is like one I bought a few years ago to no avail. While unrelated to this TPMS topic, I'd like to hear if that helps, as that mode soves a lot of "crappy dongle" issues. But not all. Happy driving (and CanZe-ing) |
This comment has been minimized.
This comment has been minimized.
@yoh-there, thank you. For KW902 it seems that "Use ISOTP fields" should not be checked (although I made successful TPMS test with both set and unset value of this parameter), since some other screens do not work ok (e.g. Charging prediction screen remains with empty values) BTW, for some unknown reason to me, even Panlong is now able to write TPMS values, regardles of if "Use ISOTP fields" was checked or not. |
This comment has been minimized.
This comment has been minimized.
Thank you for reporting back,appreciated. I will test KW902 on Charging Prediction with Use ISOTP fields, as that should work. |
This comment has been minimized.
This comment has been minimized.
@minibiti I saw your comment under the release blog post. Can you elaborate? |
This comment has been minimized.
This comment has been minimized.
I think that @minibiti had following in mind: Message "Please do not try to write Tyre IDs now" is still visible on main page after initially opening app. |
This comment has been minimized.
This comment has been minimized.
Thanks @DompaEV, this is what I was referring to indeed :) |
This comment has been minimized.
This comment has been minimized.
Ah right, thanks. Fixed. It will take a few minutes to propagate within the github ecosystem to githubusercontent.com. Closing this issue now. |
Hi,
I have the latest version of CanZE (1.45) on Android but when I try to overwrite the tires pressure sensors registered with new IDs so they match the winter tires ones, I get an error.
"Could not read write valves: E-ISOTP tx flow error"
Any idea?