RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.66k stars 353 forks source link

Support request: Nodemcu + HC-SR501 PIR sensor #1210

Closed csupi003 closed 3 years ago

csupi003 commented 3 years ago

Hi,

Is there anyone who had success with HC-SR501 sensor?

I tried a few options but it doesn't work.

Thanks in advance,

vsidlu commented 3 years ago

Hi!

json - {"c":{"o":1,"l":2,"i":1,"n":"table-motion","b":[{"g":0,"t":1}]},"a":[{"t":12,"i":10,"f1":[{"g":13,"p":0,"i":1,"t":0}]}]}

See PIR VCC connection in picture.

IMG_5035

IMG_5036

csupi003 commented 3 years ago

@vsidlu Thanks a lot, works perfectly.