HomeKitADK
HomeKitADK copied to clipboard
Change state by anther method won't callback to the home app
I managed to control led on an esp32 board. With calling handlewrite by a GPIO button. But it's seems like this kind of call have some trouble to raiseevent of notify home app.
When changing accessory state (like lightbulb.on) need to raise the hap event for service/characteristic changed as it described in example. This will perform onRead handler and report to controller