Home couldn't add Homebridge for Indigo

Posted on
Mon Jan 16, 2017 3:25 pm
Brightlion offline
Posts: 5
Joined: Mar 14, 2016

Home couldn't add Homebridge for Indigo

I recently upgraded from Indigo 6 to 7. Once upgraded I installed the Homebridge Buddy plugin. Inside Indigo I see the Homebridge for Indigo device running and the plugin seems to start up normally. I've added only one insteon switch to Homebridge for simplicity. When trying to pair Homebridge with the iOS Home app I see the Homebridge for Indigo in the select accessory to add to Home window. Once selected the Home app works for about a minute trying to pair then returns a "Couldn't add Homebridge for Indigo - Home couldn't connect to this accessory" error. Do you have any ideas where to start looking to correct this issue? Does Alexa-Hue Bridge interfere with Homebridge? This is installed on a OS X server running Sierra. Log file is as follows: Thanks!

Jan 16, 2017, 1:01:22 PM
EPS - Homebridge Buddy [1/16/2017, 1:00:47 PM] Loaded plugin: homebridge-indigo
[1/16/2017, 1:00:47 PM] Registering platform 'homebridge-indigo.Indigo'
[1/16/2017, 1:00:47 PM] ---
[1/16/2017, 1:00:47 PM] Loaded config.json with 0 accessories and 1 platforms.
[1/16/2017, 1:00:47 PM] ---
[1/16/2017, 1:00:47 PM] Loading 1 platforms...
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Initializing Indigo platform...
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Indigo base URL is http://127.0.0.1:8176
[1/16/2017, 1:00:47 PM] Loading 0 accessories...
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/devices.json/
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/devices/Alexa-Hue%20Bridge.json
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Discovered Emulated Hue Bridge (ID 97112632): Alexa-Hue Bridge
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Ignoring excluded ID 97112632
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/devices/Diningroom%20Light.json
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Discovered SwitchLinc Relay (ID 1819503267): Diningroom Light

[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Created 1 accessories
[1/16/2017, 1:00:47 PM] [Homebridge for Indigo] Initializing platform accessory 'Diningroom Light'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐
│ 031-45-154 │
└────────────┘

[1/16/2017, 1:00:47 PM] Homebridge is running on port 51826.

Config:

an 16, 2017, 1:22:43 PM
EPS - Homebridge Buddy {
"accessories": [],
"bridge": {
"username": "xxx",
"name": "Homebridge for Indigo",
"pin": "031-45-154",
"port": 51826
},
"description": "Homebridge-Indigo configuration generated by EPS Homebridge Buddy on 2017-01-16 12:50:18 for device Homebridge for Indigo",
"platforms": [
{
"username": "xxx",
"includeIds": [
"1819503267"
],
"protocol": "http",
"name": "Homebridge for Indigo",
"includeActions": false,
"platform": "Indigo",
"host": "127.0.0.1",
"thermostatsInCelsius": false,
"path": "",
"password": "xxxxxxxx",
"accessoryNamePrefix": "",
"port": "8176"
}
]
}
Last edited by Brightlion on Tue Jan 17, 2017 3:30 pm, edited 1 time in total.

Posted on
Tue Jan 17, 2017 10:12 am
Brightlion offline
Posts: 5
Joined: Mar 14, 2016

Re: Home couldn't add Homebridge for Indigo

In an attempt to correct this problem I have tried to change the Indigo Server IP in the Homebridge Buddy plugin from the default local IP of 127.0.0.1 to the actual local network IP and also my static IP and that had no effect. I did notice that whenever I changed the IP that the change did not flow into the Homebridge configuration file. The IP remained fixed at the 127.0.0.1 default. Changing the IP within the plugin didn't seem to have any effect.

Posted on
Tue Jan 17, 2017 10:27 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Home couldn't add Homebridge for Indigo

Brightlion wrote:
Changing the IP within the plugin didn't seem to have any effect.


When you did this in the PLUGIN CONFIG (not the device config) did you then save the configuration using the menu option? It won't work its way down until you do that and restart. Judging from the logs, this is not your issue anyway because it seems the HB-Indigo is having no problems talking to the Indigo REST API.

There's no issues running Alex and HomeKit together, I do it and I'm sure many others do as well.

Try deleting your home and creating a new one in HomeKit, maybe there is a problem with your database.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Tue Jan 17, 2017 10:56 am
Brightlion offline
Posts: 5
Joined: Mar 14, 2016

Re: Home couldn't add Homebridge for Indigo

Thanks for the reply. I am changing the IP within the Plugin configuration. I did not see an IP value set within the device. I saved the Plugin config after changing the IP then restarted the computer. The IP in the config log files always shows 127.0.0.1. When I configured the Alexa plugin it would only work using the network IP not the local default. I also tried making a new Home with the iOS app. Still no luck. I see the accessory within Home but it always comes back as unable to add. I did read a forum post on the Alexa plugin that using in on OS X Server might have an issue (host file issue). I did correct this to get Alexa running. So still stuck here. Any other ideas short of rebuilding os x ? Thanks!

Posted on
Tue Jan 17, 2017 11:06 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Home couldn't add Homebridge for Indigo

Again, you do not need to change it from the 127 anyway, it's working - your logs show that quite clearly. As for why HomeKit times out, I don't know why that would be. Have you deleted your HomeKit home and added a new one as I recommended?

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Tue Jan 17, 2017 11:11 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Home couldn't add Homebridge for Indigo

That DELETING the old home is an important step, resets the HomeKit database.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Tue Jan 17, 2017 11:17 am
Brightlion offline
Posts: 5
Joined: Mar 14, 2016

Re: Home couldn't add Homebridge for Indigo

Yes, I deleted Home within both my iPhone and iPad Home app and tried to add in the Homebridge assessory again. This had no effect, same error. Is there another way to delete the Home other than the iOS App?

Posted on
Tue Jan 17, 2017 11:27 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Home couldn't add Homebridge for Indigo

No, that's really the only way. I'm not sure what the issue might be honestly. I run the Alexa Hue bridge and HBB together without any problems. Your logs show you are talking to Indigo just fine, and given that HomeKit is the one complaining about a timeout AFTER it actually finds the server is bizarre.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Tue Jan 17, 2017 11:30 am
Brightlion offline
Posts: 5
Joined: Mar 14, 2016

Re: Home couldn't add Homebridge for Indigo

Ok, thanks for your help. I keep playing with things over here. If you can think of anything else to try please let me know. Thanks for all your work on these plugins!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests