Warning!: many things can be set with DDT4ALL, theoretically also nasty things that might damage the vehicle. Warning send!

it is said to work with this adapter: (at least for the ZOE the wirering needs to be modified?) (why so complicated Renault?)

but then it is very interesting what stats about battery can be read.

highly recommended to put this into a virtual machine to not mess up the host system.

Definately required: Debian 12 “bookworm”

also with KVM virt-manager excellent USB device-forwarding function, passing the usb-serial-odb-adapter to the kvm-vm “should just work” like a breeze 😀

# install the software says it depends on:

works with adapters (so far)

  • ELM327 USB/BlueTooth/WiFi (Original one with PIC18F25K80, Chinese clone not working)
  • ObdLink SX
  • ELS27
depends on python 3.10
# per default Debian 11 ships with 3.9
# per default Debian 12 ships with 3.11 <- use this one

hostnamectl; # tested with
Virtualization: kvm
Operating System: Debian GNU/Linux 12 (bookworm) 
Kernel: Linux 6.1.0-12-amd64
su - root
apt update
apt upgrade
apt install git
apt install python3-pip

# allow access to  /dev/ttyUSB0
usermod -a -G dialout user
# reboot for settings to take effect
reboot
# after reboot
su - root
# install the software
rm -rf /usr/lib/python3.x/EXTERNALLY-MANAGED
Ctrl+D (log out as root, log in as default user)

mkdir -p ~/.config/pip
echo '
[global]
break-system-packages = true
' > ~/.config/pip/pip.conf
# check if file was written correctly
cat ~/.config/pip/pip.conf

# to avoid: ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
# correct error:
pip install PyQt5 
pip install PyQtWebEngine

# to avoid: ModuleNotFoundError: No module named 'serial'
pip install pyserial
mkdir software
cd software/

# to avoid error qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
apt install libxcb-cursor0
apt install python3-pyqt5

git clone --recursive https://github.com/cedricp/ddt4all.git
# run the software
python3.11 /home/user/software/ddt4all/main.py

that’s not all?

reboot the machine to make sure the user now has dialout privileges (the right to use serial devices)

  • as it is said that there is still a vehicle database missing to be fully functional (might contain only renault definitions)
    • it should contain a folder “ecus” that should be copied into the ddt4all’s “root” folder like this.
  • then:
    1. find the user’s car obd connector port
    2. connect obd adapter to car
    3. turn car key ignition into “position 1” (so all lights show up on dashboard, but engine is not started)
    4. connect obd adapter to laptop
    5. start the program
    6. read the data 😀

if it’s a kvm vm

it is now possible to connect an odb adapter and “redirect” = pass it through to the vm 😀

# start the program like this:

python3.11 /home/user/software/ddt4all/main.py

the adapter should show up as /dev/ttyUSB0

check the “I am aware” checkbox then click “Connected mode” to enter

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin