Homebridge Buddy Pulled

Posted on
Wed Mar 08, 2017 9:51 am
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Homebridge Buddy Pulled

I think we've narrowed it down to: HBB (the version that includes HB) running on Sierra. At this point I think we have to wait for C4W's refactoring to see if that solves the issue.

I've been running it on El Capitan without issue for well over a month and others running it on non-Sierra systems have also reported no issues, so I'm pretty confident something changed in Sierra that triggered the issue. No idea what of course.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Mar 08, 2017 1:53 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Homebridge Buddy Pulled

DaveL17 wrote:
durosity wrote:
I go away for a month and this is what happens? Dang.

I guess the ban timer ran out, eh?


Nah, Jay banned me for so long that it caused a divide by 0 error and accidentally ended up banning himself. I think he’s now learned that banning me would be a futile attempt to contain the joy and pleasure that I bring everyone here. Except jay. I only bring him pain, suffering and misery.

Computer says no.

Posted on
Wed Mar 08, 2017 2:35 pm
Shutter offline
Posts: 345
Joined: Mar 07, 2014
Location: London, UK

Re: Homebridge Buddy Pulled

I've been meaning to post this for a while and offer my feedback on HBB.

I've been running it on Sierra with only one issue since Jan 18th. Yes, I did have a number of issues at first, but that, I'm almost certain of, was due to having 2 HBB devices. I failed to notice that HBB automatically created a device on install and went ahead and created my own. Once I got that all cleaned up it's been working almost without issue.

The one issue I had was when I created an alias device and it failed causing a bunch of errors and a Z-Stick disconnection. Here's the error:

Code: Select all
 EPS - Homebridge Buddy Warning  'Homebridge for Indigo' has had a configuration change, restarting the Homebridge server now
   EPS - Homebridge Buddy          Building configuration for 'Homebridge for Indigo'
   EPS - Homebridge Buddy         

#####################################################################
# SUMMARY                                                           #
#####################################################################
#                                                                   #
# Devices for Homebridge to parse          : 272                    #
# Included devices that Homebridge can use : 21                     #
# Devices over 99 that won't work          : 0                      #
#                                                                   #
#####################################################################

   EPS - Homebridge Buddy Warning  Stopping the Homebridge server 'Homebridge for Indigo'
   EPS - Homebridge Buddy Warning  The Homebridge server 'Homebridge for Indigo' has stopped

23 Jan 2017, 10:10:17 pm
   UPS and Battery Monitor            Power Status    - AC Power
   UPS and Battery Monitor            UPS Model       -  -InternalBattery-0 (id=3801187)
   UPS and Battery Monitor            Charging Status - True
   UPS and Battery Monitor            Battery Charge  - 100
   UPS and Battery Monitor         Refreshing in 5 Minutes

23 Jan 2017, 10:11:35 pm
   EPS - Homebridge Buddy          Starting the Homebridge server 'Homebridge for Indigo', do not try to use Siri until you get a message that the server has started
   EPS - Homebridge Buddy Error    Exception in plugin.onAfter_runConcurrentThread line 191: ServerCommunicationError -- timeout waiting for response
                      CODE: if indigo.devices[devId].states["restartPending"] and indigo.devices[devId].states["onOffState"]:

   EPS - Device Extensions Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 587, in runConcurrentThread
  File "plugin.py", line 504, in resetHighLow
StandardError: ServerCommunicationError -- timeout waiting for response

   EPS - Device Extensions Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 524, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Autolog Stella-Z Error          Error detected in Autolog Plugin runConcurrentThread Method 'B'
   Autolog Stella-Z Error            Error message: 'ServerCommunicationError -- timeout waiting for response'
   Autolog Stella-Z Error          Error detected in Autolog Plugin runConcurrentThread Method 'B'
   Autolog Stella-Z Error            Error message: 'ServerCommunicationError -- timeout waiting for response'
   DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1526, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   EPS - Device Extensions Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 587, in runConcurrentThread
  File "plugin.py", line 504, in resetHighLow
StandardError: ServerCommunicationError -- timeout waiting for response

   EPS - Device Extensions Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 524, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Trigger                         Monitor Conservatory Stella Z
   Trigger                         Temp Conservatory Stella Z
   Schedule                        AM_PM
   Autolog Stella-Z Error          Error detected in Autolog Plugin runConcurrentThread Method 'C'
   Autolog Stella-Z Error            Error message: 'ServerCommunicationError -- timeout waiting for response'
   DSC Alarm                       Alarm Zone 'Alarm_Cabinet' Opened.
   Client disconnected (69.162.124.229)
   EPS - Homebridge Buddy          The Homebridge server 'Homebridge for Indigo' is back up
   Trigger                         Monitor Living Room Stella Z
   Trigger                         Temp Living Room Stella Z
   Schedule                        AM_PM

23 Jan 2017, 10:12:44 pm
   Indigo Cocoa client disconnected (192.168.0.10)
   Indigo Cocoa client authenticated (192.168.0.10)

23 Jan 2017, 10:13:03 pm
   Trigger                         Monitor Office Stella Z
   EPS - Homebridge Buddy Error    Exception in plugin.onAfter_runConcurrentThread line 191: ServerCommunicationError -- timeout waiting for response
                      CODE: if indigo.devices[devId].states["restartPending"] and indigo.devices[devId].states["onOffState"]:

   Action Collection Error         insert timestamp into variable action references variable that no longer exists
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 524, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   EPS - Device Extensions Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 587, in runConcurrentThread
  File "plugin.py", line 504, in resetHighLow
StandardError: ServerCommunicationError -- timeout waiting for response

   EPS - Device Extensions Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Autolog Stella-Z Error          Error detected in Autolog Plugin runConcurrentThread Method 'B'
   Autolog Stella-Z Error            Error message: 'ServerCommunicationError -- timeout waiting for response'
   Z-Wave Error                    Error in plugin execution:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/serialinterface.py", line 501, in startCommThread
    self.processCommThread()
  File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/serialinterface.py", line 675, in processCommThread
    self.processQueueInPacket(packet)         # Subclass is required to define.
  File "zwaveinterface.py", line 2224, in processQueueInPacket
  File "zwaveinterface.py", line 2198, in _processFuncCall
  File "zwaveinterface.py", line 2259, in _processCommandReply
  File "zwaveinterface.py", line 2243, in _processFuncTriggersAndBroadcast
  File "zwaveinterface.py", line 2196, in _processFuncCall
  File "actionsensor.py", line 328, in _processVarSensorStatusReply
  File "actionsensor.py", line 275, in _processSensorNumVal
  File "zwaveinterface.py", line 2863, in dispatchSensorNumValToThermostat
  File "actionthermostat.py", line 114, in _processSensorNumVal
  File "zwavecntrl_triggers.py", line 153, in executeTriggersForDevAndScene
StandardError: ServerCommunicationError -- timeout waiting for response

   Z-Wave Error                    exc type is <type 'exceptions.StandardError'>
   Z-Wave Error                    restarting serial connection in 5.0 seconds
   Autolog Stella-Z Error          Error detected in Autolog Plugin runConcurrentThread Method 'B'
   Autolog Stella-Z Error            Error message: 'ServerCommunicationError -- timeout waiting for response'
   Z-Wave                          connected to Z-Stick S2 interface on /dev/cu.SLAB_USBtoUART (firmware 3.07)
   DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 1526, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Airfoil Pro Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 524, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   Airfoil Pro Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   EPS - Device Extensions Error   Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 587, in runConcurrentThread
  File "plugin.py", line 504, in resetHighLow
StandardError: ServerCommunicationError -- timeout waiting for response

   EPS - Device Extensions Error   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   fingscan Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 4610, in runConcurrentThread
StandardError: ServerCommunicationError -- timeout waiting for response

   fingscan Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Schedule                        AM_PM
   Error                           device "Alarm_Cabinet" state key LCDLine1 not defined (ignoring update request)



I haven't tried creating an alias device again and have not seen any error. I'm also using the Home app on iOS daily to geofence and change a variable that then turns on a light via HBB. That's worked without a hitch.

Simon
Last edited by Shutter on Wed Mar 15, 2017 3:42 pm, edited 1 time in total.

Posted on
Thu Mar 09, 2017 9:49 am
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Homebridge Buddy Pulled

Shutter wrote:
I've been meaning to post this for a while and offer my feedback on HBB.

I've been running it on Sierra with only one issue since Jan 18th. Yes, I did have a number of issues at first, but that, I'm almost certain of, was due to have 2 HBB devices. I failed to notice that HBB automatically created a device on install and went ahead and created my own. Once I got that all cleaned up it's been working almost without issue.

The one issue I had was when I created an alias device and it failed causing a bunch of errors and a Z-Stick disconnection.


Interesting. For anyone else experiencing the hang up, can you confirm that you don't have the same issues identified above? Hopefully this will help us further narrow the scope of the problem.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Mar 09, 2017 3:25 pm
Shutter offline
Posts: 345
Joined: Mar 07, 2014
Location: London, UK

Re: Homebridge Buddy Pulled

I forgot to add that I kept the alias device and it's still showing, I just haven't created another one yet. I'll try and create another one this weekend and post any issues.

Simon

Posted on
Wed Mar 15, 2017 12:27 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: Homebridge Buddy Pulled

@Shutter. Now that you mention Alias devices in HBB, I'm reminded that I used to have a HBB Alias device set up. I deleted it because it wasn't accomplishing what I had intended and not as a result of troubleshooting, so I didn't make the connection, but the time from removing the Alias device seems to correlate closely to the time I stopped having the same kinds of errors you're reporting in your IndigoServer log. I thought it was possibly a USB or kernel driver issue because I was having external hard drive issues at the same time, but now I'm thinking it was more likely the IndigoPluginHost or IndigoServer (due to something in HBB). I don't have much time to do any good troubleshooting with HBB and Alias devices right now, but I thought I'd at least mention that the similarity between what you're seeing and what I experienced is nearly identical.

Posted on
Fri Apr 14, 2017 5:21 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Homebridge Buddy Pulled

Has there been any movement or resolution on his or should Sierra users revert to the webdeck version? Thanks

Posted on
Sat Apr 15, 2017 6:29 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Homebridge Buddy Pulled

To confuse the issue even more, I had turned off HBB after a couple of server freezes sometime last month. After a week or two (and a few restarts of the system and/or Indigo for various updates) I tried turning HBB on again. Thus far its been running just fine for a couple of weeks now.

Running Indigo 7.0.3 and HBB 0.20 on a headless Mac Mini (late 2012), OS X 10.12.4.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Mon May 01, 2017 2:29 pm
hassancy offline
Posts: 11
Joined: Jul 05, 2016

Re: Homebridge Buddy Pulled

Any updates on the return of HBB? I just installed Homebridge-Indigo and need HBB to allow Indigo to notify Homebridge of any status changes at its end.

Posted on
Sat May 06, 2017 3:50 pm
rgspb offline
Posts: 217
Joined: Apr 24, 2009
Location: Florida

Re: Homebridge Buddy Pulled

So if we're not running Sierra we still can't download the plugin? I'm not finding a working link for the current version.

Posted on
Wed May 17, 2017 10:21 pm
kelmk offline
Posts: 85
Joined: May 17, 2017

Re: Homebridge Buddy Pulled

Would love to try out this plugin as a new Indigo trial user.

Posted on
Fri May 19, 2017 3:55 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Buddy Pulled

I can get you the link for it. I took a bit of a break from coding Indigo stuff for a few months but I'm easing myself back in, this is my priority project.

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
Fri May 19, 2017 7:10 pm
kelmk offline
Posts: 85
Joined: May 17, 2017

Re: Homebridge Buddy Pulled

I would love to try it out if you send me the link or if you need any beta testers from the rewrite.
Cheers

Posted on
Sat May 20, 2017 1:24 pm
keifer1 offline
Posts: 87
Joined: Oct 21, 2012

Link

Could i also have a link, setting up a new indigo server and would be a great time to try out. I Fully understanding it is a work in the works.

Thank you.

Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go

Posted on
Mon May 22, 2017 7:07 am
rgspb offline
Posts: 217
Joined: Apr 24, 2009
Location: Florida

Re: Homebridge Buddy Pulled

I would appreciate the link too! Thanks

Who is online

Users browsing this forum: No registered users and 1 guest