Page 2 of 2

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Tue Dec 19, 2017 1:04 pm
by george99
Seems to be working right now.

Just curious though, how do only show the devices that I want in the Home App. Right now it has sonos players, fire tv, etc.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Tue Dec 19, 2017 1:22 pm
by Colorado4Wheeler
george99 wrote:
Seems to be working right now.


After turning off iTunes integration?

george99 wrote:
Just curious though, how do only show the devices that I want in the Home App. Right now it has sonos players, fire tv, etc.


Ahhh, and now you have touched on THE very reason why I wrote this plugin! While I'm, quite literally this very moment, updating the HBB documentation, you can find instructions on that in the documents - specifically this page HERE.

The basic idea is that if you do nothing at all then the entirety of Indigo tries to populate into HomeKit and if you have more than 99 devices then anything 100+ won't work - not to mention it clogs up the works and looks messy. Follow the instructions in that doc page to dial in what to include, exclude and how to treat each included devices as something other than an on/off switch if needed.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Wed Dec 20, 2017 10:27 am
by george99
Well, it just started working by itself prior to me turning off the iTunes. I didn't change anything. But I turned off the iTunes, and it is still working consistently now.
I will review the doc you posted.
I appreciate your help!

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Wed Dec 20, 2017 10:47 am
by george99
Ok, weird now. I just looked at it, and all those fire tv's, sonos players are gone.
So I think I am good to go now.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Wed Dec 20, 2017 10:49 am
by Colorado4Wheeler
Is it possible that you disabled the plugins associated with those devices? I'm wondering if that was why you were having problems, maybe those plugins don't play nice with HBB.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Wed Dec 20, 2017 10:52 am
by george99
No, they are all on and working. But the Fire TV was never even associated with anything in indigo.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Mon Feb 12, 2018 12:06 pm
by cjp767
Yep. I definitely need a Dummies guide for this one. I've had much success with other plugins (Alexa works well), but this is a tough one-- I'm getting close. Can someone push me over the edge to success? I installed Homebridge 1.0.6 and have added three devices: My dining room lights and two Wrapper devices, but nothing shows up in the Home iPhone app (except the Default Room Homebridge Buddy Accessory.)

From the troubleshooting items below I see that even though I created 3 devices that Homebridge can use, it created 0 accessories, so is that why only the basic Homebridge Accessory shows up on the iPhone Home app? Indigo is on my MacPro (10.0.1.11) and the Homebridge server is there too. Nothing cosmic.

I'm probably missing something very obvious--- and for that, I apologize, an d thank you for any guidance!

Code: Select all

[2018-2-12 07:40:27] Loaded config.json with 0 accessories and 1 platforms.
[2018-2-12 07:40:27] ---
[2018-2-12 07:40:27] Loading 1 platforms...
[2018-2-12 07:40:27] [Homebridge for Indigo] Initializing Indigo platform...
[2018-2-12 07:40:27] [Homebridge for Indigo] Indigo base URL is http://127.0.0.1:8176
[2018-2-12 07:40:27] Loading 0 accessories...
Load homebridge-itunes.iTunes
[2018-2-12 07:40:27] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/devices.json/
[2018-2-12 07:40:27] [Homebridge for Indigo] Error parsing Indigo response for /devices.json/
Exception: SyntaxError: Unexpected token < in JSON at position 0
Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
      <title>Indigo Home Control Server</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/global4.css" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/indigo4.css" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/fonts.css" />
   </head>
   <body>
      <center>
   access denied
      </center>
   </body>
</html>

[2018-2-12 07:40:27] [Homebridge for Indigo] Error parsing Indigo response for /devices.json/
Exception: SyntaxError: Unexpected token < in JSON at position 0
Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
      <title>Indigo Home Control Server</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/global4.css" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/indigo4.css" />
      <link rel="stylesheet" media="screen" type="text/css" href="/css/fonts.css" />
   </head>
   <body>
      <center>
   access denied
      </center>
   </body>
</html>



[MODERATOR NOTE: Edited post to remove non applicable log QR code and to put the log into code blocks for readability]

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Mon Feb 12, 2018 12:22 pm
by Colorado4Wheeler
Look at this block, it's from Indigo:

Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Indigo Home Control Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/global4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/indigo4.css" />
<link rel="stylesheet" media="screen" type="text/css" href="/css/fonts.css" />
</head>
<body>
<center>
access denied
</center>
</body>
</html>


Look closer:

Code: Select all
<center>
access denied
</center>


You need to go into your HBB plugin prefs and set the username and password to be whatever you set Indigo to.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Mon Feb 12, 2018 12:44 pm
by cjp767
Like I said, so close. Got it. Thank you for your help and I'm humbled to have missed something so incredibly obvious. This plugin is amazing.

Re: Is there a homebridge or home bridge buddy for DUMMIES g

PostPosted: Mon Feb 12, 2018 2:26 pm
by Different Computers
some of which aren't even in my indigo setup like fire tv and Apple TV


If you turned on home bridge-itunes, then everything you can AirPlay to shows up in the Home app. It's a feature, not a bug!