Feature Request - Enable/Disable/Trigger Wireless Projection Connection via API
Posted: Thu Aug 13, 2026 8:16 pm
This would be very useful in my setup where the Pi gets woken up alongside the cars infotainment bus, which typically comes up long before the ignition is on and your in the car (usually unlock or door open), and subsequently stays awake after you get out of the car for a bit.
Works great for having the Pi booted and ready to go by the time im turning the ignition, just like the factory radio, but is equally quite frustrating having my AA connect on me when im not in the car (ie, working on it and it got woken, etc).
Having an API method to disable all wireless projection connectivity and enable it (as well as force reconnect, not sure if this would be useful, depends how it otherwise behaved) would allow me to disable connectivity by default, and then enable it once the ignition is on, or even when the door opens and it seems like someones getting in to make it a little faster. and then disable once again when the ignition turns off (or even the door closes and passenger has left if im trying to keep it on slightly longer)
I also would like to be able to keep the pi awake for a fair bit of time after ignition off, like 15 minutes, but i dont want it connecting to my phone during that. So id then disable connection when the ignition is off.
would get me to the dream CarPI AA setup, where the Pis booted and ready to go before the ignition is on, and just connects as soon as it is basically, like a (good) oem setup.
the pi has 5v whenever the radio is awake (so infotainment bus active), or the Pi is latching it on. the pi shuts down after radio goes to sleep, but if the Pi doesnt finish shutting down before the radio wakes again, the Pi gets stuck in the shutdown state but still has power. I cant mitigate this in a dedicated power management MCU, because im using a carpihat. but, leaving the Pi on for say 15 minutes would sufficiently mitigate it.
Works great for having the Pi booted and ready to go by the time im turning the ignition, just like the factory radio, but is equally quite frustrating having my AA connect on me when im not in the car (ie, working on it and it got woken, etc).
Having an API method to disable all wireless projection connectivity and enable it (as well as force reconnect, not sure if this would be useful, depends how it otherwise behaved) would allow me to disable connectivity by default, and then enable it once the ignition is on, or even when the door opens and it seems like someones getting in to make it a little faster. and then disable once again when the ignition turns off (or even the door closes and passenger has left if im trying to keep it on slightly longer)
I also would like to be able to keep the pi awake for a fair bit of time after ignition off, like 15 minutes, but i dont want it connecting to my phone during that. So id then disable connection when the ignition is off.
would get me to the dream CarPI AA setup, where the Pis booted and ready to go before the ignition is on, and just connects as soon as it is basically, like a (good) oem setup.
the pi has 5v whenever the radio is awake (so infotainment bus active), or the Pi is latching it on. the pi shuts down after radio goes to sleep, but if the Pi doesnt finish shutting down before the radio wakes again, the Pi gets stuck in the shutdown state but still has power. I cant mitigate this in a dedicated power management MCU, because im using a carpihat. but, leaving the Pi on for say 15 minutes would sufficiently mitigate it.