Dependency on 7.0 folder after upgrade to 7.2?

Posted on
Tue Nov 20, 2018 2:29 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Dependency on 7.0 folder after upgrade to 7.2?

Indigo 7.2 installs into its own folder named 7.2 under "/Library/Application Support/Perceptive Automation" and the old Indigo 7 folder is left behind.

Removing the "Indigo 7" folder breaks Homekit Bridge plugin.

Gives this:
Code: Select all
   HomeKit Bridge Error            HomeKit server 'Basement HomeKit Bridge' could not be started, please check the service logs for more information,
now issuing a forced shutdown of the service to be safe.

If you continue to have problems starting this server use the Advanced Plugin Actions menu option to rebuild the Homebridge folder.
Instructions at https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder


Restoring the Indigo 7 folder resolves things.

Posted on
Tue Nov 20, 2018 9:39 pm
Ramias offline
Posts: 272
Joined: Nov 24, 2015

Re: Dependency on 7.0 folder after upgrade to 7.2?

Did a bit more digging on this. Looks like these HomeKit Bridge devices are all logging to the old (Indigo 7) Plugin directory. Also calling node files from there. Ii have more Homekit bridge devices; just showing two for an example.

See below:

lsof | grep "Perceptive Automation/Indigo 7/
Code: Select all
node      55014 ramias  cwd       DIR                1,4        448    7320595 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/834300442
node      55014 ramias  txt       REG                1,4   35436848 8593954849 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/bin/node
node      55014 ramias  txt       REG                1,4      24844 8593958678 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/curve25519-n2/build/Release/curve.node
node      55014 ramias  txt       REG                1,4     118252 8593959043 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/mdns/build/Release/dns_sd_bindings.node
node      55014 ramias  txt       REG                1,4     103108 8593958780 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/ed25519/build/Release/ed25519.node
node      55014 ramias    1w      REG                1,4      32844 8596302385 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/834300442/homebridge.log
node      55014 ramias    2w      REG                1,4      32844 8596302385 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/834300442/homebridge.log
node      55044 ramias  cwd       DIR                1,4        448    7320478 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/757619262
node      55044 ramias  txt       REG                1,4   35436848 8593954849 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/bin/node
node      55044 ramias  txt       REG                1,4      24844 8593958678 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/curve25519-n2/build/Release/curve.node
node      55044 ramias  txt       REG                1,4     118252 8593959043 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/mdns/build/Release/dns_sd_bindings.node
node      55044 ramias  txt       REG                1,4     103108 8593958780 /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/node-v8.11.1-darwin-x64/lib/node_modules/homebridge/node_modules/ed25519/build/Release/ed25519.node
node      55044 ramias    1w      REG                1,4      11445 8596302387 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/757619262/homebridge.log
node      55044 ramias    2w      REG                1,4      11445 8596302387 /Library/Application Support/Perceptive Automation/Indigo 7/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge/757619262/homebridge.log

Posted on
Wed Nov 21, 2018 6:00 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Dependency on 7.0 folder after upgrade to 7.2?

Yes. I spotted the same thing when making the mod that allows Siri to switch off devices that it already thinks are off. It only worked after I made the change in the Indigo 7 folder.

Posted on
Mon Nov 26, 2018 11:50 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Thank you for pointing this bug out, I'll address it in the next update! Would you mind opening a ticket on GitHub for this?

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 May 18, 2019 7:11 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: Dependency on 7.0 folder after upgrade to 7.2?

Is there an update to this? Now with Indigo 7.3 out, do we still need to keep the 7.0 folder around for HKB to work?

Posted on
Sat May 18, 2019 7:22 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Dependency on 7.0 folder after upgrade to 7.2?

Monstergerm wrote:
Is there an update to this? Now with Indigo 7.3 out, do we still need to keep the 7.0 folder around for HKB to work?


I didn't. Works fine.

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

Posted on
Sun May 19, 2019 6:39 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Works fine for me as well, there is no dependency on the 7.0 folder.

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
Sun May 19, 2019 7:02 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Dependency on 7.0 folder after upgrade to 7.2?

Does the latest version give the option to force devices to switch on/off regardless of state? I did the workaround previously which is where I discovered a dependency on 7.0 but wonder if I can update without needing to redo that fix.

Posted on
Sun May 19, 2019 7:13 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Londonmark wrote:
Does the latest version give the option to force devices to switch on/off regardless of state?

There isn't a newer version but I'm not sure what you mean by having an option to force off. I may try to do some coding on HKB next week while I'm out and about in my RV.

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
Sun May 19, 2019 12:44 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: Dependency on 7.0 folder after upgrade to 7.2?

Well in my case I noticed after upgrading to Indigo 7.2, that (just like Ramias pointed out) the HKB plugin still uses the old Indigo 7.0 folder. All log updates and the AccessoryInfoXXXXX.json are written to the old 7.0 folder, while other files like config.json are updated in the 7.2 folder.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests