Skip to content
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

Understand why we need to update the HomeKit characteristic in read #4

Open
loicmorvan opened this issue Jan 5, 2023 · 1 comment
Labels
enhancement New feature or request software An issue on the code part of the project.

Comments

@loicmorvan
Copy link
Owner

It seems we are forced to call hap_char_update_val in the read callback of the HomeKitAccessory, even if we update that characteristic in the SetTemperature method.
Try to understand why and if it is necessary or not.

@loicmorvan loicmorvan added enhancement New feature or request software An issue on the code part of the project. labels Jan 5, 2023
@loicmorvan
Copy link
Owner Author

I tried removing the hap_char_update_val but it seems that without an explicit update of the characteristic, nothing is send back to the reader. Weird...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software An issue on the code part of the project.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant