SamZorSec / Open-Home-Automation

Open Home Automation with Home Assistant, ESP8266/ESP32 and MQTT
MIT License
960 stars 197 forks source link

PIR sensor with battery power #24

Closed AssuredDust640 closed 6 years ago

AssuredDust640 commented 7 years ago

Love the PIR setup. I got mine up and running without a hitch in under 5 minutes. Thanks for the sketch (as well as all the others).

I'm trying to position this one in a place I cannot easily access mains power or the sensor itself for obvious reasons. Tried running it through a powerbank but only got 3 days before that went flat. It's in a high traffic area for my family's normal day to day movements.

Any suggestions on how to either reduce power consumption or extend battery life?

Conversely, is there a way HA could tell the sensor, through MQTT, when to be actively working or not?

Cheers, Jonathan

AssuredDust640 commented 7 years ago

Ok, I can see now that battery powered PIRs is not something that will work out. Better add the PIR to another sensor that is powered and adjust it's location to capture motion as desired.