I linked Home Assistant to Android Auto and the automations are insane

Android Auto can put Home Assistant controls in your automotive’s dashboard. But toggling gentle bulbs whenever you’re in your automotive is not very helpful. The extra fascinating characteristic is one thing that you do not have to faucet: a sensor that tells your own home when your telephone connects to the automotive.
Combine that with location and family occupancy, and you’ll construct automations round leaving, driving, and arriving. This is not simply one other method to activate the lights, it is a method to make your home aware of your presence earlier than you’ve got even walked into the entrance door.
Android Auto is a barely nosier distant management
No further obtain, a number of favorites, and the Companion app doing the work
You do not want a separate Android Auto obtain for Home Assistant to begin working. The driving interface comes by the Home Assistant Companion app in your telephone. Sign into your server, hook up with Android Auto, and open Home Assistant from the automotive’s launcher.
While parked, head over to the app’s settings, adopted by Companion app after which Android Auto favorites. This is the place you possibly can choose entities price having accessible out of your automotive’s dashboard. Anything from switches, storage doorways, lights, locks, scenes, and scripts is supported, whereas sensor favorites can show info reminiscent of whether or not a door is open. Keep this display targeted because it’s higher to have a handful of controls you employ than scrolling by each sensible plug you personal whenever you’re pulling in your driveway.
Keep in thoughts although that your telephone will even want a method to entry your Home Assistant server remotely. I exploit Tailscale as a sane method to entry my dwelling community remotely, however you may as well use Home Assistant Cloud or an lively VPN.
Your automotive now tells your own home you’ve got left
One sensor, one zone, and a verify that no person’s left sitting at the hours of darkness
The place to begin for many of your automations would be the Android Auto connection sensor. You can allow it through the Manage sensors choices within the companion app settings and as soon as enabled, it studies whether or not your telephone is linked, giving Home Assistant a set off that is far more particular than detecting your telephone has left the home.
A sensible departure routine might set off whenever you go away the house zone, require Android Auto to be linked, and verify that no person else stays dwelling. With suitable units built-in, its actions might swap off forgotten lights, regulate the thermostat, and lock the entrance door. The occupancy verify is a crucial step as you would not need everybody else at dwelling sitting at the hours of darkness when you’re out of the home.
Connecting whereas nonetheless parked can even set off a pre-departure verify for an open storage or unlocked door. Think of the connection as context, not proof that you’ve got gone someplace. Test the routine over a number of journeys earlier than letting it deal with something extra consequential than lights or reminders at dwelling.
Your home can lastly be prepared earlier than you’re
Zone triggers, sundown situations, and an AC that beats you dwelling
Reverse that logic for the journey again, and your own home could be in excellent form earlier than you even unlock your entrance door. Entering a house zone can set off an automation, whereas the Android Auto sensor provides the situation that you just’re arriving by automotive. Add a sundown situation, and a proposed arrival routine might activate the driveway and hallway lights solely when it is darkish.
Another straight up cool factor to do is to have your own home be the proper temperature whenever you stroll in. I’ve already constructed a climate control module that helps me management my ACs utilizing sensible plugs and Home Assistant. When I enter an method zone, the local weather management unit’s temperature sensor screens the temperature in my workplace (which additionally occurs to be the primary room I enter after I arrive in my condo), and turns the AC on to ensure I’m not strolling right into a sizzling room on an already sizzling day.
One script to rule the thermostat
A workaround for all the pieces your automotive dashboard will not allow you to contact
Scripts could make your automotive dashboard way more highly effective than its brief record of supported gadget classes suggests. Android Auto can launch a script, and that script can in flip run a sequence of Home Assistant actions. A single “heading dwelling” set off can regulate the thermostat, swap on chosen lights, and notify somebody at dwelling.
This additionally offers a helpful workaround for units with out direct dashboard controls. Climate entities are sometimes not on the documented actionable-domain record, however a script can carry out any actions they expose. Granted you are launching a predefined routine, not getting full management out of your automotive, but it surely’s nonetheless much more skill than nothing.
Scripts will also be saved smart with situations, and Choose blocks can run totally different sequences relying on circumstances. For instance, a night model might use dim hallway lighting as a substitute of a brighter daytime setting and so forth.
Notifications can experience alongside, so ration them
One car_ui flag, and an alert coverage stricter than your movement sensors
Home Assistant notifications do not seem in Android Auto by default, however including car_ui: true to notification information permits them on each the telephone and automotive show. That makes any alert that should seem on the display way more helpful.
Opening these notifications will take you to Home Assistant’s driving interface. Android Auto would not assist each notification characteristic, and popup habits additionally is dependent upon the telephone’s notification-channel settings. Reserve these alerts just for issues which are price interrupting a drive, not each movement sensor replace.
Your commute is now a part of your sensible dwelling
Start small, check exhausting, and by no means let a GPS ping unlock your entrance door
Home Assistant on Android Auto turns your automotive (or bike) right into a surprisingly succesful extension of your sensible dwelling. The dashboard controls are useful, however the actual energy lies in automations that perceive whenever you’re leaving, arriving, or linked to the automotive.
With only a few rigorously chosen triggers, scripts, and safeguards, your commute can change into a part of your sensible dwelling’s routine as a substitute of a separate expertise. Start small, check automations totally, and keep away from giving location-based routines unchecked controls over locks and doorways. Before it, your sensible dwelling will really feel much more clever.
