Allow for script to know when CarPlay is running and at the home screen

Hi guys, Wanted to write a script on my RPI that would switch the display on my car automatically to the CarPlay screen once the phone was connected (using GPIO and hdmi switch). Where can the script look in order to know that CarPlay has started and is at the home screen? I tried looking for some log files but couldn’t figure out any clues.

Any tips appreciated!
-Gabe

1 Like