Two HASSBridge Instances?

Venicenerd
Posts: 52
Joined: Tue Jul 03, 2018 5:48 pm

Two HASSBridge Instances?

Post by Venicenerd »

Is it possible to have two HassBridge instances running? I need to set up two different Home Assistant instances and would like to send some of my devices to one of them and the other devices to the 2nd install.

Is this possible somehow?
Venicenerd
Posts: 52
Joined: Tue Jul 03, 2018 5:48 pm

Re: Two HASSBridge Instances?

Post by Venicenerd »

For anyone that cares to know the answer: yes, it is possible. I have three instances running. Matt from support was very helpful and sent me the solution:
Running multiple instances of a plugin isn’t supported by built-in functionality, but you can hack it by duplicating the plugin and editing the Info.plist file inside the plugin bundle Contents folder:

<key>CFBundleDisplayName</key>
<string>Rename this to something unique for Indigo’s UI</string>
<key>CFBundleIdentifier</key>
<string>Add a numerical 2 to the end of whatever is here so it is unique</string>

Since this isn’t an officially supported feature, I’d suggest trying it out in the trial version of Indigo to make sure it works for you.
Post Reply

Return to “HassBridge”