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.73k stars 360 forks source link

RCWL-0516 Motion Sensor - Sonoff Mini #1101

Closed Murdrock closed 4 years ago

Murdrock commented 4 years ago

Has anyone tried RCWL-0516 with sonoff mini; Any Template to share?

Murdrock commented 4 years ago

Got it working.

This is the JSON

{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":16,"t":1},{"g":16,"t":0}],"s":0},{"1":{"s":[{"a":1}]},"b":[],"s":0},{"1":{"s":[{"a":2}]},"b":[],"s":0},{"t":12,"s":0,"f1":[{"g":4,"t":0,"i":1}],"i":5}]}

Plus two dummy switches for setup and OTA. JUMPER pins for manual switch.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.