Differentiate device type

Posted on
Wed Oct 19, 2016 2:02 am
jmortizsilva offline
Posts: 9
Joined: Sep 10, 2014

Differentiate device type

Hi,

Is there any way to differentiate plugs and lights device type? Currently almost all my devices are recognized as lights, so if I tell Siri to turn off the lights, turn off my MacMini. Is there any way to avoid this?

Thank you

Posted on
Wed Oct 19, 2016 8:09 am
webdeck offline
Posts: 348
Joined: May 07, 2005

Re: Differentiate device type

jmortizsilva wrote:
Hi,

Is there any way to differentiate plugs and lights device type? Currently almost all my devices are recognized as lights, so if I tell Siri to turn off the lights, turn off my MacMini. Is there any way to avoid this?

Thank you


In your config.json, you would use the treatAsSwitchIds setting to list the IDs that you want to be considered as switches instead of lightbulbs. Please see the included sampleconfig.json for an example.

-Mike

Posted on
Sat Oct 22, 2016 11:34 am
jmortizsilva offline
Posts: 9
Joined: Sep 10, 2014

Re: Differentiate device type

Hello,

Although I followed the installation process recommended in this forum, I have never get the sample files. How I can access the sample file?

Thank you

Posted on
Sat Oct 22, 2016 3:12 pm
webdeck offline
Posts: 348
Joined: May 07, 2005

Re: Differentiate device type

jmortizsilva wrote:
Hello,

Although I followed the installation process recommended in this forum, I have never get the sample files. How I can access the sample file?

Thank you


It is located here: /opt/local/lib/node_modules/homebridge-indigo/sampleconfig.json

It is also in the README here: https://www.npmjs.com/package/homebridge-indigo

-Mike

Posted on
Sun Oct 23, 2016 2:13 am
jmortizsilva offline
Posts: 9
Joined: Sep 10, 2014

Re: Differentiate device type

Great, Thanks a lot.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest