Homebridge - Hubitat - Why?

If you have Hubitat Package Manager r(HPM) running all you need to do is select Install option and search Homebridge v2. If you dont have HPM installed you can install Hubitat/Homebrige manually. Check out the authors github

GitHub - tonesto7/homebridge-hubitat-tonesto7: Hubitat Homebridge Plugin

2 Likes

Another option that requires no custom code on Hubitat is @dan.t’s Maker API plug-in for HomeBridge. I have been using it for a long time with no issues.

3 Likes

I read through the comments, and as far as I can understand, there is still no way of backwards communication from Homebridge to Hubitat? I have a few Sonoff Wifi devices with factory firmware, and can't add them to Hubitat. I tried through Home Assistant, however it wasn't working well (chrashes, or updating breaks things...), and I tried adding my light switches from Homebridge to Hubitat. Note that I do not own any Apple devices, and I am not planning at all. :slight_smile:

Correct, communication is from he to hk or he to ha to hk. Now you can use virtual switches to make HK do something on HE. Such as have HK open a lock on HE.

2 Likes

You can also use the Homebridge and HE Nodes in Node-RED and do similar things.. I was doing this with Ring for a bit.

2 Likes

Instead of starting a new thread I figured I would ask here on an old thread..

I understand how everyone is using this, but what about button features etc? I utilize a lot of double tap switches to turn on or off a group of lights and I am curious how to do this with Homebridge - Hubitat - Homekit.

For example, I would like some device in my Homebridge to be activated by a button rule in Hubitat. Is this possible? Is node red my option? Or?

Note: This is a very old thread. Since this time, Hubitat added native Apple HomeKit integration, to share devices directly with Apple Home. Thus, HomeBridge is no longer the only way to share devices with Apple Home.

If you want Hubitat to change the state of an Apple Home device, then you would need to create an Apple Home Automation that is triggered by a device that is shared from Hubitat to Apple Home (via HomeKit, either using the Hubitat built-in HomeKit integration, or HomeBridge.)

So, your Hubitat Button Controller device would trigger a Hubitat Button Button Rule. That Hubitat Rule could then change the state of a Virtual Switch, which is shared with Apple Home via HomeKit. An Apple Home Automation would then be triggered by the shared Hubitat Virtual Switch, when would then change the state of an Apple Home device.

I hope this answers your question?

Note: It might be possible to share the Hubitat Button controller device directly with Apple Home via HomeKit - but I have not personally tried doing this, so I am not sure if this is possible.

3 Likes

thanks for the response and example. I had a sense that this was one way to do it. It also looks like there are some button rules supported through HB V2, but I am still brushing up on the info. Your example was helpful and I appreciate the time.

1 Like

Just set up your example and it works as needed perfect. This is awesome.

Basically, my pool guy comes in the morning super early. I set up a double tap zwave switch to turn on the backyard lights at my pergola switch, pool lights (pentair in homebridge/Hk) and delay 5 minutes before turning off for him when he leaves. This way he doesnt fall and gets injured, and has nice lighting all the way out.

I love this stuff. Thanks for the help!

2 Likes

Awesome! Glad things are working.

2 Likes