Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

Multiple motion sensors on one 8266

Open micahvdm opened this issue 2 years ago • 4 comments

Is it possible to have multiple motion sensors on one device and assign then to different rooms? I have looked at the multi accessory example, but I'm not sure how I would go about having a few (say 5 sensors) on the same device.

Any help would be greatly appreciated!

micahvdm avatar Mar 18 '22 13:03 micahvdm

Yes, I think it can be achieved. As you can see in the multi accessory example we can define some sensor accessories and export them via a bridge accessory. That is what this library done. On the other side, Apple Home app add the bridge accessory then bring in the sensor accessories and then we can assign them to different rooms.

In a nutshell, assign accessories to different rooms is the ability of Apple Home app.

ruleechen avatar Mar 21 '22 10:03 ruleechen

Hi, I have cracked that one of multiple accessories. I can post an example. It is not that hard once you understand the indexing.

PimV5755 avatar Apr 26 '22 18:04 PimV5755

Hello Would you add your code (to the repository thanks to a pull request) ? to increase the number of examples.

AugustinMauroy avatar Jul 26 '22 21:07 AugustinMauroy

Sure. I have many more. I’ll group them in a batch.

Op di 26 jul. 2022 om 23:04 schreef Augustin Mauroy < @.***>

Hello Would you add your code (to the repository thanks to a pull request) ? to increase the number of examples.

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/167#issuecomment-1195979812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKZ5LUTUJAVWH2DCKUBEBLVWBHGNANCNFSM5RB2WHVA . You are receiving this because you commented.Message ID: @.***>

PimV5755 avatar Jul 27 '22 07:07 PimV5755