Door bell with pi camera and motion detection

Yeah, it would be nice to do everything from the doorbell itself, although currently through home assistant it is working well (still on my desk).

Ok got so many failed install attempts of different packages Im going to wipe and re-image the card and start-over.

so far Ive tried
opencv… fails during the build process
simplecv…Says it installs fine but try running a programme, no module found, run a shell I get a list of errors.
rekognise…also fails during the build process

Tried all this with and without firmware updates

None of them seem to want to install.
Im thinking it cant be the sofware , its got to be me or the pi.

Please post if you had similar problems.

So starting over

Ouch, sounds like a tedious time… I will look into the Google route

This might help you out?
https://www.packtpub.com/packt/offers/free-learning

1 Like

OK got all the code etc working nicely. Now I want to mount the pi on the door. My plan is to build/3D print a mount that will be supported by the door, something like the below. Anybody got the design for something like this that could hold the pi zero and camera in place?
This is how it goes together https://www.youtube.com/watch?v=PniWaZY1hYc

Rigged up my own, clearly going to need to change the lens on the front of the pi camera…
Luckily http://www.truetex.com/raspberrypi

2 Likes

Fantastic.
Love the prototype, sort of thing I would do.
Unfortunatley our door is all glass (no peep holes to work with)

But this has flared some inspiration.
I thought I could do something similar on the door frame, two holes to be drilled, one for the camera and one for the cables to the button.

Something to think about as I’m not sure if I want to make permanent alterations to the doorframe. though

Yes some people placing these cameras in unused key holes…
Well I think I broke my pi camera, so looking at alternatives. This one uses AV which I should be able to feed into the pi… Guide at https://www.modmypi.com/blog/how-to-add-an-rca-tv-connector-to-a-raspberry-pi-zero Anybody tried AV input to pi?

Im not sure if that will work as an input.
It is setup for composite tv isnt it?

https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=20159

This might help

Thanks, sounds like I would be opening another can of worms if I went down that route…
Plus I checked the diameter of my door hole and it is not wide enough ( 14 < 19 mm) for that camera.

I have another pi camera so I will try that next, with more care… I think it may be possible to mount the pi camera module in one of these, as the CCD is connected to the board via a SUNNY connector so could just get the SUNNY ribbon and feed it through the peep hole.

I ordered a lens and adapter for the pi camera, I think a follow up project might be a zoom lens controllable from HA…

1 Like

there is always the webcam root,
A friend (passed away now) done something similar with the innards of a webcam,
It is why Im trying to do what he accomplished but with my slant on it and a few updates

as a matter of interest what happened to your camera?
I thought i broke mine but I realised the cable slightly pulled out from the connector on the pi.

Not sure what happened to the camera, could also be a dodgy ribbon but will require more troubleshooting.

This is a really informative page http://www.truetex.com/raspberrypi

wow interesting, I might finally have a solution for my telescope (different project)

Telescope design is my job actually, on satellites, looking forward to applying that knowledge to my projects :slight_smile:

Lol , I might be tapping into your knowledge too if you dont mind.

I got my NOIR camera today , just tried it and wow what a difference.
I thought I would need some IR lights but blacked the room out. And this is what I got.

This is with the IR version

That the official NOIR camera? I bought one for another project that is unofficial and the IR LED’s get worryingly hot https://thepihut.com/products/5mp-night-vision-camera-for-raspberry-pi