-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cannot pair with thermostat, ip_camera, light_sensor, or video_doorbell accessories #11
Comments
Looks like this behavior is also present with
|
So far I've found that the service is getting to the
immediately thereafter an unpairing request comes through, whereas a working pairing next queries characteristics |
Thanks a lot for testing & reporting! The unpairing request seems to be the the expected behaviour of an iOS controller getting an invalid accessories JSON, e.g. with required characteristics missing or forbidden characteristics included in an accessory. I will look into this. |
So this is a weird one. I discovered a bug causing zeroes as characteristic Currently, I'm generating the accessories, services and characteristics from the HomeKit Accessory Simulator from the Additional Tools for Xcode 10.1 Beta 3. I will publish the fix for the min_values as soon as the upcoming version of handlebars-rs it depends on is published and keep investigating the invalidity of the two accessories, but unfortunately I don't have much time for it at the moment. Thanks for your patience and feel free to contribute if you find out anything about this issue in the meantime. |
@ewilken Hey i was curious sine the above is over a year old, do you have video streams working yet? I see the use of |
In the example above, it at least looks like IID 12 should have a minimum value of 10.0 but has a value of 0.0 |
Perhaps we should compare values with the values that the simulator sets on a 'fresh' set up of these accessories and that the default values should mimic them to an extent that they seem to have some influence on the pairing process? |
Pairing fails whenever a thermostat accessory is added.
To reproduce:
attempt to pair with code
11122333
fails with message "Home couldn't connect to this accessory". No errors are logged via the service.changing the thermostat accessory to
Outlet
orValve
and pairing is successful.The text was updated successfully, but these errors were encountered: