Repository navigation
Keep HomeKit's error in refusals and suggest the helper's window - #323
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://entire.com/gh/mattt/-/trails/5/changes/iMCP/5
Home accessory reads, identification, and scene edits can fail with "Missing entitlement for API" (
HMErrorDomain80) or "Request not handled" (HMFErrorDomain14), 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