maximkulkin / esp-homekit-demo

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

motion sensor #414

Open itsfelipeh opened 3 years ago

itsfelipeh commented 3 years ago

is there any code to set the sensitivity of the motion sensor? it is activated even with the leftover of the sun inside the room. 😅!

maccoylton commented 3 years ago

Which motion sensor are you using. The HC-SR501 has physical adjustments on the device and only provides an on/off signal to the ESP, so is not software configurable

itsfelipeh commented 3 years ago

Which motion sensor are you using. The HC-SR501 has physical adjustments on the device and only provides an on/off signal to the ESP, so is not software configurable

thank !

nikomaxi commented 3 years ago

Hey, which code are you using? I am still looking for a motion version.

Thanks

renandw commented 2 years ago

@nikomaxi

https://github.com/maximkulkin/esp-homekit-demo/blob/master/examples/occupancy/main.c

it should help