RTL_433 Tpms reading from Android
New car, new problems. This page is mostly here for me to document what i did.
So. i got myself a Renault megane mk3 station wagon. The old Getz was no longer able to run in the cities because of having no particle filter.
Having BEGGED the wife for something RWD i ended up with this car. A FWD diesel eco car. The reason it was this specific type, is because the cabin is big enough for my kids.
Now this car has tpms sensors, and therefore i need sensors in the new summerwheels im getting.
So i needed a way to read the sensors.
I tried working with DTT4ALL but no luck. I will keep trying, time allowing, to see if i can switch to indirect tpms.
Until then, i need to figure out what tpms sensors are in the car, and what id they have, so i can clone them.
Having gone through a couple of different directions, i ended up with thinking rlt_433 was a path to follow.
Searching the internet, i found rescourses like.
These about arduinos:
https://forum.arduino.cc/t/decoding-433-92-mhz-fsk-signal/486047/5
And these about more general computers
https://github.com/jboone/tpms?tab=readme-ov-file
https://github.com/merbanan/rtl_433/issues/2978
https://www.rtl-sdr.com/testing-tire-pressure-monitoring-system-sensors-with-rtl-sdr-and-rtl_433/
This dude that made a translator from one type of tpms to another..
https://forum.arduino.cc/t/tpms-transcoder-for-renault-zoe2-with-cc1101-and-arduino-nano/1363151
Basically they ended up leading me to this piece of software
https://github.com/merbanan/rtl_433/tree/master
And the links ended up leading me to how to use the software, and what i needed
So i bought a dvb-t receiver with a RTL2832U chip, hoping it would work
Then got to work. My main laptop is using Debian 12, so a quick apt install rtl_433 later and bobs your uncle, i got a scanner.
Now some of the pages above suggest scanning the wheel sensors without an antenna, but i didn't work for me. When stationary i got no results, and the only result i got from driving around, was a single citroen sensor. Not good.
Having the laptop in the car wasn't nice either,
so i started googling rtl_433 and arduino.
and i got to THIS page.
It suggested installing Termux and ubuntu and using it.
Now being a jackass it took me the best part of the morning to get it working.
Here's a quick howto, but go to the link to see a better walk through.
1. install SDR driver from the play store https://play.google.com/store/apps/details?id=marto.rtl_tcp_andro
2. Install Termux https://play.google.com/store/apps/details?id=com.termux
Now i go on a side path, from what Dobrou did.
in Termux i did.
apt update && apt upgrade -y
apt install -y proot proot-distro
proot-distro add ubuntu
The reason is that i couldn't get AnLinux to work, and i didn't have time to fiddle. My guess would be that if i had installed proot and proot-distro, AnLinux would have worked.
Back to the fun.
i added a usb-c hub, Clamped in my dvb-T adapter
I opened the rtl-sdr driver, chose advanced and entered
-a 0.0.0.0 -p 14423 -f 433920000 -S 1024000 -T 0.
Then i started the driver. I found out that stopping RTL_433 in ubuntu, makes the driver stop.
The in Termux i started Ubuntu.
proot-distro login ubuntu
Again i divert from Dobrou. i did a
apt update
apt install rtl_433
Then i was set ready to play work.
The first command i tested, showed me that one of my neighbours have a 433mhz weatherstation.
Fun as that was, i didn't want that data.
I ended up with the following command to run the scan
rtl_433 -M level -S known -R 90 -R 168 -R 212 -d rtl_tcp:127.0.0.1:14423
The flags meaning
-M Level: Show signal level
-S known: Save every known signal, as a .cu8 file to look at later.
-R 90/168/212: Only look for these known signal types... Since i have a Reanult, those are the signals i look for.
-d rtl_tcp:127.0.0.1:14423 : This would apparently let us connect to a remote sensor, in this case we connect to localhost port 14423. its NOT a coincidence that the port number is the same as the -p parameter in the rtl-sdr driver.
Then i went driving.. And i found out my cars TPMS are very active the first 5 minutes of a drive. Then they seem to slow down.
Once i stop, they stop transmitting as well
Long story short, i got about 40 files, that i then moved from my phone to my computer using scp.
Woops.
apt install openssh
There we goSo thats where this post will end for now.
I am waiting for an answer, to see if my Id's seem to make sense.
If they do, i will order the sensors, and hopefully i can get my summer wheels going.
