What i want to document here (if anyone maybe needs it):
Im bored of closing the door of our chickenhouse every day after sunset, so i thought about a way to close it automatic. first i wanted to have an out of the box solution - but after a few research and after i started using OH i decided to build an automated lid.
the trigger will be a light sensor which i will check with an OH-rule, this rule will then control a wemo plug or something (tips welcome)
I think you don’t need a light sensor, cause OH has a really nice Astro Binding for Sunset and Sunrise.
Also you should check if the door is not blocked by a chicken.
Can you be 100% sure that all chickens are inside when you want to close the door?
I found something similar on Kickstarter some days ago
Maybe it will help you with your project.
I can imagine each chicken with a small back pack and GPS tracker!!!
Joke apart, this is an interesting question. A stray chicken will be stuck outside for the night and the fox might get it.
Depending on how much hardware you are fitting inside this chicken coop, how are you going to count your chickens?
Since we are brain storming, an IR RaspiCam and some relatively simple OpenCV code should do it. Of course with the camera you can just check the feed manually.
Isn’t it fun how a simple DIY automation project explodes into a big complex job.
haha guys, like your thoughts - thanks for the ideas
the kickstarter project is quite similar - but only available in north america.
basically i only thougt about entry at the moment, but when we are at it,… a friend of mine has a company that does NFC entry systems, i could ask him to produce me kind of “nfc beacon” for the chickoes.
then i would only need 1) the hardware reader that checks the entry, 2) a simple db or flatfile that holds the id´s of the chicks (00: chickoletta, 01: brownie …)
question is: how near (or far) can the chicks pass the NFC receiver.
ad camera - i have an old raspi 1, anyone an idea how to best make a OH capable webcam out of it? old webcam over usb? a camera module?
other ideas atm: heatable water-desposer, small IR or other heating system, automated over a senser to OH…
I’d do one of the Infrared RaspiCams. They are inexpensive and can see in the dark using an IR LED to illuminate the space. So you can see in the coop without turning on a light and disturbing the girls. I think one can convert a USB camera to an IR camera if you take it apart and physically remove the IR filter. But where it is and what it looks like will depend on the make and model of the camera.
For software I think MotionEye is the most popular software to use to stream and record.