ESP32-homekit-sdk: how send the led status to the iPhone?

leotordo
Posts: 10
Joined: Thu Feb 02, 2023 1:31 pm

ESP32-homekit-sdk: how send the led status to the iPhone?

Postby leotordo » Thu Sep 28, 2023 12:24 pm

Hello everybody.
I've got esp-homekit-sdk from Espressif and I built the example "lightbulb".
It works fine. I can change led status from may Home App.

Now, I want to switch on/off the led also by a mechanical switch.
I modified the code for reading a GPIO input connected to this switch.
I works, but the iPhone doesn't sense the status changed

How to send the changed status notification to the main task?

Thanks

Who is online

Users browsing this forum: Baidu [Spider] and 255 guests