I would glue an NFC Tag there. And have tasker react to that
That is actually a really good idea! On the charger? Can Tasker detect continuous presence of NFC Tags, or does it need to poll every X seconds?
I think I have some sticky tags lying around somewhere.
The only problem i see is Tasker by itself cannot prevent Android Auto from connecting, so it will still connect for a few sconds, even if you are able to disconnect it somehow.
I think you might be able to toggle wireless AA in the developer settings of AA, so maybe you could setup an Autoinput routine to tap the screen and turn on wireless AA only when you need it.
Also i think you'd be better off with a "on the wireless charger or not" state than trying to use a NFC tag at the same time
Yeah. I've installed Tasker and it seems like there is no way I can enable/disable AA.
Try setting it to manually connect to that Bluetooth device. Then trigger the connect with the nfc tag. Stick it where you put your phone while driving. Disconnect when the tag is not present anymore.
Android triggers wegen when a Tag enters its scanner. I wager tasker can use that as trigger.
if you get/have AAWireless dongle you can set it to only connect when it also connects to the radio Bluetooth.
If not You can get a toggle switch USB cable to make disconnecting easier.
Have not tried, but Sonoff has a usb switch that you can control remotely and could potentially use Google Home. https://sonoff.tech/product/diy-smart-switches/micro/
I'm not sure I understand you. I have a wireless dongle and it connects when I'm in the house and the car wakes up outside.
One thing to try is to disable AA all together and enable it using tasker and an nfc tag.
Do you know how to enable AA with Tasker?
Check this script out...
It's doing a bunch more than just enabling AA, but you might extract that part of the logic for your outcome.
It seems like it just closes and restarts the AA app. It does not disable AA.
Android
DROID DOES
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It's fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities: