-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAuto Pro
Bennett Gunson edited this page Feb 8, 2023
·
7 revisions
To integrate OnBoardPi with OpenAuto Pro a few things need to be configured on the Pi, namely in the /home/pi/.openauto/config directory.
First, disable OBD connection in /home/pi/.openauto/config/openauto_system.ini by setting device type to 0. See openauto pro system configuration.
[Obd]
; Type of the ELM327 adapter.
; (0 - None, 1 - USB, 2 - Bluetooth).
; Setting this value to 0 (None) disables OBD-II feature.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
ObdDeviceType=0
OnBoardPi will control the serial connection and automatically read the OBD pid and gauge configuration file and know which commands to inject.
To create an icon for OnBoardPi in the 'Applications' menu of OAP, add the following to /home/pi/.openauto/config/openauto_applications.ini:
[Application_X]
Name=OnBoardPi
Path=/usr/bin/chromium-browser
IconPath=/home/pi/path/to/desired/icon
Arguments=--app=http://localhost --start-maximized
Autostart=false
You can download https://github.com/bgunson/onboardpi/blob/main/web/client/src/assets/touch-icon.png?raw=true to use as the icon file.
And increment the number of applications:
[Applications]
Count=X