Open jer78 opened 8 years ago
This is not currently supported, but I think you are the third or fourth person to ask this week so its obviously a needed feature :-)
For right now you can hard code one ip_address and it will work for just that hub
Thanks! I do have it working for one and it works very well. Looking forward to multiple hubs :) Keep up the great work!!!
manually assign an ip and a different name to each hub and it works with out a hitch Confirmed and tested ---> http://d.pr/i/17Jb9
FYI The config File chould look something like this ---> http://d.pr/i/fyNE <---
Has issues if you have the same activity name for multiple hubs (i.e. "Watch TV" on more then one hub). Also if the IP Address changes.
Since this plugin uses mdns (aka bonjour or zeroconf) under the hood, it should be possible to auto setup the multiple hubs, as well as take care of loss of connection and IP changes. The current problem that would need to be delete with is the fact that we cannot add/remove accessories after it has already started (per @nfarina)
@KraigM , can you publish the package with this enhancement? Thanks.
@dustindclark to my knowledge, no one has implemented this yet.
@KraigM , my bad...saw the closed duplicate issue and mistook it for a fix.
Definitely add me to the multiple-hubs wishlist.
Love the work so far, multiple hub support would be amazing.
In the next version (0.2.0) this is included and handled much more gracefully (compared to registering the platform multiple times). It is currently in alpha. If you wish to try it out (keeping in mind that it is a prerelease) you can upgrade to the alpha version using:
npm install -g homebridge-harmonyhub@0.2.0-alpha
I installed 0.2.0-alpha. Do you have a sample config.json for the changes? I didn't see the 0.2.0 branch in the repo.
Not sure where else to ask this question but is there a way to add multiple harmony hubs? I have 2 in separate rooms and would love to have both working with HomeKit. Thanks for this great plugin! Really enjoying it!