foogywoo Posted April 26, 2019 Posted April 26, 2019 (edited) A workflow to trigger Homekit scenes and accessories. https://twitter.com/foogywoo/status/1121606023679229953/photo/1 Download: https://github.com/foogywoo/HKAlfred/raw/master/distribution/HomeKit.alfredworkflow Github: https://github.com/foogywoo/HKAlfred Downside: Homekit still being a private framework on macos SIP needs to be disabled for it to work. Edited May 8, 2019 by foogywoo brunoc and DJay 2
bivalvegruff Posted April 27, 2019 Posted April 27, 2019 Cool! SIP needing to be disabled is a shame though. 😔
foogywoo Posted August 5, 2020 Author Posted August 5, 2020 With Big Sur it's now officially possible to create a macos HomeKit application. Which means SIP doesn't need to be disabled. Still, I think Alfred would actually need to add an option to request user permission for HomeKit access. I'm getting the following error when trying to run my little HomeKit helper tool through a script filter node. Refusing authorization request for service kTCCServiceWillow and subject Sub:{com.runningwithcrayons.Alfred}Resp:{{ID: com.runningwithcrayons.Alfred, PID[19281], auid: 501, euid: 501, responsible path: '/Applications/Alfred 4.app/Contents/MacOS/Alfred', binary path: '/Applications/Alfred 4.app/Contents/MacOS/Alfred'}} without NSHomeKitUsageDescription key Shark.Formax and Eran 2
Gustavo Posted December 20, 2020 Posted December 20, 2020 hi, foogywoo, Can you help me and tell me what this message means ? [21:26:13.797] Logging Started... [21:26:15.569] HomeKit[Script Filter] Queuing argument '(null)' [21:26:15.654] HomeKit[Script Filter] Script with argv '(null)' finished [21:26:15.656] ERROR: HomeKit[Script Filter] Code 137: /Users/gustavopereiranunes/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/76E951A7-F304-49E2-A9F0-C9CD21C3B345: line 1: 723 Killed: 9 ./HKAlfredHelper list
dialing_wand Posted October 11, 2022 Posted October 11, 2022 For those who don't want to disable SIP, and are ok with a little extra work, I'm using the Shortcuts workflow (https://www.alfredapp.com/blog/guides-and-tutorials/macos-shortcuts-with-alfred-workflow/) with a few Shortcuts containing the scenes I most often want when I'm using a workstation or laptop with Alfred. I'd love to see the Alfred team follow on with @foogywoo's note and get homekit access in the app itself so we can have full access via this Homekit workflow. Until then, I'm happy there are workarounds.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now