Homebridge Server Doesn't seem to work

Posted on
Sun Jan 22, 2017 10:38 am
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Homebridge Server Doesn't seem to work

First of all I am not quite experienced in these kind of things but I downloaded the latest plugin assuming that after installing the Homebridge Buddy and Hombridge (server) would install automatically by installing the plugin.

This is what I did:

1. Install Plugin
2. Configure Plugin and fill the username and password
3. Create Indigo device for Type Homebridge Indigo Server and exclude all devices and than include one for testing

When I set this device from step 3 to on I get the following message and gets automatically to off

EPS - Homebridge Buddy Starting the Homebridge server 'Homebridge Server', do not try to use Siri until you get a message that the server has started
EPS - Homebridge Buddy sent "Homebridge Server" on
EPS - Homebridge Buddy Warning The Homebridge server 'Homebridge Server' has stopped

When I start Homebridge from the plugin menu I get this message:

EPS - Homebridge Buddy Starting the Homebridge server 'Homebridge Server', do not try to use Siri until you get a message that the server has started

But this message does not show.

Also "Show Homebridge Log" gives this error:

EPS - Homebridge Buddy module.js:472
throw err;
^

Error: Cannot find module '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v7.2.1-darwin-x64/lib/cli'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v7.2.1-darwin-x64/bin/homebridge:17:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

In the end Homebridge does not show up in the Home app off my iphone.

Any suggestions what I am doing wrong

Posted on
Tue Jan 24, 2017 12:59 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

I'm not really sure what would be causing that error, that's a core error in the HB-Indigo itself - even beyond that, something that would have shown up on every single installation if it were the core. I suspect your download was corrupt or how you installed it may be odd.

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 24, 2017 1:31 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

Thanks for the reply. So download it again and reinstall. Do I need to remove things or just reinstall.

Posted on
Tue Jan 24, 2017 2:12 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

You might remove things and see what happens. That message is really 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 24, 2017 2:48 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

I removed the plugin and downloaded the zip file and installed it. Server is on and homekit shows in the home app.

Don't see any devices but that is the next step. Thanks

Posted on
Tue Jan 24, 2017 4:06 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

As said the server seems up and running but no show of accessories.

The homebridge log shows an error.

EPS - Homebridge Buddy [1/24/2017, 10:58:24 PM] Loaded plugin: homebridge-indigo
[1/24/2017, 10:58:24 PM] Registering platform 'homebridge-indigo.Indigo'
[1/24/2017, 10:58:24 PM] ---
[1/24/2017, 10:58:24 PM] Loaded config.json with 0 accessories and 1 platforms.
[1/24/2017, 10:58:24 PM] ---
[1/24/2017, 10:58:24 PM] Loading 1 platforms...
[1/24/2017, 10:58:24 PM] [Homebridge for Indigo] Initializing Indigo platform...
[1/24/2017, 10:58:24 PM] [Homebridge for Indigo] Path prefix is /Library/Application Support/Perceptive Automation
[1/24/2017, 10:58:24 PM] [Homebridge for Indigo] Indigo base URL is http://127.0.0.1:8176
[1/24/2017, 10:58:24 PM] Loading 0 accessories...
[1/24/2017, 10:58:24 PM] [Homebridge for Indigo] Indigo request: http://127.0.0.1:8176/Library/Application Support/Perceptive Automation/devices.json/
[1/24/2017, 10:58:25 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/24/2017, 10:58:25 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/24/2017, 10:58:25 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/24/2017, 10:58:25 PM] Homebridge is running on port 51826.

Posted on
Wed Jan 25, 2017 9:45 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

You need to go into the Plugin Prefs and set the username and password to access Indigo.

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
Wed Jan 25, 2017 12:41 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

That is already in place.

Should the server path be filled. If so, is this the indigo path?

The log is saying error paarsing.... /Library/Application Support/Perceptive Automation/devices.json/


But I can't find the device.json in that directory. Should that be in place?


Also could this be an issue:


EPS - Homebridge Buddy Building configuration for 'Homebridge for Indigo'
EPS - Homebridge Buddy Error

#####################################################################
# WARNING #
#####################################################################
# #
# You have 153 items for Homebridge but it only supports 99, you #
# will be unable to use some of your items! #
#####################################################################

EPS - Homebridge Buddy

#####################################################################
# SUMMARY #
#####################################################################
# #
# Devices for Homebridge to parse : 182 #
# Included devices that Homebridge can use : 153 #
# Devices over 99 that won't work : 54 #
# #
#####################################################################

Posted on
Wed Jan 25, 2017 1:13 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

What version of Indigo are you running?

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
Wed Jan 25, 2017 1:17 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

Indigo 7.0.2

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

Re: Homebridge Server Doesn't seem to work

I am not aware of a system issue and not sure what you are thinking of.

Should I have devices.json in that directory. What is the error message suggesting. Does that give you any idea?

Secondly what should be in the server path field.
Last edited by Albatros on Wed Jan 25, 2017 1:33 pm, edited 1 time in total.

Posted on
Wed Jan 25, 2017 1:32 pm
webdeck offline
Posts: 436
Joined: May 07, 2005

Re: Homebridge Server Doesn't seem to work

Should the server path be filled. If so, is this the indigo path?


No, you should not be filling in the server path - that's the issue.

Posted on
Wed Jan 25, 2017 1:35 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

Thanks WD for stepping in, it was getting into the Node.JS territory and that's more of your domain than my own :).

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
Wed Jan 25, 2017 1:40 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Homebridge Server Doesn't seem to work

Guys, thanks for helping.

I have removed the server path and saved in the pluging and opened the Indigo device "homebridge for indigo" and also from that menu saved homebridge configuration. Not knowing what is the difference.

The error in the log is still the same. Could it be that the removing of path in the plugging ist stil in some place and is not reflected in the other parts.

Posted on
Wed Jan 25, 2017 1:55 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Server Doesn't seem to work

Please use the menu to show us the log and the configuration for your server.

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

Who is online

Users browsing this forum: No registered users and 7 guests