Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Posted on
Sun Jan 31, 2016 10:50 pm
nev offline
Posts: 48
Joined: Aug 19, 2015

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Is there the ability to specify the room which the device is in using the .json file the way we can currently specify switches? I know we can do this in the homekit app, but sometimes i need to restart homebridge and when i do, everything is put into the main homebridge room like if i added a bunch of new items.

If this is possible, does anyone have an example .json file?

Posted on
Mon Feb 01, 2016 8:36 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Sorry to pile on. I've gone through all the pages of the thread and apologize if this is a rehash. Getting the following when running: sudo npm install -g home bridge

Any direction would be great. Running OS 10.11.3. Latest Xcode, and command line tools installed.

Code: Select all
Server:~ ddewey$ sudo npm install -g homebridge
-
> mdns@2.2.11 install /opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/ddewey/.node-gyp/4.2.6"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/.node-gyp"
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o
  CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o
  SOLINK_MODULE(target) Release/dns_sd_bindings.node

> curve25519@1.1.0 install /opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/ddewey/.node-gyp/4.2.6"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/.node-gyp"
  CXX(target) Release/obj.target/curve/node_curve.o
  SOLINK_MODULE(target) Release/curve.node

> ed25519@0.0.3 install /opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/ed25519
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/ddewey/.node-gyp/4.2.6"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/ed25519/.node-gyp"
  CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
  CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
  CC(target) Release/obj.target/ed25519/src/ed25519/open.o
  CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
  CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
  CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
  CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
  CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
  CXX(target) Release/obj.target/ed25519/src/ed25519.o
  SOLINK_MODULE(target) Release/ed25519.node

> bignum@0.11.0 install /opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum
> node-gyp configure build

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/ddewey/.node-gyp/4.2.6"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/.node-gyp"
  CXX(target) Release/obj.target/bignum/bignum.o
  SOLINK_MODULE(target) Release/bignum.node
/opt/local/bin/homebridge -> /opt/local/lib/node_modules/homebridge/bin/homebridge
homebridge@0.2.16 /opt/local/lib/node_modules/homebridge
├── semver@5.0.3
├── commander@2.8.1 (graceful-readlink@1.0.1)
├── chalk@1.1.1 (escape-string-regexp@1.0.4, ansi-styles@2.1.0, supports-color@2.0.0, strip-ansi@3.0.0, has-ansi@2.0.0)
└── hap-nodejs@0.1.1 (debug@2.2.0, node-persist@0.0.6, mdns@2.2.11, curve25519@1.1.0, ed25519@0.0.3, srp@0.2.0)

Posted on
Mon Feb 01, 2016 8:40 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Dewster35 wrote:
Sorry to pile on. I've gone through all the pages of the thread and apologize if this is a rehash. Getting the following when running: sudo npm install -g home bridge

Any direction would be great. Running OS 10.11.3. Latest Xcode, and command line tools installed.



What's the problem? You have some warnings about directory access, but I get those too. Doesn't actually hurt anything. From the looks of that log output, the install worked fine. Continue with the instructions and try it out.

joe

PS - we normally spend our summers in Petoskey. We're owners at Hearthside Grove. I wouldn't want to be there this time of year. ;)

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 01, 2016 9:07 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Not familiar with that store although I've been here six years!

Code: Select all
Server:homebridge ddewey$ homebridge -D
Loaded plugin: homebridge-indigo
Registering platform 'homebridge-indigo.Indigo'
---
Couldn't find a config.json file at '/Users/ddewey/.homebridge/config.json'. Look at config-sample.json for examples of how to format your config.js and add your home accessories.


Above is the problem... I'm very novice when it comes to terminal usage so I'm probably hosing something there. I do have the config.json file at the other location.. not sure how to have it look there for it though.

PS Looking out may window at nothing but white, I can imagine your view is quite a bit better!

Edit: Also just looked it up and saw what Hearthside grove is! I have driven by that sign many times on my way to the UP.

Posted on
Mon Feb 01, 2016 9:12 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Dewster35 wrote:
Not familiar with that store although I've been here six years!

Code: Select all
Server:homebridge ddewey$ homebridge -D
Loaded plugin: homebridge-indigo
Registering platform 'homebridge-indigo.Indigo'
---
Couldn't find a config.json file at '/Users/ddewey/.homebridge/config.json'. Look at config-sample.json for examples of how to format your config.js and add your home accessories.


Above is the problem... I'm very novice when it comes to terminal usage so I'm probably hosing something there. I do have the config.json file at the other location.. not sure how to have it look there for it though.

PS Looking out may window at nothing but white, I can imagine your view is quite a bit better!

Edit: Also just looked it up and saw what Hearthside grove is! I have driven by that sign many times on my way to the UP.



Looks like the file or directory is misnamed. Do this:

Open Terminal.

Type "cd ~/.homebridge", then hit return. Make sure you get that period in the right place.

Type "ls -la", then hit return.

Copy and paste the Terminal output to a post here.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 01, 2016 9:16 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Below is what I get.

Server:homebridge ddewey$ cd ~/.homebridge
Server:.homebridge ddewey$ ls -la
total 0
drwxr-xr-x 3 ddewey staff 102 Feb 1 07:59 .
drwxr-xr-x@ 46 ddewey staff 1564 Feb 1 10:00 ..
drwxr-xr-x 2 ddewey staff 68 Feb 1 07:59 persist

Posted on
Mon Feb 01, 2016 9:17 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Dewster35 wrote:
Below is what I get.

Server:homebridge ddewey$ cd ~/.homebridge
Server:.homebridge ddewey$ ls -la
total 0
drwxr-xr-x 3 ddewey staff 102 Feb 1 07:59 .
drwxr-xr-x@ 46 ddewey staff 1564 Feb 1 10:00 ..
drwxr-xr-x 2 ddewey staff 68 Feb 1 07:59 persist



No config.json file in there. Where did you actually put it? The instructions say to move it to this directory.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 01, 2016 9:21 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Like I said, I'm a terminal novice. When trying to do the move rename terminal stuff, it said the directory did not exist. So I put it manually as shown in the pic.
Attachments
Untitled.tiff
Untitled.tiff (55.48 KiB) Viewed 4571 times

Posted on
Mon Feb 01, 2016 9:24 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

OK... I SWEAR I got a error message last time I tried to run that :)


:shock:

It does seem to be running now... onto the next steps! Thanks for the assist. You'll have to hit me up next time you're up this way and we can grab a beer if you're into that sort of thing.

Posted on
Mon Feb 01, 2016 10:32 am
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Very cool stuff. Didn't even take much work and I'm off and running. Thanks to everyone for contributing and helping to extend indigo even further!

Posted on
Mon Feb 01, 2016 11:15 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Dewster35 wrote:
It does seem to be running now... onto the next steps! Thanks for the assist. You'll have to hit me up next time you're up this way and we can grab a beer if you're into that sort of thing.


Good to hear. I'll let you know if we make it up there this summer. Might not, as we'll be moving into our new house in April (I hope) and I have months worth of work to do to get the automation set up. Depends on how nasty hot it gets here, I guess.

joe

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 01, 2016 11:32 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Hey guys - clearly, Homebridge is something a lot of users are interested in. And I see that this thread is getting really large. I'm thinking of creating a Homebridge subforum under the Integrating Services/Applications forum so that people can post individual topics rather than just add more here. Might make it easier to find matching issue.

However, as someone who doesn't contribute to the topic, that may not be what the community that's supporting Homebridge would like. So, those who contribute to this thread by answering questions and helping others: is this a good next step or are there other ideas? Or should we just leave it alone? If someone would like to take more of an official "ownership" of this, I can create a new forum in the 3rd Party Developers section which would allow you to moderate the topics, create sticky posts (installation/usage) and the like.

Let me know your thoughts - I want to help make this great community supported solution even easier to use for more customers.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Feb 01, 2016 11:40 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

I would prefer a subforum so that specific questions get their own thread. I have a question I've been delaying asking because I was afraid it was going to get lost.

I'm not the person doing all the work, but I'm happy to help with moderation, etc.

joe

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Feb 01, 2016 2:36 pm
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

FlyingDiver wrote:
Good to hear. I'll let you know if we make it up there this summer. Might not, as we'll be moving into our new house in April (I hope) and I have months worth of work to do to get the automation set up.


We just moved to a new house, more out in the country, this past spring. I am finally just now getting things cleaned up from a home automation standpoint with a few odds and ends still left to do. It definitely sucks... but good luck to you!

Posted on
Mon Feb 01, 2016 4:17 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Homebridge 2.0 with Indigo plugin brings Siri to Indigo

Having a sub forum sounds like a good idea. Maybe, looking to the future, you could nest it under "Alternate Front Ends" along with Alexa support and then perhaps Xbox, PS4 or Harmony hub add ons.


Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 5 guests