Migrated system doesn't start HKSL

A plugin to integration Indigo devices into HomeKit (and Siri)
Martin Joseph
Posts: 42
Joined: Fri Nov 12, 2010 5:35 pm
Location: Seattle, WA
Contact:

Migrated system doesn't start HKSL

Post by Martin Joseph »

I moved a great working IndigoDomo install from an old MacPro to a M1 mini in hopes of power savings.

Everything looks good, but the HomeKit Siri Link plugin doesn't start.

Log shows:
Jul 5, 2026 at 9:59:05 AM
Reloading plugin "HomeKitLink Siri 0.8.05" using API v3.6
Starting plugin "HomeKitLink Siri 0.8.05" (pid 1411)
HomeKitLink Siri Requirements Processing requirements for plugin "HomeKitLink Siri 0.8.05"
HomeKitLink Siri Requirements Requirements previously processed, continuing startup
HomeKitLink Siri ✅ Found dependency success marker: 3.13-pip-install-log-success.txt
HomeKitLink Siri ✅ ✅ Confirmed Library Installs have been successfully Completed ✅ ✅
HomeKitLink Siri Error Error in plugin execution InitializeMain:

File "plugin.py", line 74, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HomeKitDevices.py", line 40, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/HomeKitLink-Siri.indigoPlugin/Contents/Server Plugin/HKutils.py", line 5, in <module>
type: dlopen(/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/ujson.cpython-313-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/ujson.cpython-313-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/ujson.cpython-313-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/ujson.cpython-313-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Stopping plugin "HomeKitLink Siri 0.8.05" (pid 1411)
Stopped plugin "HomeKitLink Siri 0.8.05"


Now that I am looking at these messages it looks like this is processor dependent?

Thanks for the amazing software, and hopefully this is a simple fix?
User avatar
GlennNZ
Posts: 1872
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Migrated system doesn't start HKSL

Post by GlennNZ »

Hi

Yes essentially a lot of libraries will need their packages folder (which is within the indgoplugin Bundle) updated for the new M1 Architecture.

Everything else says the same.
Don’t delete any devices etc! As all comes to live once you make this change.

Easiest way will be to reinstall the plugin - double click and reinstall - I believe that deletes the Packages folder and reinstalls the correct ones.

(Alternatively you can delete packages folder -
Only the one called ‘Packages’ - within the plugin bundle and restart the plugin - which will automatically reinstall. Arguably this is quicker if doing a lot of plugins, which you may need to)

Glenn
Martin Joseph
Posts: 42
Joined: Fri Nov 12, 2010 5:35 pm
Location: Seattle, WA
Contact:

Re: Migrated system doesn't start HKSL

Post by Martin Joseph »

Thanks so much for the speedy reply and support!

I did try reinstalling the plugin before I posted here. No Joy on that front.

After reading your reply I tried manually removing the "plugins" from /Library/Application Support/Perceptive Automation/Indigo 2025.2/ which didn't help.

Is that what you meant?

Is the ujson.cpython reference something is installed by the plugin or is that added by someone else (I assume it's not part of vanilla Sequoia?)

ALSO please do keep in mind the previous system that hosted Indigo was a Mac Pro from 2008 running Big Sur with the amazing OpenCore Legacy patcher. This could make my system an edge case of trouble? The new system is supported (for now) running sequoia.


Thanks again!
User avatar
GlennNZ
Posts: 1872
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: Migrated system doesn't start HKSL

Post by GlennNZ »

Yikes!

No - that is not what I meant! Removing the plugin folder is like removing the cars engine and wondering why it is not starting….

That would have done inrepairable harm - can you recover it from Bin or somewhere else????

Inside each .indgioplugin file which reside in Plugins. & Plugins (disabled) is a Packages folder. If you right click on the plugin file - the .indigoplugin file (in this case for HKLS) and show contents - you will see it there. It contains the Indigo installed libraries for the plugin. If you delete the contents of the Package folder and restart the plugin they will be res installed.

However - reinstalling the plugin will have the same impact. Did you double click the downloaded bundle - and say install anyway even though it is same version??

Glenn


Sent from my iPad using Tapatalk
ryanbuckner
Posts: 1409
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Migrated system doesn't start HKSL

Post by ryanbuckner »

try this

Code: Select all

/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -m pip uninstall ujson
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -m pip install --no-cache-dir --force-reinstall ujson
if that doesn't work try

Code: Select all

arch -arm64 /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -m pip install --no-cache-dir --force-reinstall ujson
Martin Joseph
Posts: 42
Joined: Fri Nov 12, 2010 5:35 pm
Location: Seattle, WA
Contact:

Re: Migrated system doesn't start HKSL

Post by Martin Joseph »

Your above posted code plus an uninstall and reinstall of Scipy and numpy made my plugin work.

Thanks again for your patience and help!

Just for the record, I totally am the type to remove the engine from a car, but I don't expect it to run at that point.

Thanks again!
Post Reply

Return to “HomeKitLink Siri”