maximkulkin / esp-homekit-demo

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

Multiple occupancy sensors #338

Closed vsaintloup closed 4 years ago

vsaintloup commented 4 years ago

Hello, I am quite new to this thank you all for your amazing contributions!

I bought multiple esp8266 and motion sensors. I successfully paired them in HomeKit. Although, as soon as I have more than 1 occupancy sensor on my network, HomeKit cannot update the other one.

Do I have to change something in the «main.c» file for all subsequent occupancy sensors in order to give each one a sort of unique ID ?

Thanks so much!

[SOLVED] By changing the «Occupancy Sensor» name everywhere so each one has a different name in HOMEKIT_CHARACTERISTIC(NAME, "Occupancy Sensor")