I see that Dongle Mode seems to be an attempt to detect whether the car is on or not by looking for the car's hands-free mode. Would it be possible to use this as a signal to enable/disable the WiFi? My car's Android Auto USB port never turns off, which means I have a car in my driveway broadcasting an SSID that my phone knows about, and will try to connect to rather than connecting to the home WiFi. If the Raspberry Pi (or other SBC) WiFi could be toggled off when aa-proxy can tell that the car itself is off, then that would be a win for both security and stand-by power draw.
I like the idea that my tiny Pi Zero W is only drawing 100mA, but is ready to go as soon as I turn on the car. I could hack some solution by chopping the +5 from one cable to make a data-only cable and then run a second cable to an adapter in the switched lighter, and that would effectively let my car go "radio silent" when it's not turned on, but now I have the whole pesky boot time problem. I'd love an "awake, but silent" mode instead.
I considered wiring up something to a GPIO pin (after dropping the voltage) to let a pi sense when the accessory power is on and then call rfkill or something like that, but that requires Python and now I have multiple services running on an original Pi Zero... not ideal. This seems like something that would work better as a first-class feature to me.
I see that Dongle Mode seems to be an attempt to detect whether the car is on or not by looking for the car's hands-free mode. Would it be possible to use this as a signal to enable/disable the WiFi? My car's Android Auto USB port never turns off, which means I have a car in my driveway broadcasting an SSID that my phone knows about, and will try to connect to rather than connecting to the home WiFi. If the Raspberry Pi (or other SBC) WiFi could be toggled off when aa-proxy can tell that the car itself is off, then that would be a win for both security and stand-by power draw.
I like the idea that my tiny Pi Zero W is only drawing 100mA, but is ready to go as soon as I turn on the car. I could hack some solution by chopping the +5 from one cable to make a data-only cable and then run a second cable to an adapter in the switched lighter, and that would effectively let my car go "radio silent" when it's not turned on, but now I have the whole pesky boot time problem. I'd love an "awake, but silent" mode instead.
I considered wiring up something to a GPIO pin (after dropping the voltage) to let a pi sense when the accessory power is on and then call rfkill or something like that, but that requires Python and now I have multiple services running on an original Pi Zero... not ideal. This seems like something that would work better as a first-class feature to me.