Current version of the OpenAuto Pro is 12
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System configuration (openauto_system.ini)
#1
Information 
Description:
Quote:Main OpenAuto Pro configuration file.
Any manual change in this config file requires restart of the OpenAuto Pro application.

Most parameters can be adjusted in settings menu of OpenAuto Pro application.
All parameters that are not present in settings menu (like path to sensor descriptors, type of the screen, and some others) are not intended to change in runtime. Nonetheless, they are described in this document and can still be changed directly in config file.

Location: /home/pi/.openauto/config/openauto_system.ini
#2
[Units]
; Unit of the temperature visible on TopBar (0 - Celcius, 1 - Fahrenheit).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
TemperatureUnit=0
#3
[Appearance]
; Format of the time (0 - 12H, 1 - 24H).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
TimeFormat=1

; Show/Hide visibility of the TopBar during Android Auto projection. Disable TopBar visibility to make Android Auto projection fullscreen.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ShowTopBarInAndroidAuto=true

; Show/Hide visibility of TopBar's temperature indicator.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ShowTemperature=false

; Show/Hide visibility of TopBar's clock when Mirroring projection is active.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ShowClockInMirroring=true

; Show/Hide visibility of TopBar's clock when Android Auto projection is active.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ShowClockInAndroidAuto=true

; Opacity of the OpenAuto Pro interface controls [percentage].
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ControlsOpacity=75

; Scale of OpenAuto Pro interface font [percentage].
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
FontScale=0

; Language of the OpenAuto Pro interface.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
; Possible values: Čeština, Dansk, Deutsch, English, Español, Français, Italiano, Nederlands, Norsk, Polski, Português, Pусский, Română, Українська, 繁體中文
Language=
#4
[System]
; Enable/disable autostart of Android Auto when phone is plugged-in via USB (wired mode) or connected via Bluetooth (wireless mode).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
AndroidAutoAutostart=true

; Type of the touchscreen (0 - Single touch or Mouse, 1 - Multi touch, 2 - None).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
TouchscreenType=1

; Type of the screen (0 - Normal, 1 - Wide). Change this value to 1 to enable OpenAuto Pro Widescreen mode.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
ScreenType=0

; Width of the widgets space (Phone, Navigation, Music, Gauges) in Widescreen mode.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
ScreenSplitPercentage=30

; Enable/disable downloading of the cover art from Online services.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
DownloadCoverart=false
#5
[Mirroring]
; Show/Hide visibility of the TopBar during Mirroring projection. Disable TopBar visibility to make Mirroring projection fullscreen.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ShowTopBarInMirroring=true

; Width of the video that will be streamed by the phone.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ResolutionWidth=1280

; Height of the video that will be streamed by the phone.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ResolutionHeight=720

Example of aspect ratio calculation:
  • Phone’s screen resolution: 2880x1440 - aspect ratio is 2 (width / height)
  • Raspberry Pi’s screen resolution: 800x480 – aspect ratio is 1.67 (width / height)
  • Desired mirroring resolution: 1280x720 (HD)
  • Calculated resolution: 1280x640 [(1280 / 2880) * 1440]
#6
[Day][Night]
; Type of the OpenAuto Pro interface day/night controller.
; (0 - TSL2561 sensor, 1 - Clock, 2 - Manual switching, 3 - GPIO).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
OpenAutoDayNightControllerType=2

; Type of the Android Auto interface day/night controller.
; (0 - TSL2561 sensor, 1 - Clock, 2 - Manual switching, 3 - GPIO).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
AndroidAutoDayNightControllerType=2

; Time when day theme will be activated.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SunriseTime=6:0

; Time when night theme will be activated.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SunsetTime=18:0

; Threshold after which day mode will be activated [percentage value of the TSL2561 min-max lux scale].
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
LightSensorThreshold=100

; Path to the TSL2561 sensor descriptor.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
LightSensorDescriptor=/dev/i2c-3

; I2C address of the TSL2561 sensor.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
LightSensorAddress=57

; Minimum range value of the TSL2561 lux scale.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
LightSensorMinRange=0

; Maximum range value of the TSL2561 lux scale.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
LightSensorMaxRange=30000

; Theme of the OpenAuto Pro interface (0 - Day, 1 - Night, 2 - None).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
OpenAutoDayNightMode=1

; Theme of the Android Auto interface (0 - Day, 1 - Night, 2 - None).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
AndroidAutoDayNightMode=2

; Number of the GPIO PIN that will trigger switching between day and night themes.
; LOW state of the PIN triggers day theme, HIGH state triggers night theme.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
GpioPin=1
#7
[DayNight]
; Path to the wallpaper image file.
; Supported formats are jpg, jpeg, bmp, png, svg.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
WallpaperPath=

; Mode of the wallpaper image rending.
; (0 - Stretch, 1 - Preserve Aspect Fit, 2 - Preserve Aspect Crop).
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
WallpaperMode=0

; Opacity of the wallpaper image [percentage].
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
WallpaperOpacity=100

; Color of the background.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
BackgroundColor=#4b4b4b

; Color of the controls highlight.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
HighlightColor=#1f85ff

; Color of the controls background.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ControlBackground=#e2e2e2

; Color of the controls foreground.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ControlForeground=#1f85ff

; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
NormalFontColor=#000000

; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SpecialFontColor=#000000

; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
DescriptionFontColor=#202020

; Color of the TopBar and BotttomBar backgrounds.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
BarBackgroundColor=#b2b2b2

; Color of the control box (displayed on Bottom Bar) background.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ControlBoxBackgroundColor=#808080

; Color of the gauge indicator.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
GaugeIndicatorColor=#F5B42A

; Color of the icons shadow.
; It is possible to provide ARGB or lexical notation of the color.
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
IconShadowColor=#60000000

; Color of the icons.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
IconColor=#000000

; Color of the widescreen widgets background.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SideWidgetBackground=#b2b2b2

; Color of the TopBar and BottomBar shadows color.
; It is possible to provide RGB or lexical notation of the color.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
BarShadowColor=#333333
#8
[General]
; Handedness of traffic relevant for OpenAuto Pro and Android Auto interfaces.
; (0 - Left hand drive, 1 - Right hand drive)
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
HandednessOfTraffic=0

; Enable/disable using of the touchscreen to control Android Auto interface. Disable it to control Android Auto interface only by key strokes.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
HasTouchscreen=true

; Path to the descriptor of DS18B20 temperature sensor (e.g. /sys/bus/w1/devices/28-0316700c1cff/w1_slave).
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
TemperatureSensorDescriptor=
#9
[Video]
; Number of frames per second for Android Auto projection
; (0 - 30FPS, 1 - 60FPS)
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
FPS=1

; Resolution of the Android Auto projection
; (0 - 480p, 1 - 720p, 3 - 1080p)
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
Resolution=1

; Screen density. Increase the value to make controls on Android Auto interface bigger. Lower the value to make them smaller.
; Lower values also enable widescreen mode of Android Auto interface. It depends on phone what value will enable it - needs to be figured out (tested) by user.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ScreenDPI=140

; Width of the Top/Bottom margins of Android Auto projection.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
MarginWidth=0

; Width of the Left/Right margins of Android Auto projection.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
MarginHeight=0

; Orientation of the Android Auto/Mirroring projections.
; Possible values are 0, 90, 180, 270.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
ProjectionOrientation=0
#10
[Audio]
; Enable/disable streaming the music via Android Auto connection. Disabling that option will route music from Android Auto to the connected A2DP receiver, JACK output or speaker phone.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
MusicAudioChannelEnabled=true

; Enable/disable streaming the speech (Assistant, guidance) via Android Auto connection. Disabling that option will route speech (e.g. navigation guidance, voice command responses) from Android Auto to the connected A2DP receiver, JACK output or speaker phone.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SpeechAudioChannelEnabled=true

; Path to the audio file that will be played right after launch of the OpenAuto Pro.
; Supported formats: wav.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
SplashFilePath=

; Path to the audio file that will be played after receiving a phone notification (via Connected Pro application).
; Supported formats: wav.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
PhoneNotificationFilePath=

; Path to the ringtone audio file.
; Supported formats: wav.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
RingtoneFilePath=

; Size of a step that volume level will increase by single adjustment.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
VolumeStep=1

; Name of the mixer exposed by the sound card to the ALSA. Use it when automatically selected one is not valid (may happen in case of some DACs).
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
MixerName=

; Name of the mute (using for muting whole audio) mixer exposed by the sound card to the ALSA. Use it when automatically selected one is not valid (may happen in case of some DACs).
; This parameter cannot be adjusted in settings menu of OpenAuto Pro application.
MuteMixerName=

; Enable/disable resuming of storage music playback after OpenAuto Pro startup.
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
Autoplay=false

; Level of the storage music internal preamp [percentage].
; This parameter can be adjusted in settings menu of OpenAuto Pro application.
MediaStorageMusicVolumeLevel=100


Forum Jump:


Users browsing this thread: 1 Guest(s)