Homebridge Server Doesn't seem to work

Posted on
Wed Jan 25, 2017 2:19 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

Homebridge log

EPS - Homebridge Buddy [1/25/2017, 7:50:08 PM] Loaded plugin: homebridge-indigo
[1/25/2017, 7:50:11 PM] Registering platform 'homebridge-indigo.Indigo'
[1/25/2017, 7:50:11 PM] ---
[1/25/2017, 7:50:11 PM] Loaded config.json with 0 accessories and 1 platforms.
[1/25/2017, 7:50:11 PM] ---
[1/25/2017, 7:50:11 PM] Loading 1 platforms...
[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Initializing Indigo platform...
[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Path prefix is /Library/Application Support/Perceptive Automation
[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Indigo base URL is http://127.0.0.1:8176
[1/25/2017, 7:50:11 PM] Loading 0 accessories...
[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/Library/Application Support/Perceptive Automation/devices.json/
[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Error parsing Indigo response for /Library/Application Support/Perceptive Automation/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>
undefined page requested
</center>
</body>
</html>

[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Error parsing Indigo response for /Library/Application Support/Perceptive Automation/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>
undefined page requested
</center>
</body>
</html>

[1/25/2017, 7:50:11 PM] [Homebridge for Indigo] Created 0 accessories
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

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

[1/25/2017, 7:50:12 PM] Homebridge is running on port 51826.


Homebridge config

EPS - Homebridge Buddy {
"accessories": [],
"bridge": {
"username": "DD:22:3D:E3:CE:30",
"name": "Homebridge for Indigo",
"pin": "031-45-154",
"port": 51826
},
"description": "Homebridge-Indigo configuration generated by EPS Homebridge Buddy on 2017-01-25 19:54:02 for device Homebridge for Indigo",
"platforms": [
{
"username": "XYZ",
"protocol": "http",
"name": "Homebridge for Indigo",
"includeActions": false,
"platform": "Indigo",
"host": "127.0.0.1",
"thermostatsInCelsius": false,
"path": "",
"password": "XYZ",
"accessoryNamePrefix": "",
"port": "8176"
}
]
}

Posted on
Thu Jan 26, 2017 11:57 am
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

Does the above give any clue

Posted on
Fri Jan 27, 2017 7:07 am
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

I removed the plugin for the third time. And downloaded the plugin again. Did a install. Funny enough it did not install the "automatic Homebridge Server Device" so I created one myself, After a couple of times putting the server on off it stayed on.


For some reason it kept the "server path" in memory/config.json when I removed the plugin and did a reinstall of the plugin. Maybe first removing the plugin and and doing a complete restart of the mac mini removed the "server path" reference.


For next installers:

- (could not find this in the docs) but normally automatically a Indigo Homedbridge Device is created. Look in the general Indigo device list for it so no need for creating one yourself
- Fill in your Indigo Username and Password
- DO NOT put a server path if you are a first installer of homebridge buddy or any other homebridge install

Posted on
Fri Jan 27, 2017 8:39 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Homebridge Server Doesn't seem to work

I'm a bit confused. In my installation I've wound up with two servers. One is "Homebridge for Indigo" and the other is "Homebridge Custom Installation". Only the Homebridge for Indigo is actually on. Everything seems to work correctly. Do I need the custom installation instance?

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Sat Jan 28, 2017 9:14 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

The custom installation is just in case you installed extra Add-Ons, if you only used the HB-Indigio you don't have to have it. This is only created if it detects that you have a config file in ~/.homebridge.

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
Sat Jan 28, 2017 9:20 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Homebridge Server Doesn't seem to work

Thanks. I don't think I have a custom installation that I know about so I'll delete it.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Who is online

Users browsing this forum: No registered users and 3 guests