01-08-2019, 09:14 PM
Since Android 9.0, the phone will always get a unique IP everytime you enable the Wifi Hotspot. This makes the "Recent" adresses useless in OpenAuto Pro.
I've solved it myself by adding a hook to dhcpcd that gets the IP from "ip route" and writes it to /home/pi/openauto_wifi_recent.ini. To make OpenAuto Pro pick up that change, I also kill and restart the openauto process.
That got me thinking, is it possible to make OpenAuto auto-connect to Android Auto over Wifi as soon as wifi is available, or is there some CLI parameters you can add to the openauto process to make it attempt a connection?