On Android I have a binary sensor for android auto and a sensor that tells me all the bluetooth devices connected to determine when my phone is connected and disconnected from my car in automations. Is there any way to do something similar with the IOS app? I don't see any sensors in the doc related to this so I'm not particularly hopeful but maybe an event I can trigger off of?
#Can HA see when a phone with the ios companion app is connected to a car via carplay or bluetooth?
1 messages · Page 1 of 1 (latest)
If you go to focus in settings you can set it so that when your driving it changes the focus setting to "Driving" you could then trigger an automation on the iphone that sends a signal to your HA instance that your driving. Not the coolest way, but this can also be used when you set your phone to sleep focus or remove any focus in the morning to act as wakeup and sleep actions.
Oh that's interesting! I need to look into that more. I didn't know what the focus option was
Does anything set the focus to driving besides car play?
if you connect with bluetooth for example, you can set how it detects Driving focus
so either it detects it by movement, connect via bluetooth or automatic out of my head.. but i use focus a lot because of the states it can send
Wait I'm missing something, focus is a binary sensor in HA with no attributes
Where does like "driving focus" come from?
ok so I get it now, kind of. You don't actually get hte name of hte focus mode but you can control when it turns on. So as long as you don't use it manually for random stuff you can use it to detect speciic circumstances. Like if out of hte house and focus is on that presumably means driving if you have an automatic driving focus for carplay.
Except it doesn't work. Idk what i'm doing wrong. I figured out how to get it to trigger driving focus and gave HA persmission to see focus. But even if I sit in the car with the app open for a couple minutes and sensor refresh set to 20s it stays false
The iphone clearly said focus mode was on too
oh. maybe its this: https://github.com/home-assistant/iOS/issues/3550
Well nevermind, focus mode is dead anyway lol
She got in the passenger seat, car play connected and it blocked the screen saying "you're driving" and that had to go immediately
Guess I'll need another way. Shame the ssid and bssid sensors don't update with the car play wifi details for some reason, I could use that