Skip to content

Keep HomeKit's error in refusals and suggest the helper's window - #323

Merged
mattt merged 1 commit into
mainfrom
mattt/home-refusal-message
Nov 4, 2026
Merged

mattt merged 1 commit into
mainfrom
mattt/home-refusal-message

Conversation

@mattt

@mattt mattt commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

https://entire.com/gh/mattt/-/trails/5/changes/iMCP/5

Home accessory reads, identification, and scene edits can fail with "Missing entitlement for API" (HMErrorDomain 80) or "Request not handled" (HMFErrorDomain 14), and the error doesn't say what might help (#317). In some tests, these refusals happened only while iMCP Helper was hidden or its window was minimized or closed, but later tests didn't reproduce them, so the cause isn't confirmed.

This PR keeps HomeKit's description, domain, and code in the error and adds a suggestion to show iMCP Helper's window and retry. It also logs the domain and code of each HomeKit error, without userInfo, which can name homes and accessories, and adds a note to the README.

Related to #317

HomeKit can refuse characteristic reads, accessory identification,
and scene action edits with HMErrorDomain 80 or HMFErrorDomain 14.
The error now keeps HomeKit's description, domain, and code,
and suggests showing iMCP Helper's window and retrying.
The helper logs only the domain and code of HomeKit errors,
because userInfo can name homes and accessories.
@mattt
mattt merged commit 929c8a2 into main Nov 4, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant