3 ms·
When I leave my home's geofence and my iPhone is in CarPlay mode, my garage door automatically closes. When I enter my home's geofence and my iPhone is in CarPl
by js2 4y ago
When I leave my home's geofence and my iPhone is in CarPlay mode, my garage door automatically closes. When I enter my home's geofence and my iPhone is in CarPlay mode, my garage door automatically opens. I have the geofence setup very tight so the door opens/closes about when I'd do it manually.
I setup this automation using HomeKit, Homebridge, and iOS shortcuts/automations. The iOS shortcut is what informs a Homebridge dummy switch named "iPhone CarPlay Status" whether my phone is in CarPlay mode or not. From there it was simply to setup a HomeKit automation based on geofencing and the status of the dummy switch.
Because a garage door is considered a secure accessory and would normally require me to unlock my iPhone, the work-around is to have Homebridge first trigger a dummy switch called "Garage Door" and then have that dummy switch trigger the garage door to open/close.
Yes, I could just press the button on my rear-view mirror to open/close my garage door. But having the door automatically open just as I drive up is really cool. I usually close the door manually, but knowing it will close automatically if I forgot is also nice.