-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Only works when Phone is connected before engine start #510
Comments
Can you share more details on the problem. What version of AAID you use, what Android version on what phone and which version of iDrive ? I havent seen that kind of the problem. Often my phone connect to car during driving (I also use headphones with hands free profile) and full process take 10-15sec max. |
Same here - on an S21 it "just works", I don't have to think much about how or when the bluetooth connection starts. Maybe there is some battery life saving/optimization setting you can check off ? |
I'm on Xiaomi mi11 and have the same as @bogdan-calapod |
Hi! |
Eventually your phone needs an update or your iDrive, go to this website, enter your VIN and download the if available update, if it was never done it might will add better support for more phones, other fixes etc. https://www.bmw.com/en/footer/software-updates.html Since your BMW is from 2014 the compatibility with MyBMW might be limited as well as the support with the phone and additional apps, I would even recommend you to install the old BMW Conncted 6.4 Version (from an alternate app store, you don't need to use it just install and nothing else only need it for the protocol. I can give you a link to that as well. |
Will BMW Connected still work? I can't login to it anymore. |
I have the same issue. Everything works as it should be if I connect the phone before engine start, but it will keep disconnecting if I plug it in after regardless if I am using my BMW or BMW connected app. I have NBT pro (id4) and it behaves the same on multiple android phones. I will try to get some logs from the device, maybe it will help. Otherwise, great app. A small update: it looks like the issue is with BMW connected /My BMW app as these seem to connect and reconnect all the time if the phone is plugged after the engine is started. |
You don't need to login into BMW Connected app, just install it nothingelse don't open it, it will run in the background when you connect the car and have MyBMW installed as well, but you need an older Version of Connected (6.4, because will not work the removed the functions to promoten MyBMW). |
Thanks for your help. My car has the most recent Software installed and I tried the BMW connected App with the same result. I had this older Version of BMW connected. Same Problem... From time to time it worked to connect the Phone when the car Was running. But only in like 5% of All attempts |
I also tried different phones.. But I never tried a high end Phone. Mybe my Phone is too slow or the Hardware is too weak? |
For sure phone is not the problem. My wife is using S7 (5-6 years old maybemore) with AAID and it works fine. |
Got the logs from both AAIDrive and My BMW. At first, i connected the phone before engine start. Everything went ok. Then i've unplugged the phone and plugged it back - it keept connecting and then disconnecting. Here are the logs: AAIDrive |
Hi all good morning \ good afternoon, I have a Galaxy S21 updated with the latest software, and a BMW F32 from 2014 (NBT iD4) with the latest BMW updates as well, and I'm having the exact same issues as described. |
Thank you for the logs @dancadar ! From the AAIdrive log, the lines that say I agree that the engine status should not affect this. Is there perhaps a correlation with Bluetooth connection status? Waiting long enough for the engine to start would mean that Bluetooth is more likely to connect, and BMWConnected/MyBMW has initialization code that runs when Bluetooth connects. Perhaps there's some weird conflict between the Bluetooth app connection logic and the USB app connection logic. Try force-killing MyBMW and turning off Bluetooth before connecting, to see if that changes anything. |
Just to make sure that I did not made a missleading description of the problem. I meant I have to connect the phone before I can power up the cars system. The problem exists even if I power up the car without starting the enginge before phone connection. So you mean we can try the sequence
Is that correct? The myBMW App starts automatically when I connect the Phone. Thats correct right? |
Yes, that sounds like a good order that should reliably work, as a baseline, and then variations later can help narrow down what specifically is happening wrong. |
Tried this without luck, the app still could not connect. However, I am now 100% sure it's an issue with My BMW/BMw Connect and not with AAIDrive: My BMW app did NOT get the milage from the car until I connected the phone to the car BEFORE starting up, that's why I am inclined to say it's a connexion issue on BMW apps. |
Same here. I tried the sequence but it did not connect to the car. |
Tried the same as well, and no luck. Same pattern as before, with the app seeing the connection initially, but kept losing it after a couple of seconds. |
One thing could be that neither app is not set as start as default and have priority, in my case I choose to be BMW Connected 6.4 the default app, because at the time last year MyBMW did not support apps for ID4++. Maybe the apps are conflicting each other if one isn't set as default. In my case it doesn't matter the car only needs to be unlocked or at least the electronics/ignition to be turned on (no engine start). But it also connects anytime when I connect when the engine is running already. Though, once in awhile I do have the case that it doesn't recognize the AAiD but usually reconnecting the USB cable solves the problem. |
I know I'm late commenting on this, but I have the same issue. I have a 2015 bmw f36 with id4 NBT evo. I now have it working ( to a degree) Start car or ignition and then connect phone via USB. I gave permission for my phone to use Mybmw whenever the phone is connected. Then launch AAidrive and it should connect. This loads my music apps onto the idrive and remains stable. If I remove the phone whilst the ignition or engine is still on , I have to force close mybmw and AAidrive then plug the USB lead back in. Let the phone connect using Mybmw then launch AAidrive. Hope this makes sense. The newer Mybmw app versions cause the continuous disconnections. |
Hello, I am also quite late at this topic. Because I explored this topic now too. (ID4) Thank you |
I just tried it again yesterday with an old Galaxy A3 (Android 9). The myBMW app version is the same myBMW 3.7.2 and there it is working. So it must have something todo with the Android 13 or the Samsung Crap that is installed on the phone. |
I just did a quick test with the following after I found [https://github.com//issues/320] .) Galaxy A3 with only myBMW App connected via USB to the car and running SimpleSSHD ssh server. Additionally connected via Wifi to my Galaxy A54 that has opened an Hotspot. I will no try to automate the connection process via Macrodroid and will report here if It is sucessfull and practicable |
I did the automation with MacroDroid and after some rides with this setup I can say it works. Not fully reliable as with direct USB connection, but It works ok. @hufman would it be possible, to add an additional expert setting in AAIdrive to enter an IP Adress for the app connection? That would reduce the complexity of the setup a little bit as I could possible get rid of the SSH tunnel port forwarding. |
Ew that's gross lol! |
OK. that would be great. I think after that it could be enough, to have a app like "https://play.google.com/store/apps/details?id=com.elixsr.portforwarder&hl=de_AT&gl=US" installed on the "Gateway" Phone to just forward the myBMW localhost:4004 Port to the IP of the Wifi Interface on the same port. I really would like to try out getting dev environment of AAIdrive working again and get this sorted out on my own, but unfortunately my phone is a company owned one and usb debugging is not allowed :-(. So I can only install "official" google play versions. |
I added a new Advanced Setting to let you put in an extra IP to check for the car ports, and published it to the Open Beta in the App Store. Try it out @6i6i and hopefully it works for you! |
Hi @hufman. Thank you very much vor the fast implementation. I removed the SSH tunnel and added only the application "https://play.google.com/store/apps/details?id=com.elixsr.portforwarder&hl=de_AT&gl=US" to my "Gateway phone" (I had to install the APK because on play store the app refused to install as the android version on my gateway phone is to new). |
FYI: I forked FWD: https://github.com/6i6i/FwdPortForwardingApp and added some changes so that i now established the tunnel when the app is opened. Currently it is really working well and also not have to connect my main phone is really cool. Only the connection of HASS Gestalt aaidrive addon is not possible. |
That's good to hear! |
Hi.
I have the Problem that the Androidauto idrive App Only works when I connect the Phone to the car before I start the engine. After connecting the Phone I need to wait about 45 seconds until myBMW App, androidauto idrive and Spotify is started on the Phone. Then I can start the car and the App works finde in my idrive with Spotify.
If i connect the Phone after the car is already started it does not work at all.
Is there anything I am doing wrong?
Thanks for help!
The text was updated successfully, but these errors were encountered: