KE Digital Dash GUI
The Digital Dash GUI uses the Kivy GUI library.
Read the Kivy documentation on installing Kivy. Once Kivy is installed on your machine you can install the other Python modules required by using the requirements.txt
file:
pip install -r requirements.txt
When running the Digital Dash GUI there are a few CLI arguments that you can provide:
--file|-f
: Points to a CSV data file that can be used to spoof Serial data when DD is not connected to the OBDII port.
--config|-c
: Points to a JSON configuration file for the DD views, by default it points to etc/config.json
.
--development|-d
development mode makes accessing the Kivy console.
python3 main.py --file tests/data/rpm_increasing.csv -c etc/configs/single.json
Manually run tests using:
python3 -m pytest tests/
To add a new image for a gauge/needle/background all you need to do is add the image(s) to the static/images directory. For gauge and needle images you need to create a new dir(folder) for the name of your "path". For example if I am creating a new theme called "space" I would do the following:
mkdir static/imgs/space
then you want to add a gauge.png
and needle.png
file to that directory.
For a new background option just add the image to the static/imgs/Background
directory.