maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

How to add multiple buttons? #270

Closed toshibochan closed 4 years ago

toshibochan commented 4 years ago

How to add multiple buttons in the button example?

AchimPieters commented 4 years ago

@toshibochan Maybe this will help: https://github.com/maximkulkin/esp-button

toshibochan commented 4 years ago

@AchimPieters this example only have one button in one esp. I want multiple buttons in one esp.

AchimPieters commented 4 years ago

@toshibochan In this sample you can see how it's done: esp-homekit-demo/examples/sonoff_dual_blinds/main.c

toshibochan commented 4 years ago

Thanks @AchimPieters i will take look