[RELEASE] Homebridge Hubitat v2.0

I got it working but a couple of things had me confused initially...

  • Adding a new entry in the config does NOT add an entry to the Plugins tab. Once you start adding stuff the config is where you will need to do all your editing for the multiple instances. The plugins tab will only show the first entry.
- To start using child instances go to the plugins page, click the "wrench" icon under the plugin you want and select "Bridge Settings" and enable. You should then be able to clone the plugin entry in the config and edit for your purposes.
  • Manually creating a child instance means adding this bit to the end of your config entry
            , "_bridge": {
                "username": "00:00:00:00:00:00",
                "port": 00000
            }
**Note1**: you must change the values above to *arbitrary* values for the user name (hex values like a mac address) and the port you want. I simply copied an earlier one and incremented by 1.

Note2: DONT forget the comma at the beginning or remove it if you already added one to the previous item in the config entry.

  • Not sure what the "name" field's purpose in the main config entry is as it does not show up in accessories only the original plugin entry "name". Maybe this is a bug but not sure. I would change it anyway to distinguish it from the other instances. Leave "platform" the same as the original.

  • this was said earlier but worth mentioning - IF using a firewall make sure you open your port for port access by HE... with the RPi it's done something like this:

sudo ufw allow 0000

"0000" being the port # in question of course!

EDIT: Wanted to follow up with one more confusion! To add to Homekit you need to go to the plugins section in Homebridge and click on the wrench of the plugin that has the child interfaces you set up and then click on "bridge settings". If you set things up properly you should see QR Codes for all your child instances. These can be used to add the instances to HK!

YET ANOTHER EDIT: Here is a quick guide way of adding a second config and activating child instances for the V2 plugin:

3 Likes