Plugin doesn't see Homebridge

Posted on
Sun Dec 04, 2016 9:58 pm
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Plugin doesn't see Homebridge

So I figured with this plugin release I'd install everything and try it out. So far I'm failing.

I installed Xcode, the command line tools, MacPorts and Homebridge per the instructions linked. Created the JSON config file and put my Indigo information in there.

I installed the plugin and did the configure part, even selecting DEBUG output just in case.

When I click on Save Config and Reload, Start Homebridge, Stop Homebridge, etc...there is no server in the popup. So I launched Homebridge from the terminal.

Here's what I get:
Code: Select all
[12/4/2016, 9:35:33 PM] Loaded plugin: homebridge-indigo
[12/4/2016, 9:35:33 PM] Registering platform 'homebridge-indigo.Indigo'
[12/4/2016, 9:35:33 PM] ---
[12/4/2016, 9:35:33 PM] Loaded config.json with 0 accessories and 1 platforms.
[12/4/2016, 9:35:33 PM] ---
[12/4/2016, 9:35:33 PM] Loading 1 platforms...
[12/4/2016, 9:35:33 PM] [My Indigo Server] Initializing Indigo platform...
[12/4/2016, 9:35:33 PM] [My Indigo Server] Indigo base URL is http://127.0.0.1:8176
[12/4/2016, 9:35:33 PM] Loading 0 accessories...
[12/4/2016, 9:35:33 PM] [My Indigo Server] Listening on port 8177
[12/4/2016, 9:35:33 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/devices.json/
[12/4/2016, 9:35:34 PM] [My Indigo Server] Indigo request: http://127.0.0.1:8176/devices/ABIA%20NOAA%20Weather%20Station.json
[12/4/2016, 9:35:34 PM] [My Indigo Server] Discovered Weather Station (ID 66431165): ABIA NOAA Weather Station
[12/4/2016, 9:35:34 PM] [My Indigo Server] Ignoring excluded ID 66431165

and on and on until:
Code: Select all
[12/4/2016, 9:35:41 PM] [My Indigo Server] Created 0 accessories
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[12/4/2016, 9:35:41 PM] Homebridge is running on port 51826.

When I went into the Home app on my iOS device, I was able to add Homebridge as an accessory...so it seems to be showing up even though no devices are in it.

But the plugin here just will not register anything.

Any ideas what I am doing wrong?

Thanks
Ross

Posted on
Sun Dec 04, 2016 10:07 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Plugin doesn't see Homebridge

It sounds like you need to create a Homebridge Server device in Indigo. After you do that (and maybe restart Indigo and/or your Mac) the server will be available. I'm not sure if that is required, but I did to confirm Homebridge starts automatically when I boot the Mac.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Mon Dec 05, 2016 12:15 am
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Plugin doesn't see Homebridge

I created the server device and rebooted Indigo...the plugin sees the server and it shows the server as started.
Code: Select all
   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

Dec 5, 2016, 12:03:08 AM
   Z-Wave                          received "Front Porch - Sensor - Temperature" sensor update to 49.9 °F
   Z-Wave                          received "Front Porch - Sensor - Humidity" sensor update to 89%
   Z-Wave                          received "Front Porch - Sensor - Luminance" sensor update to 0 lux
   Z-Wave                          received "Front Porch - Sensor - Ultraviolet" sensor update to 0
   WebServer                       could not find device "Press"
   EPS - Homebridge Buddy          The Homebridge server 'Homebridge Server' is back up

Dec 5, 2016, 12:04:05 AM
   EPS - Homebridge Buddy Debug    Validating action parameters on device
   EPS - Homebridge Buddy Debug    Adding Homebridge Server to cache
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Hall Lights' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Living Room Overhead' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bedroom Ceiling Fan' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Front Porch' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Kitchen Overhead' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Living Room Ceiling Fan' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Office Desk Lamp' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bedroom Overhead' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Kitchen Sink' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Lock - Front Door Deadbolt' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Computer Room Desk Lamp' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bathroom Counter' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Garage Light' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Entry Light' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bedroom Lamps - LED' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Living Room Upper Light' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Back Yard Floodlights' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Gameroom Overhead' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Office Front Lamp' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Office Fan & Light' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Office - FanLinc- Light' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Computer Room Halogen Lamp' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Stairs' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Living Room Lamps' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bathroom Closet' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Master Bathroom Toilet' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Office - FanLinc - Fan' to cache as a watched item
   EPS - Homebridge Buddy Debug    Automatically adding watched device 'Dining Room Overhead' to cache as a watched item


I had cleared all settings from my iPhone so I could start clean...butt he phone just sits with the spinning gear on the Add Accessory page. Nothing shows up to add after 10 minutes of waiting.

If I click the Send Status Request button in the Homebridge Server device I get:
Code: Select all
   EPS - Homebridge Buddy Error    Unknown device command: actionValue : 0
configured : True
delayAmount : 900
description : unknown action type device
deviceAction : RequestStatus
deviceId : 1975586924
replaceExisting : True
textToSpeak :
   EPS - Homebridge Buddy Error    send "Homebridge Server" on failed


I've been working with computers and tech for over 30 years now, but between this and the struggle getting the alarm panel interfaced via the AD2PI I feel extremely stupid.

Posted on
Mon Dec 05, 2016 7:31 am
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Plugin doesn't see Homebridge

It was showing on the iPhone, but you deleted it and now it's not?

Increment the user name MAC address in [homebridge device]: Edit Device Settings: Homebridge Configuration. Mine ended in 0 and I changed it to 1. After the reboot process (which appears to take time), the device appeared on my iPhone.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Mon Dec 05, 2016 9:35 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin doesn't see Homebridge

I'm a bit confused as to what the problem is right now. It looks like HB Buddy is working and HB itself is working. If you are having issues with a HomeKit app on your phone not refreshing the HomeKit network that's a bit out of my ability to help with but I know that when I first set up Homebridge/HomeKit in my own network that it took quite a while for my devices to propagate before I could do anything.

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
Mon Dec 05, 2016 11:22 am
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Plugin doesn't see Homebridge

Colorado4Wheeler wrote:
I'm a bit confused as to what the problem is right now. It looks like HB Buddy is working and HB itself is working. If you are having issues with a HomeKit app on your phone not refreshing the HomeKit network that's a bit out of my ability to help with but I know that when I first set up Homebridge/HomeKit in my own network that it took quite a while for my devices to propagate before I could do anything.

I think the problem is in iOS. I also deleted the Homebridge accessory from my iPhone and HomeKit refused to recognize it again. Changing the user name immediately fixed the problem.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Mon Dec 05, 2016 11:39 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin doesn't see Homebridge

Good to hear!

Bollar wrote:
Changing the user name immediately fixed the problem.


That's exactly why I added that ability within the plugin, sometimes changing the name or password helps jump start HomeKit.

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
Mon Dec 05, 2016 12:07 pm
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Plugin doesn't see Homebridge

Thanks guys...I'll try that when I get home from work and test.

I'm really kinda anxious to get this to work...I think it will be really cool to use the ATV4 or my iPhone to control things.

Thanks again
Ross

Posted on
Mon Dec 05, 2016 12:09 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin doesn't see Homebridge

I wrote a pretty elaborate control page system (Room-O-Matic) and a bunch of elaborate plugins to support them and once I started down the "Hey Siri" route it totally changed my home automation! I use a control page maybe 3 times a week and everything else, both at home and outside the home, has been "Hey Siri...". I even put old iPhones in nearly every room in my house now so I can "Hey Siri" from everywhere.

So, I get it!

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
Mon Dec 05, 2016 6:22 pm
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Plugin doesn't see Homebridge

Cool...got it working.

Now...a question for those who do have it working. How the hell do you get Siri to understand the difference between Bedroom LAMPS and Bedroom OVERHEAD LIGHT?

Because apparently the text can match letter for letter when I speak it, but she's too dumb to realize what it means.

"I'm sorry, I don't understand 'overhead'"

How do you guys distinguish?

Posted on
Mon Dec 05, 2016 6:28 pm
Bollar offline
Posts: 528
Joined: Aug 11, 2013

Re: Plugin doesn't see Homebridge

srkinard wrote:
Cool...got it working.


How?

srkinard wrote:
Now...a question for those who do have it working. How the hell do you get Siri to understand the difference between Bedroom LAMPS and Bedroom OVERHEAD LIGHT?

Because apparently the text can match letter for letter when I speak it, but she's too dumb to realize what it means.

"I'm sorry, I don't understand 'overhead'"

How do you guys distinguish?

You're using Apple's Home app? Have you tried putting them both in a room called "Bedroom" and changing the names to "Overhead Light" and "Lamps"? If you do that and then say, Hey, Siri, turn on the Bedroom Overhead Light, it should respond correctly. Also note that it does take some time after you make the changes in Home for them to propagate to Siri.

Insteon / Z-Wave / Bryant Evolution Connex /Tesla / Roomba / Elk M1 / SiteSage / Enphase Enlighten / NOAA Alerts

Posted on
Mon Dec 05, 2016 6:31 pm
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Plugin doesn't see Homebridge

Ah...didn't know I could edit the names from what they are in Indigo...changed as you suggested and it worked! This is really cool!

I'm sure I'll have more questions, but will keep playing with it.

Posted on
Mon Dec 05, 2016 6:38 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin doesn't see Homebridge

srkinard wrote:
Ah...didn't know I could edit the names from what they are in Indigo


The plugin has Alias devices for just this purpose. At some point, and it will happen, HomeKit will magically lose it's settings and you'll have to set your rooms and aliases back up - this helps with that. It's a HomeKit problem that hopefully will get sorted out one day.

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 Dec 06, 2016 5:13 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Plugin doesn't see Homebridge

Colorado4Wheeler wrote:
srkinard wrote:
Ah...didn't know I could edit the names from what they are in Indigo


The plugin has Alias devices for just this purpose. At some point, and it will happen, HomeKit will magically lose it's settings and you'll have to set your rooms and aliases back up - this helps with that. It's a HomeKit problem that hopefully will get sorted out one day.


Aliases are great.. except it's rather awkward if you want to have more than just a handful.. i want to have about 70 (and hopefully more if Alarm support comes into it :) but having 70 wrappers is just a wee bit of a pain and would mess up my neat and tidy indigo devices list ;)

Perhaps there could be a way of renaming them in the Server > Homebridge Friendly Devices to Include menu?

Computer says no.

Posted on
Tue Dec 06, 2016 9:05 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin doesn't see Homebridge

durosity wrote:
Perhaps there could be a way of renaming them in the Server > Homebridge Friendly Devices to Include menu?


Unfortunately not. The aliases are not just arbitrary, they are this way because Homebridge gets the device names from Indigo, it's not a special "alias" field or anything like that.

durosity wrote:
Aliases are great.. except it's rather awkward if you want to have more than just a handful..


To each their own, for me I have quite a few of them and they don't bother me. As I make HBB the core of my Indigo world I'm writing things into my other plugins that lets you ignore all the allies devices if you want so they don't show up on lists.

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 8 guests