Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Posted on
Sat Jan 16, 2016 2:42 am
MrJeffreyGee offline
User avatar
Posts: 74
Joined: Apr 26, 2011
Location: United States

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

howartp wrote:
On line 5 of your Config.json, remove the quotes from around "51826".

It's expecting an integer but you've provided a string.


Sent from my iPhone using Tapatalk


Thank you so much! ^_^


Sent from my iPhone using Tapatalk

Posted on
Sat Jan 16, 2016 6:01 am
MrJeffreyGee offline
User avatar
Posts: 74
Joined: Apr 26, 2011
Location: United States

Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I have Oregon Scientific Temperature & Humidity combo sensors in each room that are linked into Indigo as devices. I added their IDs into config.json, but they aren't showing up as accessories. Is there a way to get it to work with HomeBridge? I've also got a rain gauge and wind speed/direction sensor if you'd like info on adding or testing that.

Posted on
Mon Jan 18, 2016 6:15 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I just read where HAP-nodejs was updated to allow dynamic allocations; would this be possible with the Indigo plug-in? This is more a curiosity than a request in that I've slowed my pace on adding new devices.


Sent from my iPhone using Tapatalk

Posted on
Tue Jan 19, 2016 8:24 pm
robb18 offline
Posts: 21
Joined: Jan 27, 2010

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I set this all up today. It's fantastic, working great. One thing I'm having trouble with is how to start home bridge automatically when the Mac Mini is rebooted. I tried the startup trigger calling the runhomebridge executable, but that doesn't appear to be working. What is the step by step way to accomplish this so any reboot would bring the home bridge back on online.

Thanks in advance,

Rob

Posted on
Wed Jan 20, 2016 8:55 am
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I am getting a similar error when starting Homebridge

Registering platform 'homebridge-indigo.Indigo'
---
There was a problem reading your config.json file.
Please try pasting your config.json file here to validate it: http://jsonlint.com

/opt/local/lib/node_modules/homebridge/lib/server.js:124
throw err;
^

SyntaxError: Unexpected token “
at Object.parse (native)
at Server._loadConfig (/opt/local/lib/node_modules/homebridge/lib/server.js:118:19)
at new Server (/opt/local/lib/node_modules/homebridge/lib/server.js:25:23)
at module.exports (/opt/local/lib/node_modules/homebridge/lib/cli.js:23:3)
at Object.<anonymous> (/opt/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
jarvis:~ serveradmin$


The file I made was this

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file to configure the Indigo platform plugin. See README.md for more details.",

"platforms": [
{
"platform": "Indigo",
"name": "My Indigo Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": “username”,
"password": “pass”,
"includeActions": true
}
],

"accessories": [
]
}

Posted on
Wed Jan 20, 2016 8:59 am
robb18 offline
Posts: 21
Joined: Jan 27, 2010

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

It's the quotation marks. Retype the line for username from your keyboard, no copy and paste You might have the same problem with other fields like password too.
Attachments
CSS_Capture 2016-01-20_09-59-03_AM.jpg
CSS_Capture 2016-01-20_09-59-03_AM.jpg (89.51 KiB) Viewed 4663 times

Posted on
Wed Jan 20, 2016 9:05 am
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I tried that typed it a few times saved again copied it over same problem and i get the same error on validation

Posted on
Wed Jan 20, 2016 9:10 am
robb18 offline
Posts: 21
Joined: Jan 27, 2010

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Copy and paste this and see if it helps.
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file to configure the Indigo platform plugin. See README.md for more details.",

"platforms": [{
"platform": "Indigo",
"name": "My Indigo Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": "user",
"password": "pass",
"includeActions": true
}],

"accessories": []
}
Last edited by robb18 on Wed Jan 20, 2016 9:44 am, edited 2 times in total.

Posted on
Wed Jan 20, 2016 9:13 am
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

same problem .......I just tried changing plain text font to Ariel also....No change same error


I also tried making the file on my iMac....copied the made file to the desktop of the mini then ran the terminal command to copy to .hombridge same error

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file to configure the Indigo platform plugin. See README.md for more details.",

"platforms": [{
"platform": "Indigo",
"name": "My Indigo Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": “user”,
"password": “pass”,
"includeActions": true
}],

"accessories": []
}

Posted on
Wed Jan 20, 2016 9:37 am
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I also turned Smart quotes off in Keyboard and text editor

the file looks like this and validates but still get this error

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file to configure the Indigo platform plugin. See README.md for more details.",

"platforms": [{
"platform": "Indigo",
"name": "My Indigo Server",
"protocol": "http",
"host": "127.0.0.1",
"port": "8176",
"path": "",
"username": "user",
"password": "pass",
"includeActions": true
}],





Error


Registering platform 'homebridge-indigo.Indigo'
---
There was a problem reading your config.json file.
Please try pasting your config.json file here to validate it: http://jsonlint.com

/opt/local/lib/node_modules/homebridge/lib/server.js:124
throw err;
^

SyntaxError: Unexpected end of input
at Object.parse (native)
at Server._loadConfig (/opt/local/lib/node_modules/homebridge/lib/server.js:118:19)
at new Server (/opt/local/lib/node_modules/homebridge/lib/server.js:25:23)
at module.exports (/opt/local/lib/node_modules/homebridge/lib/cli.js:23:3)
at Object.<anonymous> (/opt/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)

Posted on
Wed Jan 20, 2016 9:46 am
robb18 offline
Posts: 21
Joined: Jan 27, 2010

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Try using ATOM to edit the text.

https://atom.io

Posted on
Wed Jan 20, 2016 9:59 am
Sharek326 offline
User avatar
Posts: 377
Joined: Jul 20, 2014
Location: Lansford, PA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I am at a loss done with atom same problem. Tried Wrangler same problem


Got it - i was editing the txt file over and over finally just went to the son edited it there

Posted on
Fri Jan 22, 2016 4:13 pm
manoncloud9 offline
Posts: 75
Joined: Apr 27, 2014
Location: Minneapolis MN

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

This plug in is awesome - I got everything working in relatively short order and painless from your instructions!

Thanks so much!!

The only issue I am having is I could not get hot to start automatically from the instructions you have. When I do run the command to start it with the launch tool It does not work but if I just run it from the command line home bridge -D things are great,

Any thing you can tell me to try?

Thanks again for the plug in!!

Posted on
Fri Jan 29, 2016 11:57 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Here I go again!

I'm about to receive an RFXCOM device that will allow me, through an Indigo plugin, to control my Somfy solar screens and, soon to be purchased, awning. I think HomeKit has the ability to control such items, perhaps with Siri commands such as "Open the shade". Does Homebridge include hooks to control these devices? Thanks.

--Dave

Posted on
Fri Jan 29, 2016 1:03 pm
robb18 offline
Posts: 21
Joined: Jan 27, 2010

ZRTSI II

Anyone have any experience with the interface into Indigo for the ZRTSI II for blinds?

Looking for a how to, or reference for codes to send the device to control the blinds.

Rob

Who is online

Users browsing this forum: No registered users and 12 guests