Digital Tachographs are a compulsory equipment for trucks heavier than 3.5 tons within the European Union. ReadESM converts the binary data retrieved from the tachograph or driver card into human-readable form. The ESM files ReadESM can read typically have extensions .tgd, .esm, .ddd or .add.
Download the Installer. Execute it, then start ReadESM from the start menu. You will have to associate it with tachograph files yourself. Note that the windows version does not check the RSA signatures.
Compiling on Windows is not difficult. You can use the Qt SDK, it already includes MinGW. You will also need a version of cmake, and you might want to install a subversion client, for example TortoiseSVN.
For simplicity, put the cmake location, the qmake location and the mingw location in the PATH environment variable. Then open ReadESM's CMakeLists.txt with qtcreator, and you are ready to go.
There are precompiled packages in my personal package archive. Installation on Ubuntu should work by typing
sudo apt-add-repository ppa:k-2005/ppa sudo apt-get update sudo apt-get install readesm
Afterwards you can start ReadESM by typing readesm on the command line, and associate a file extension with it.
You can get the program files from my homepage, or from the development page at SourceForge.
To compile, you need
If you want to check whether the signatures in the tachograph data check out, you also need:
If you have all prerequisites installed, unpack a release tarball or get the source from the Subversion repository, then build with CMake. On Ubuntu you might do something like:
sudo apt-get install libqt4-dev qt4-qmake libqtwebkit-dev libgcrypt11-dev libgmp3-dev sudo apt-get install cmake build-essential subversion svn co https://svn.code.sf.net/p/readesm/code/ readesm cd readesm/fileformat ./generate.py cd .. mkdir build cd build cmake .. -DWITH_L10N=ON make sudo make install
If you do not want to build localization, you can just omit the switch -DWITH_L10N=ON in the cmake call.
On other systems, use the package manager of your distribution to get the tools and libraries, and execute make install as root. You might also want to try checkinstall or build a package for your distribution in another way.
ReadESM installs icons and MIME type information on Unix systems. If you did not install the Ubuntu package with apt-get, you will have to update your MIME database. In SUSE Linux, that means running update-mime-database /usr/local/share/mime as root, in other distributions it might be something similar.
If you want the most recent changes and bugfixes or want to help developing, the Subversion repository is at https://svn.code.sf.net/p/readesm/code/. The repository does not contain the automatically generated code, so you will have to run generate.py in the folder fileformat first. So, to checkout the code from the repository and build ReadESM you might do something like this:
svn co https://svn.code.sf.net/p/readesm/code/ readesm cd readesm/fileformat ./generate.py cd .. mkdir build cd build cmake .. make
You can use ReadESM in GUI mode or in command line mode:
./readesmfrom the directory in which the executable is located, or just
readesmif ReadESM is installed somewhere in your PATH. In the GUI open a file by selecting "File", "Open…" in the menu bar.
The Tachograph file format, download protocol, printout format and basically everything about digital tachographs is defined in OJ:L:2002:207, p. 1-252. As with all European legislation it is available in several languages, for example
If you want to view it in another language, replace the EN in the URL for the English document with your preferred language code.
I wrote a little program (loadvu.py) for serial download in Python, it is currently in the ReadESM subversion repository and you can download it from my loadvu blog post. As testing it requires a company card and a truck, svn versions are often untested and will often require some hacking to work flawlessly.
Use Fahrlinux.
Well, no. The driver cards hold between 5548 byte and 13780 byte of activity data. That translates to 28 days only if a lot of activity changes have to be recorded. For most drivers, the card stores about one year of driving records. A possible way to clean the card would be to press break every minute on some slow Sunday.
That depends. On one hand, the cards and vehicle units use 1024-bit RSA, which is so far reasonable even for really confidential information and not directly breakable. On the other hand, well...
So far the cryptographic system itself might be unhacked. It is far easier to just drive with a borrowed card at night than to retrieve the secret key. On the other hand, there is some monetary incentive to avoid detection by manipulating the data, and some day this will be enough.
Please drive carefully, simply sticking to the necessary law is the simplest way to avoid fines.
You are free to modify and redistribute the program under the terms of the GPL. Although it is not required, I suggest you contact me if you made any changes or if you plan to do something.
You do not need to be a programmer to improve ReadESM, if you want some texts translated into your native language, just start Qt Linguist and type them in. Or if you think ReadESM needs a nice icon, create one.
If you modify the code, here are some hints:
These links might help you use ReadESM better:
The ERCA website FAQ might also answer some questions regarding digital tachographs.
If the program crashes, won't install, if you have feature requests or general feedback, feel free to either: