Parront
Crossing the Road
Maybe you could use facial reconition for your "if door closed, but there's motion in the run, open it." If this face, then do not open.Thanks for the repo, I will post mine when I do this. I am building my first coop, and I have several big plans for it that will probably really only happen over a long time - going for a camera and coop door first. Anyway, here are some of my ideas I am just pasting from my reply on another post. Would love to see if anyone has any other interesting ideas to add. As for what I am using, a raspberry pi running mqtt to talk to my home assistant server, and this nice little piece of software (very configurable for lots of motion based automations) for the camera feed
My comments from this post:
Great to see this! I am a soon to be chicken owner, but long time hobbyist electronics tinkerer, so I was looking forward to building a smart coop. You have given me a leg up with the door solution (Although I am doing a ramp). I also plan on using a raspberry Pi to control it, but I am going to integrate it with my existing smart home system (I use Home Assistant). I have several other things I am thinking of adding, over time as I am able to build them. Here are some thoughts on each one, and yes, some are over ambitious, but I will start simple and then overengineer them when I have the time to play
- Coop Cam! Using a raspberry pi camera module to have a livestream! Also, potentially to see if eggs are out when getting up in the morning.
- Automatic door/ramp: I was considering having them be on schedule, and on demand (via the web interface for home assistant). For the automatic schedule open/close, I am thinking of adding a motion detector to see if any of them are locked out! Some logic like this: at 9pm, if no motion sensed in the run for the past few minutes, close door. Also, a trigger for "if door closed, but there's motion in the run, open it." another thing here is that I might not need a PIR sensor, I have used this software for DIY security camera before, and it senses motion via the stream itself.
- Water: Level sensor in the bucket to send a notification if low. Maybe also solenoid valve to refill if low, but that's really just overnegineering for the fun of it. I plan on collecting rainwater and I live in Louisiana, so unlikely to get empty anyway!
- Ventilation/Cooling: So a temperature sensor in the coop, and then use it to trigger some ventilation fans, maybe attached to the wall of the coop at its highest point, blowing hot air out of the coop. I am thinking of just recycling some PC cooling fans, although I feel like they will die with the humidity eventually. Maybe also turn on little water misters on the run? Seems like they might enjoy that in the heat.
- Heat: Same as above if cold, turn on relay switch for warming lamp if too cold. Although I don't think this will ever be an issue here in Louisiana