python3 scripts for openauto pro. watch GPIO pins and perform actions when states change (shutdown), adjust fan speed based on CPU temp, reset volume to lower level on shutdown (using F7, F8, F12 keybinds), remote turn on wire (for amp's, processors)
cd ~/ && curl -O https://raw.githubusercontent.com/dough10/openauto-scripts/refs/heads/main/install.sh && bash install.sh && rm install.sh
environment config is used if you need to change the GPIO configuration, log level or time till shutdown. Only changed values need to be added
nano ~/openauto-scripts/.env
to create or edit the environment config file.
IGN_PIN=17
REMOTE_PIN=25
FAN_PIN=12
LATCH_PIN=4
FAN_SPEED_PIN=24
GPIO pin configuration use GPIO.BCM
numbering standard
IGN_LOW_TIME=3
time in seconds to delay before shutdown initiated after ignition is turned off
logs are saved to users home directory. (openauto-scripts.log) Default logging level can be changed in the environment config file
LOG_LEVEL=WARNING
Options: DEBUG
, INFO
, WARNING
, ERROR
, CRITICAL
to view log stream tail -f ~/openauto-scripts.log
bash ~/openauto-scripts/uninstall.sh cd ~/ && curl -O https://raw.githubusercontent.com/dough10/openauto-scripts/refs/heads/main/install.sh && bash install.sh && rm install.sh
bash ~/openauto-scripts/uninstall.sh