Homebridge Buddy and IOS 11

Posted on
Sat Sep 23, 2017 10:46 am
Colorado4Wheeler offline
User avatar
Posts: 2688
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Buddy and IOS 11

Hmmm, I don't see that I left in what I thought was there. Can you turn on debug logging then start it up and PM me the output?

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
Sat Sep 23, 2017 11:20 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

Same error. Messaging the output.

Posted on
Sat Sep 23, 2017 11:21 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

Colorado4Wheeler wrote:
Hmmm, I don't see that I left in what I thought was there. Can you turn on debug logging then start it up and PM me the output?


Sep 23, 2017, 10:19:19 AM
EPS - Homebridge Buddy Debug logging enabled
Reloading plugin "EPS - Homebridge Buddy 1.00"
Stopping plugin "EPS - Homebridge Buddy 1.00" (pid 915)
Stopped plugin "EPS - Homebridge Buddy 1.00"
Starting plugin "EPS - Homebridge Buddy 1.00" (pid 1331)
EPS - Homebridge Buddy Debug Refreshing plugin information
EPS - Homebridge Buddy Ingoring the Prowl plugin because it generates errors when we access it
Started plugin "EPS - Homebridge Buddy 1.00"
EPS - Homebridge Buddy Debug Adding Back Cam to cache
EPS - Homebridge Buddy Debug Adding Driveway Cam to cache
EPS - Homebridge Buddy Debug Adding Frontdoor Cam to cache
EPS - Homebridge Buddy Debug Adding Frontyard Cam to cache
EPS - Homebridge Buddy Debug Adding Garage Cam to cache
EPS - Homebridge Buddy Debug Adding Homebridge Custom to cache
EPS - Homebridge Buddy Debug Unable to find a local configuration for this Homebridge server
EPS - Homebridge Buddy Error Unable to create Homebridge folder /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge/639503614
EPS - Homebridge Buddy Debug Adding Homebridge for Indigo to cache
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bedroom Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Bed Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Jocelyn Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Zachary Ceiling Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'House Lighting' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Stacey Closet Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bathroom Shower Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bedroom Entry Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Bruce Reading Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Kitchen Sink Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Side 1 Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Front Entry Hanging Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bedroom Back Window Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bathroom Sink Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Dining Room Table Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bathroom Tub Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bedroom Front Window Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Garage Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Front Outside Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Jocelyn Ceiling Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Pool Music' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Family Room Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Playroom Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Garage Entry Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Front Entry Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Stacey Reading Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Master Bathroom Fan' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Dining Room Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Bruce Closet Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Backyard House Light' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Alarm - Stay Mode' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Bathroom Music' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Zachary Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Kitchen Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Automatically adding watched device 'Living Room Can Lights' to cache as a watched item
EPS - Homebridge Buddy Debug Adding Left Side Cam to cache
EPS - Homebridge Buddy Debug Adding Right Side Cam to cache
EPS - Homebridge Buddy EPS - Homebridge Buddy is loaded and ready to use

Posted on
Sat Sep 23, 2017 11:21 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

Or just posting it in the thread.

Posted on
Sat Sep 23, 2017 11:22 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

/var/log/system.log shows:

Sep 23 10:16:42 supermini com.apple.xpc.launchd[1] (com.webdeck.homebridge.639503614[1246]): Service could not initialize: Unable to set current working directory. error = 2: No such file or directory, path = /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge/639503614: 15G1611: xpcproxy + 12068 [1343][04735878-FE18-3961-8430-E328A07D7B91]: 0x2

Posted on
Sat Sep 23, 2017 11:25 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

The "custom" homebridge server starts fine. Just the one that vends out indigo devices fails to load.

Posted on
Sat Sep 23, 2017 11:34 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

On my system, "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge" contains a different directory with a device id that doesn't match my 2 homebridge servers.

Code: Select all
/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge
supermini:homebridge home$ ls
1953136859            load
com.webdeck.homebridge.plist.template   node
createdir            npm
homebridge            runhomebridge
installhomebridge         unload
installitunes            updatehomebridge
supermini:homebridge home$


That deviceid directory contains a homebridge.log that shows the itunes plugin failing to start.
Code: Select all
[2017-9-23 07:57:52] ERROR: Failed syncing iTunes main device, trying again in two seconds.
[2017-9-23 07:57:55] Error: 35:47: execution error: iTunes got an error: Can’t get player state. (-1728)

    at ChildProcess.<anonymous> (/Users/Shared/Indigo Plugins/Homebridge/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.4.0-darwin-x64/lib/node_modules/homebridge-itunes/node_modules/node-osascript/lib/index.js:39:12)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Socket.stream.socket.on (internal/child_process.js:348:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:545:12)
[2017-9-23 07:57:55] ERROR: Failed syncing iTunes main device, trying again in two seconds.

Posted on
Sat Sep 23, 2017 11:47 am
Colorado4Wheeler offline
User avatar
Posts: 2688
Joined: Jul 20, 2009
Location: Colorado

Re: Homebridge Buddy and IOS 11

Open your server config and select the iTunes server, save it and then open and de-select it. See if that fixes the issue.

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
Sat Sep 23, 2017 11:52 am
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

It didn't help. Note that that deviceid directory there doesn't match my devices. And it's timestamp looks like it may have been accidentally includd when you packaged HBB up?

drwxr-xr-x@ 7 home staff 238 Sep 23 07:33 1953136859
-rwxr-xr-x@ 1 home staff 488 Sep 23 07:33 com.webdeck.homebridge.plist.template

Posted on
Sat Sep 23, 2017 11:53 am
rehafer online
Posts: 182
Joined: Feb 08, 2013

Re: Homebridge Buddy and IOS 11

I updated to V 1.0 everything was fine expect for one light bulb that became “Not Supported” About an hour later all HBB devices became “Not Responding” with messages as above Weird


Sent from my iPhone using Tapatalk

Posted on
Sat Sep 23, 2017 12:02 pm
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

I tried creating a new 'Homebridge Indigo Server' device, to see if it would work. But same error about not being to create directory.

Posted on
Sat Sep 23, 2017 12:09 pm
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

If I manually run your "createdir" script, I can get things starting up again:

Code: Select all
supermini:homebridge home$ ./createdir "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge/1721083736"


Obviously that's not optimal, but the error is happening in there somewhere.

Posted on
Sat Sep 23, 2017 12:23 pm
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

I can also verify that after createdir runs, everything is completely functional.

Posted on
Sat Sep 23, 2017 12:24 pm
blysik offline
Posts: 209
Joined: Jan 06, 2015

Re: Homebridge Buddy and IOS 11

Might need extra debugging around this line:

Code: Select all
            os.system('"' + self.bindir + '/createdir" ' + self.configdir + "/" + str(dev.id))

Posted on
Sat Sep 23, 2017 1:01 pm
Different Computers offline
User avatar
Posts: 1831
Joined: Jan 02, 2016
Location: East Coast

Re: Homebridge Buddy and IOS 11

I also turned off the iTunes integration and still get this after disabling then reenabling the plugin
Code: Select all
Started plugin "EPS - Homebridge Buddy 1.00"
   EPS - Homebridge Buddy Debug    Unable to find a local configuration for this Homebridge server
EPS - Homebridge Buddy Error    Unable to create Homebridge folder /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge/861406918
   


Is it odd that I have a folder with an entirely different long number in that /hb/homebridge folder?

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Who is online

Users browsing this forum: No registered users and 1 guest

cron