Dependency on 7.0 folder after upgrade to 7.2?

Ramias
Posts: 272
Joined: Tue Nov 24, 2015 5:21 pm

Dependency on 7.0 folder after upgrade to 7.2?

Post by Ramias »

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.
Ramias
Posts: 272
Joined: Tue Nov 24, 2015 5:21 pm

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Ramias »

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
Londonmark
Posts: 573
Joined: Wed Feb 29, 2012 12:57 pm

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Londonmark »

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.
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Colorado4Wheeler »

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
Monstergerm
Posts: 302
Joined: Tue Sep 01, 2009 1:47 pm

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Monstergerm »

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?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by FlyingDiver »

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
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Colorado4Wheeler »

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
Londonmark
Posts: 573
Joined: Wed Feb 29, 2012 12:57 pm

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Londonmark »

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.
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Colorado4Wheeler »

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
Monstergerm
Posts: 302
Joined: Tue Sep 01, 2009 1:47 pm

Re: Dependency on 7.0 folder after upgrade to 7.2?

Post by Monstergerm »

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.
Post Reply

Return to “HomeKit Bridge”