HE - HomeKit - CarPlay

I have a gate and garage doors on my HE hub. Both are controlled via a zooz relay switch.

I have them properly integrated with HomeKit via the HE Builtin integration app.

From my phone, I can control these devices in the HomeKit app.

I was also hoping to have the ability to control these devices in apple CarPlay via HomeKit, but I can't seem to get that to work.

Am I going down a path that isnt even possible?
I'm wondering if my solution is to setup a HomeAssistant hub and link these HE devices to the HA hub. HA does have a car play app, so I'm guessing I can congigure those devices to work in car play.

Anyone have any suggestions?

Do you have a Home hub? You need an Apple Home hub to control HomeKit devices from your car via Siri.

1 Like

yes. Apple TV is hub

Do they not show up as a touchable icon to activate, or is it ONLY via siri?

If they don't show up as touchable on the homekit carplay app then its a deficiency with the carplay implementation of homekit. You can still use Siri. I do this myself via my apple watch: "Siri, open the garage door".

So I have a door lock that I can use siri to lock and unlock. My Gate/Garage doors, because they are controled via a generic zooz relay, they show up as "Switches". I am unable to control them with siri.

As for the Homekit carplay app.....the app doesnt' show up at all on my car play.

So no carplay integration for Homekit. I had the same problem (switch based opener). I literally had to write a dummy device driver that implemented the "GarageDoorControl" capability along with a hubitat rule manager rule that triggered on it to fool homekit.

1 Like

If your garage door setup isn't added to HomeKit as a Garage Door device, it's not going to come up in CarPlay.

3 Likes

Driver code if you are interested:

/*
 * Dummy driver for garage door control.  Use Rule manager to trigger on the virtual device to do other things.
 * Useful for Homekit and other implementations when your garage door is controlled by a switch device
 */
metadata {
    definition(name: "Dummy Garage-Opener Object", namespace: "sleuth", author: "Sleuth255", importUrl: "") {
        capability "GarageDoorControl"
    }
}

preferences {
    section("Driver Connection") {
        input name: "logEnable", type: "bool", title: "Enable debug logging", defaultValue: false
    }
}

//
//-----------------------------------------------------------------------------
// Standard stuff
//-----------------------------------------------------------------------------
//
void installed()
{
    if (logEnable) log.debug "Garage Opener driver Installed";
}

def logsOff() {
    log.warn "debug logging disabled...";
    device.updateSetting("logEnable", [value: "false", type: "bool"]);
}

def updated() {
    log.info "updated..."
    log.warn "debug logging is: ${logEnable == true}"
    if (logEnable) runIn(1800, logsOff)
}

def parse(String description) {
   // Shouldn't be used
   log.debug(description)
}

//
//-----------------------------------------------------------------------------
// Operations
//-----------------------------------------------------------------------------
//
def close() {
    if (logEnable) log.debug "Received Close command";
    sendEvent(name: "door", value: "closed", isStateChange: true);
}

def open() {
    if (logEnable) log.debug "Received Open command";
    sendEvent(name: "door", value: "open", isStateChange: true);
}

I have a relay device that can control my garage door opener, and a separate contact sensor to detect open/closed state.

With @kahn-hubitat’s virtual GDO app, I’m able to create a virtual device that functions as a garage door opener in the Apple Home app, including CarPlay.

1 Like

To piggyback on Mark's response, I use the Zooz GDO app (similar overall to Kahn's) with my Zen17 and wired (dumb) reed sensors. That app creates an all-in-one Garage Door device in Hubitat, and I brought that device into HomeKit for use with CarPlay.

2 Likes

Ok, I got it setup so that I can Siri control my devices in carplay....but I was under the impression that I would have an actual "Home" app on my carplay screen like the image below (bottom left) that in turn woud allow me to click devices rather than use siri. Is this a fake image and the "home" app will never exist like this?

Tap the little square with a circle around it icon in the bottom left, until you go to a split screen view. Usually it puts nav on the left and then music and other stuff on the right. In this view if I am near my home the garage door automatically shows up on the right side pane where you can tap to open/close it. I assume it relies on having your home location set correctly on your phone as well.

We dont actually use it because there is also a button built into the car headliner.

2 Likes

No, there's not a Home app in CarPlay like what's shown in that picture.

Maybe there was at some point (I just started using CarPlay myself a year ago), but there isn't one today.

2 Likes

Ahhhh......well there ya go. I'm wondering if I should change directions and getmyself a RaspberryPi and do all of this via HomeAssistant rather than HomeKit. HA has a carplay app that seems to look like it does what I am wanting.....and From what I gather, there is a way to bridge HE and HA so my HE devies show up and are controllable in HA.

I have a Meross garage door opener that integrates directly to HomeKit and Hubitat and when I get home a button automatically pops up on CarPlay so I can open my garage door. Having said that, as far as I can tell this is native to the Meross-HomeKit integration and isn’t something Hubitat is making happen.

Does it pop up in the split view as I describe above? Or does it pop up across the bottom even if you have another app in full screen? It is possible I get the pop up across the bottom also and have not noticed. Its the wife's car and she does not use CarPlay very often, I do for music when I drive it but am not looking at the screen as I approach the house.

I doubt it is something specific to Meross, unless the pop up was coming from their own Apple app. For Apple Home a garage door is a garage door, its should not matter if it was brought it via Hubitat or a direct Homekit device integration.

2 Likes

I had this problem for years and only recently found the answer. I am not near my car atm so this is from memory.

  1. You HAVE to do this while your iPhone is connected to your head unit.
  2. Go to settings on the CarPlay screen.
  3. Turn on Siri Suggestions on Dashboard.
  4. Profit. :smiley:
2 Likes

I get the garage icon in Split View like Jeff.
Never noticed if it comes and goes. (I haven’t driven that car more than 10 mile from home lately.)
If I select it and press the control it opens/closes.
(Haven’t tried touching the screen.)


(not my picture)