petslane / esp-now-gateway

2 stars 0 forks source link

[FR] Share code on getting Coolcam / Neo PIR / Door sensors working #23

Open wills106 opened 3 years ago

wills106 commented 3 years ago

I was just wondering if you could share the ESP-NOW Code used in getting the Coolcam PIR Sensors working through ESP-NOW and and your ESP-NOW Gateway.

How have you found the battery life to be using ESP-NOW?

Thanks

petslane commented 3 years ago

Here is example code - https://github.com/petslane/neo-coolcam-pir-esp-now

Checked it, wasn't that bad of the code as I remembered it to be, so basically with some little cleanup (probably syslog thing can be removed) and adding some web interface for setting up gateway mac address and maybe wifi credentials, then this code could be usable for public.

Link to HomeAssitant forum where this request started - https://community.home-assistant.io/t/coolcam-wifi-motion-sensor-pir/54783/45