-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessory is out of compliance #3
Comments
I haven't run this in a while - very possible Apple made an update in recent versions of HomeKit that broke something in the sketch. I'll revisit and see what I can find. |
Thanks so much! While I have your attention, I'm still trying to wrap my head around the underlying HomeKit architecture works. I was looking here, and it kind of looks like that's all you can do: https://developer.apple.com/documentation/homekit/hmcharacteristic/characteristic_types#3080266 |
I just tried the code, compiled with 1.7.1, and it pairs and works fine - did not get any errors about the device being out of compliance. Are you running a beta version of iOS, or just production? Do you get the same error if you run one of the Tutorial Example sketches? |
Regarding your question about surfacing an additional tile to control animations, unfortunately Apple does not have anything like that for the Lightbulb Service. However, others have created some clever combinations of other tiles: instead of using the Lightbulb Service, they model the light as a Television Service and use the Input Source Service as a way of selecting different effects (instead of different TV Inputs). It's a little clunky but seems to work. |
I’m just running the latest production release of iOS 16.3.1. Nothing special. I can run other HomeSpan sketches without a problem. When I comment out all of the animation related code it pairs without issue. It’s not a huge deal, so don’t waste your time on it. I just thought it might be some upgrade related thing that might be obvious to you. I’ve moved along with my project for the time being, and the example was helpful all the same :) Thanks a bunch for the support!Sent from my iPhoneOn Mar 24, 2023, at 8:04 PM, HomeSpan ***@***.***> wrote:
I just tried the code, compiled with 1.7.1, and it pairs and works fine - did not get any errors about the device being out of compliance. Are you running a beta version of iOS, or just production? Do you get the same error if you run one of the Tutorial Example sketches?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@HomeSpan I am also having the compliance error when compiling and adding with 1.8. Other sketches and tutorials have worked and paired just fine. Perhaps it's related to the Custom Characteristic. I might try with the TV selector, but would love to set the color as well as pick an effect. |
Which sketch is causing the compliance error? |
@HomeSpan It looks like the issue was with a code formatter that was adding spaces into the UUID. Once I turned that off I was able to add the accessory! |
Hey there! Thanks for the example code. I was trying to get this exact code running.
It builds, and uploads to the board just fine. I configure wifi, and a pairing code. The iPhone thinks for a moment, and then this error appears:
Given you've run this code yourself just fine, I'm wondering if Apple made some kind of update that breaks the code? Also worth noting I'm running the current latest HomeSpan (1.7.1 as of writing this).
Thanks for the great library!
The text was updated successfully, but these errors were encountered: