How To Make A Raspberry Pi Zero WiFi Security Camera, Also Accessible Over The Internet

  Рет қаралды 286,999

Michael Klements

3 жыл бұрын

In this video, I'll show you step by step how to build your own WiFi security camera, which is accessible over your local network or over the internet, using a Raspberry Pi Zero W and the Pi Camera.
We'll be using the MotionEyeOS operating system on the Raspberry Pi, which is mobile and tablet friendly. You can also set up motion detection, which triggers email notifications or take still images and timelapse movies.
For the full step by step written guide with all of the links to the software and templates, visit the guide on my blog - www.the-diy-life.com/how-to-make-a-raspberry-pi-zero-wifi-security-camera/
Software Links:
MoitionEyeOS - github.com/ccrisan/motioneyeos
Balena Etcher - www.balena.io/etcher/
What You Need For This Project:
Raspberry Pi Zero W - amzn.to/3i95Lbx
Raspberry Pi Zero Case & Ribbon Cable - amzn.to/356ZcCK
Raspberry Pi Camera - amzn.to/3h11vJH
Micro SD Card (Min 8GB) - amzn.to/3h5VnQy
Power Supply - amzn.to/32jmu6u
Optional Alternative (You'll Still Need The Camera):
Pi Zero W Kit (Includes Pi Zero W, Case, SD Card, Power Supply & Camera Ribbon Cable) - amzn.to/2Zdh3Ep
If you've got any suggestions for Raspberry Pi, Arduino or Electronics projects or tutorials, let me know in the comments section.

Пікірлер: 338
@NetzKanal
@NetzKanal Жыл бұрын
I'm searching for something like that for a while now without success. And now I got this video suggested here. Perfect! Thank you 👍
@BrookZerihun
@BrookZerihun 3 жыл бұрын
Thank you, will have something to do with all the pi zeros on my desk, the kids will love it
@Dimtemp
@Dimtemp 3 жыл бұрын
Very nice explanation. Used it to hook up my RPi Zero W to a Synology running Surveillance station. Added it as User defined - Streaming HTTP and works perfectly!
@MichaelKlements
@MichaelKlements 3 жыл бұрын
That sounds awesome!
@aaronheise1995
@aaronheise1995 3 жыл бұрын
it looks like GLADOS :D
@user-rn6hz8pb9s
@user-rn6hz8pb9s 3 жыл бұрын
I was thinking the same thing, and I think it’s the coolest looking security camera ever
@MarcoShimomoto
@MarcoShimomoto 3 жыл бұрын
Best comment on all of youtube!
@timyg
@timyg 3 жыл бұрын
6:12 why am i getting glados vibes (portal 2)
@kinikinrd
@kinikinrd 3 жыл бұрын
if you are looking to a project to keep you busy for a while, this isn't it. First step is to download the "full step by step written guide". I used a new 0w, modified the .conf file to match my router and flashed it to the card. I then put the card in the 0w and turned on the power. It loaded and started the 0w and the picture appeared. No VLC, no NOOB. NICE!! Thank You Michael
@lionhuntingwolf3272
@lionhuntingwolf3272 3 жыл бұрын
Thank you this was very helpful for the project I am currently working on👍
@yourpalfranc
@yourpalfranc 2 жыл бұрын
This is a very nicely done tutorial, Michael!! I've been looking for cameras "that I can trust," and this looks like a very interesting project. I have all the parts on the way including a second camera with better resolution and night vision to tinker with. Thanks for your very good work!! ~Frank
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks Frank, enjoy the project!
@yourpalfranc
@yourpalfranc 2 жыл бұрын
@@MrBobWareham Agreed! I bought another 1080p Pi camera with IR but I haven't put it all together yet. The basic camera has been working well.
@randolfaquino9998
@randolfaquino9998 2 жыл бұрын
@@yourpalfrancis it a secure feed?
@ps6k4trk33
@ps6k4trk33 3 жыл бұрын
Thanks you for this good video, congrats
@jessed9299
@jessed9299 3 жыл бұрын
Great video!!
@monologiorobotach557
@monologiorobotach557 3 жыл бұрын
Thank you for the video. I plan to use it to watch my 3d prints from work.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You should have a look at setting up OctoPrint!
@Pocket2441
@Pocket2441 3 жыл бұрын
@@MichaelKlements what’s that
@SeanReitmeyer
@SeanReitmeyer 3 жыл бұрын
Would you be so kind as to provide a link to the go pro mount stl? Thanks
@j.n.8745
@j.n.8745 3 жыл бұрын
Very cool 👍🏻
@markgiles8527
@markgiles8527 2 жыл бұрын
Home security. Going to give this a try using a raspberry pi.
@randallcrisp3266
@randallcrisp3266 Жыл бұрын
Oom Mike, this is great thank you!
@michaeld4502
@michaeld4502 3 жыл бұрын
I liked this for being simple.... I want to install on back window of my trailer when towing and use to see cars behind when changing lanes..... Also backing up trailer.....
@MichaelKlements
@MichaelKlements 3 жыл бұрын
There is a bit of lag in the system, so it's probably not the best solution for something that requires a "live" feed.
@manohar3787
@manohar3787 8 ай бұрын
Am using this tutorial in 2023 and most of the steps are still relevant. Thanks for explaining clearly. Am using a USB camera and do you know how we can improve the video quality
@jonathangrandmont
@jonathangrandmont 10 ай бұрын
Hello ! Great tutorial, does it record the pictures on the SD card ? I'd like to use this setup offline and pickup the picture every weeks.
@jjones503
@jjones503 16 күн бұрын
For those who aren't able to do port forwarding, look into running a cloudflare tunnel on a Linux vm or local machine that opens the camera inside your network to a custom domain without fussing with your router.
@ste76539
@ste76539 3 жыл бұрын
If you'reusing Etcher to write the OS to your card, you don't need to unzip it, Etcher does this for you.
@tinawu1328
@tinawu1328 3 жыл бұрын
a
@ste76539
@ste76539 3 жыл бұрын
Totally not dodgy as f*#@...Anyone daft enough to fall for it, probably deserves scamming
@theclockworkcadaver7025
@theclockworkcadaver7025 3 жыл бұрын
@@ste76539 What were you replying to here?
@Didanihaaaa
@Didanihaaaa 3 жыл бұрын
what "and then put it into the 30MB settings partition which you’re able to write to on your SD card." means is? I just copy-paste into the sd card! i get this error: "tarting wpa_supplicant: failed (brcmfmac)" thanks for tutorial
@DigitalIP
@DigitalIP 3 жыл бұрын
If used outside, would it be a good idea to add a little dielectric grease to the ports to help protect from corrosion/moisture?
@arnabmondal9009
@arnabmondal9009 3 жыл бұрын
kzbin.info/www/bejne/nmnclKCopKuEidU
@DigitalIP
@DigitalIP 3 жыл бұрын
@@arnabmondal9009 Already seen it, but yes nail polish works well also, but grease isnt permanent or semi permanent and doesnt require a solvent if any repairs are needed.
@JamesAAshton
@JamesAAshton 3 жыл бұрын
Cutting off power can corrupt the SD card if you don't remotely login and properly shutdown the system first. Usually you should get away with it but try to avoid just pulling the plug and hope for not too many power outages.
@Tallermage
@Tallermage Жыл бұрын
@Solaire-Elec DIY sudo shutdown now
@Gerald-iz7mv
@Gerald-iz7mv Жыл бұрын
Hi nice video. Where to order the case? Is the case waterproof? Would like to connect a solar cell and a battery as well
@callumbrowne2081
@callumbrowne2081 3 жыл бұрын
hi. great explanation. which image should be for rasp pi zero? i can see for pi, 1, 2, 3, and 4, but not zero Edit: i missed it sorry
@JohnsCrafts
@JohnsCrafts 3 жыл бұрын
Hi i'd wanted to ask if we can add a microphone so we can hear too. Nice video keep going...
@wilyc0y0te
@wilyc0y0te 3 жыл бұрын
How many frames per second do you get with this on the best quality settings? I've tried using a PI with USB webcam in the past and the frame rate was very poor.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The MotionEyeOS software automatically limits the framerate to 5fps so that it doesn't overload your networks bandwidth and allows slower Pis (like the Zero and Zero W) time to process. I assume that you can change this if you want to, but I haven't really looked too much into it. For a general security camera, 5fps seems to be fine for me.
@SondelaConsulting
@SondelaConsulting 3 ай бұрын
This is a great video. I know its really old but still good. Do you have the file for 3d printing a Go Pro Mount? And what 3d printer do you use?
@kishorekumar-gy6rx
@kishorekumar-gy6rx Ай бұрын
Can we use for same project what ever available new pi board?
@kang.UjangBustomi_supporter
@kang.UjangBustomi_supporter 3 жыл бұрын
Will you made a smart glass using pi w? I love your explain in this video God bless
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I don't really have a place for one at the moment, but I'd like to try building one at some stage. Looks like an interesting project!
@TheDragorin
@TheDragorin 2 жыл бұрын
so now how to get it to use google voice to call your phone when it senses motion.
@db5145
@db5145 3 жыл бұрын
Any chance of making an internet booster to enhance reception in remote locations?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I'll have a look at this, thanks for the suggestion D B
@sachinfilinto
@sachinfilinto 3 жыл бұрын
Nice Project. Especially like the mount you 3d printed. some questions: 1. What are you using to keep the camera powered ? if batteries, what is the time you get of a single charge ? 2. have you explored any software which can do ONVIF ? (don't have budget for synology as one user has commented) 3. how are you protecting this from the elements ? (I guess the sun will eventually cause the camera to deteriorate in time)
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thank you. To answer your questions: 1) I run my cameras off a small USB power supply each, so they're always plugged in. 2) I'm not aware of any freeware or open-source software that can do ONVIF. That's not to say that there aren't any though, I've just never come across them. 3) This camera is under a large (1m) or so overhang, so it can't get wet and it's never in the sun. I'd suggest using a completely sealed box if you do put one outside. Something like a food storage container with a clear flat side for the camera would probably work well on a budget. You could also probably retrofit this into a GoPro housing or something similar as the Pi Zero and GoPro are both 65mm long.
@sachinfilinto
@sachinfilinto 3 жыл бұрын
@@MichaelKlements thanks
@DanielMartinez_DantonioMarte
@DanielMartinez_DantonioMarte 2 жыл бұрын
Hi, link of the stand please?
@somebody6590
@somebody6590 15 күн бұрын
Hi, great video! Very informative, I had to use jawsper's version of the motioneyeos image due to having a raspberry pi zero 2 w with a cam rev1.3 instead, but it works great. But the problem is I'm making a dashcam and cannot have a wifi connected to the pi, so is it possible to use motioneyeos offline? Or even making its own wifi acess point would do, in fact make it more convenient. Would be glad if you could help me out!
@RedGreen1
@RedGreen1 3 жыл бұрын
This has mad GLaDOS vibes from Portal.
@MRJEFRY-op7qg
@MRJEFRY-op7qg 3 жыл бұрын
How u connect internet can u show tutorial .means when i put it on wall i not have internet cable
@MichaelKlements
@MichaelKlements 3 жыл бұрын
It connects to the internet over WiFi, there’s more on setting this up in the written guide linked to in the video description
@ssphaneuf1986
@ssphaneuf1986 3 жыл бұрын
I have an odd question, is it possible to take apart a phone and use the camera from a disassembled samsung galaxy note 5? for example it's broken, but the camera module works fine. I know it's a higher pixel camera than most. just wondering if it would work
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I'm sure you could salvage the camera module from the phone, the issue you'd most likely have is in finding a driver circuit for it. These camera generally don't have much circuitry on the actual camera module and rely on the phone's motherboard to "process" the signal. You'd probably have more luck trying to salvage the camera from an old laptop, these typically use a 4 wire USB interface already.
@cjlowe1650
@cjlowe1650 3 жыл бұрын
can I attach a usb mic to record sound? and also send the video to another device suck as a network drive etc.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
MotionEyeOS unfortunately doesn't support sound recording at the moment, but there are options to save the video footage to a network drive or to cloud storage services like Google Drive.
@cjlowe1650
@cjlowe1650 2 жыл бұрын
@@MichaelKlements Thanks for the rely. Do you (anyone chime in also) know of any projects that can stream audio with video on the Pi? Seriously, for years it's been a no brainer with most cameras in Windows. Is this an issue with Linux based systems? I really love the Pi. There are tons of projects recording and streaming video on the Pi but I can't find any doing Video and Audio together!!!! Any help would be appreciated.
@CJfoks
@CJfoks 2 жыл бұрын
Can You hook up multiply USB cameras to single raspberry?
@danielhidefjall5060
@danielhidefjall5060 3 жыл бұрын
You have a nice house.
@miguelcastillo8441
@miguelcastillo8441 3 жыл бұрын
Thanks for the video. I am planning to mount it on the bow of a boat. Do you have any idea on how to make a waterproof case for the PiZero with an outgoing usb cable for power?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I'd try and find a suitable waterproof container and then adapt it to fit the Pi rather than trying to build a case for the Pi. Try finding a clear pelican case or food storage container with a nice flat side for the camera lens to peer through.
@CBWoodsman
@CBWoodsman 3 жыл бұрын
I've seen a dummy security camera used for this purpose. Just hollow it out and put in your pi cam.
@MossCoveredBonez
@MossCoveredBonez 3 ай бұрын
as long as there werent any editing tricks, then this was way more responsive than my store bought security cameras. Mine take so long to connect that someone could already be in my house before the feed conencts
@htiguy1
@htiguy1 3 жыл бұрын
Great project, is there a way to have multiple video feeds on a single web page, or does each camera need its own web page?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes you can do that too, you’ll just need a host Pi. So you set up another Pi Zero with MotionEyeOS as a host and it will receive the feeds from the other cameras, you then access this host to see a page with multiple feeds.
@coltin1965
@coltin1965 3 жыл бұрын
@@MichaelKlements I would use the pi 3 or 4 the host pi needs that cpu power
@potatogamer5559
@potatogamer5559 3 жыл бұрын
@@MichaelKlements could i make the multiple video feeds go to a Windows 10 PC?
@pranavtatavarti105
@pranavtatavarti105 3 жыл бұрын
@@potatogamer5559 Yeah you can use docker to run motion eye on the PC and then connect however many zero pis you want to that PC with cameras connected to the pis
@E_Proxy
@E_Proxy 3 жыл бұрын
I am sorry guys, not a great technician or programmer, I'd like to surveil my house since when I'm away it is empty. Chinese cams are shady with data traffic and I do not have an hardware firewall, therefore I've just realized I could do something DIY with a Pi or an Arduino. All the points you made in this comment (the comment per se) are very interesting to me but I really am not that familiar with this kind of tech. Is there a possibility for you to elaborate or do you have sources I could learn from? I'd like to have multiple pi for surveillance, an host to gather feed (can an host be a camera too?) and I did not fully get the win10 part but might be useful (maybe it is intended not to have to use a browser page?). Other questions I have are: is there a way to implement motion alert, feed recording (sorta like dash cams: keep the last 5-10 min or keep recording while a motion is detected)? Maybe I am asking too much but I really do not know the limit of this "toys". Final question: I know it is a raspberry video but would you prefer an Arduino over the Pis or Pis are fine? Thanks so much to any kind souls for an eventual reply
@venomxl1655
@venomxl1655 3 жыл бұрын
can we connect it to multiple networks so it auto switches between them when 1 is not available
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I haven't seen this functionality in any settings or in their documentation.
@shokdj1
@shokdj1 Жыл бұрын
I’ll be using this to watch my 3d printer
@MichaelKlements
@MichaelKlements Жыл бұрын
Try out Octprint for this
@iroesstrongarm
@iroesstrongarm 3 жыл бұрын
I recently set one of these up. Have you been able to get better than the 5fps feed for live video?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I haven't really looked into this in too much detail but from what I've read, the framerate is limited by the software to 5fps so that it doesn't overload your network's bandwidth and allows time for processing on the Pi. I assume that you'd be able to change this if you want to, although I'm not sure if this is simply a setting change or if it requires editing of the source code.
@CraigMullins1
@CraigMullins1 3 жыл бұрын
Can we do 4k yet with either the zero or the pi4? Can we do 30, 60, 120, 240 frames per second?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Not that I'm aware of. You might be able to get 4K 30fps out of a Pi 4 with the right supporting hardware.
@devangsahani2086
@devangsahani2086 3 жыл бұрын
Hi, BalenaEtcher seems to be giving me an error regarding it being a compressed image and that it could be corrupted. I did run it as a administrator after the problem occurred but it's doing the same thing. Please help asap, my sd card is showing no sign of storage
@devilsknight
@devilsknight 3 жыл бұрын
Just wondering if you unziped it first? Could be it
@arshafaq8377
@arshafaq8377 3 жыл бұрын
waow
@danielroy8232
@danielroy8232 3 жыл бұрын
how do you make it record?
@MrBross-ey8yp
@MrBross-ey8yp 3 жыл бұрын
Great video. I am wondering if you could plugin a small USB solar panel to a power bank which then plugs into the Raspberry Pi. How efficient do you think this would be? Also, does the video feed write over itself once it fills the SD card?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks! If you’ve got a nice sunny spot for a panel then you could definitely do that. The Pi Zero W only uses around 1W so you’d probably need a 5-10W panel to make up for the full day. You can get it up to fill the SD card or a network drive or even a Dropbox or Google Drive folder.
@Camiped040
@Camiped040 3 жыл бұрын
Awesome idea, In theory, you can use the high-quality camera as well, right? Do you know if MotionEye supports tilting of the camera If I were to add a servo motor? Thanks ina dvance
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes you can use any other camera which usually works with a Pi, even a USB one. I don’t think it does, but it is open source so you could try adding the functionality if you’re up for the challenge.
@Micksoffthings
@Micksoffthings 3 жыл бұрын
nice
@matthewwinter157
@matthewwinter157 2 жыл бұрын
Very goo job with the tutorial. I am having trouble (on Mac) with creating the wpa_supplicant.conf file. The file seems to always revert to .txt. Please let me know if you have any tips!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks Matthew. Make sure that your mac is set to show file extensions (if usually isn't by default). You can then change the .txt to .conf. If you do this without extensions visible then it just becomes a .conf.txt file which remains a .txt file.
@ToPProjectsCompilation
@ToPProjectsCompilation 3 жыл бұрын
Would you suggest a self-3d printed casing? And what is the total cost of the project? Btw thanks for the step by step instructions.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes definitely, there are loads of awesome Pi Zero cases on Thingyverse to 3D print. I got the Pi for $5 and the camera was around $10, the mount and power supply you can get from a dollar store, so probably around $20 per camera.
@ToPProjectsCompilation
@ToPProjectsCompilation 3 жыл бұрын
@@MichaelKlements thanks :)
@reyzix-jj5of
@reyzix-jj5of 3 жыл бұрын
@@MichaelKlements Where did you get a Pi Zero for 5 dollars :o
@jrseven2184
@jrseven2184 2 жыл бұрын
Does the reapberry pi "camera" need to be connected to some type of power sourc?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yes it needs to be powered, this can be from a wall plug, battery or power bank
@AnimatorElite
@AnimatorElite 3 жыл бұрын
under 10 mins, cool
@razzy1
@razzy1 3 жыл бұрын
Awesome video, 1 Question. Can you get it to save footage?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes, MoitionEyeOS can save footage to a local drive, network drive or cloud drive
@lowkeygaming4716
@lowkeygaming4716 3 жыл бұрын
Does the camera module has motion sensor and infrared for night mode?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The MotionEyeOS software has motion sensing. You could add a camera module with infrared, but the standard Pi camera doesn’t have this.
@matthieuvandenneucker
@matthieuvandenneucker 3 жыл бұрын
Would it be more useful to use the noIr cam or just the regular one?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
If you want the camera to work at night then the NoIR one would be a better choice
@idonthinkso807
@idonthinkso807 26 күн бұрын
that looks just like a glados!
@Urban_Geek
@Urban_Geek 2 жыл бұрын
thank you for your video great work Michael... Could this be used without internet as I would like to add this to my camper van project? but cant guarantee I have WIFI thanks again
@MichaelKlements
@MichaelKlements 2 жыл бұрын
It doesn't need WiFi, it just needs a network connection to be able to access the dashboard. So you can run a local WiFi network without any internet access for it.
@benjidaniel5595
@benjidaniel5595 3 жыл бұрын
OMG it’s like a mini GlaDOS!
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Now that you mention it 😂
@benjidaniel5595
@benjidaniel5595 3 жыл бұрын
@@MichaelKlements Haha make it happen!
@Gonzie6
@Gonzie6 3 жыл бұрын
Keep it away from the nerve gas!
@kierank01
@kierank01 3 жыл бұрын
How did you get the heatsink & camera module into the case? When I put the heatsink on, I couldn't close the cover, when I had the camera module in...I had to take out the heatsink
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Are you sure that you’re using the right size heatsink? And that the Pi is “clipped” into the bottom of the case. I didn’t have any issues with it, it fitted together quite easily.
@kierank01
@kierank01 3 жыл бұрын
@@MichaelKlements well, the heatsink came with the pi, so can only presume so...it is 6mm high :) The pi is clipped in, and all the connectors line up...same with the camera It's working ok-ish as a dashcam, the frame rate seems to lag once a second... haven't played with any settings (or overclocking) yet, so not sure if the heatsink would help
@marvinyo9813
@marvinyo9813 3 жыл бұрын
can you give me an example of what country code should look like in the code?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
In the first line of the supplicant.txt document (country=AU), AU is the country code I've used. For the USA it is US, for the United Kingdom it is GB etc.
@NarutoUzumaki83
@NarutoUzumaki83 2 жыл бұрын
Can the camera preview from a different network or must the phone be connected to the same network as the camera?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
You'll need to set up port forwarding if you'd like to connect from an outside network, but it is possible.
@kfire68
@kfire68 3 жыл бұрын
Great tutorial! My camera is not working however... Does anyone know how I can test the camera? I have a rpi4 I could use to test it.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Try plugging the camera into your Pi 4 and running the "raspistill -o cam.jpg" command to take a photo
@SidharthGat
@SidharthGat 2 жыл бұрын
Bro where you didn't mention power supply connection. Can you tell me entire circuit diagram to stream live video to my laptop, I'm trying to do object(fire) detection on on this, a small part of my project?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
The Pi Zero is powered through microUSB as usual. I'm not really sure what you mean by a circuit diagram, the camera is just plugged into the Pi's camera connector with the included ribbon cable.
@larrylarry1368
@larrylarry1368 3 жыл бұрын
Do you think it can withstand outdoor winter/summer temperature differences?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
It's definitely not designed to be an outdoor camera. The area this camera is in is under cover and quite well protected. Also, our outdoor temperatures typically stay in the 5°C to 35°C range throughout the year.
@lyndajones1133
@lyndajones1133 3 жыл бұрын
@@MichaelKlements where would you look to get info to make this setup but outside...i live in a sketchy neighborhood so dont want it getting mucked with . knockin on weed. i mean wood.
@marvinyo9813
@marvinyo9813 3 жыл бұрын
Do I code right into the template after I download it? In 4:00
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes, open the text file and edit the name and password, then copy it into the root directory and change the file type to .conf instead of .txt There is a written guide linked in the video description if you're still unsure.
@1234andrew1234
@1234andrew1234 3 жыл бұрын
Thanks for the video. I keep trying to flash the sd card but get an error saying the compressed image is corrupted :'(
@1234andrew1234
@1234andrew1234 3 жыл бұрын
Solved - Run as administrator if you are having this issue. Thanks again for the video!
@MichaelKlements
@MichaelKlements 3 жыл бұрын
That’s great!
@markward7088
@markward7088 Жыл бұрын
I'm interested in creating a microcontroller based color night vision WiFi security camera. My initial thought was to use a Sony IMX USB camera module, as it s transferrable to other devices with USB ports. I'm stuck on the best board to use. It appears a 32 bit board is preferable. Any suggestions?
@MichaelKlements
@MichaelKlements Жыл бұрын
Microcontrollers can usually only handle limited bandwidth from a camera module. If you want a high quality camera, you're better off using a Pi 4.
@markward7088
@markward7088 Жыл бұрын
Ok thanks
@jathomas9928
@jathomas9928 3 жыл бұрын
Any security issues in saving your wi-fi password in an unencrypted text file on the SD card?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I probably wouldn't be using one of these cameras in a situation where it's likely to be tampered with or needs to be "secure". This is more of a keep an eye on things while you're out type of camera, great for watching your pets while at work or when deliveries are made to your door etc.
@alan_lenarcoleptique
@alan_lenarcoleptique 2 жыл бұрын
Hello, when i boot my pi it does configuring wired network: no link and the pi reboots. Do you know where does this problem can come from ?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
It seems like it's not able to connect to your WiFi network, you've probably got an issue with the wpa supplicant file or the network details you've specified in it.
@glennog
@glennog 3 жыл бұрын
Nice video, although if you're using Etcher you don't need to unzip the image download
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Thanks for the tip!
@weahmanna660
@weahmanna660 3 жыл бұрын
I like this a lot. My plan is to use this as a base. End goal is to have it be able to turn on for motion and record to google drive and the sd card. Also send a text and/or email. I'd like it to also work off wifi and on a back up battery source as well in case wifi goes down and power goes out and this can be similar to a back up to my ring. Excited for this side project. For yours does it still record and function if it disconnects from the wifi? Still record to the SD card. Working through instructions and code now.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
This sounds like a good application for it. I don't have the camera actively recording, I just use it for remote monitoring. I'm not sure about writing to the SD card as SD cards typically have a limited number of write cycles, but you could probably write to an attached SSD.
@johnwittler7978
@johnwittler7978 3 жыл бұрын
@@MichaelKlements I was thinking an external drive would be better anyway and or google drive. I would only have mine activate when motion is sensed. What do you do to keep the device cool?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
If you've got sufficient space and the internet connection then google drive is probably the easiest option. I don't have any additional cooling on mine, just the small aluminium heat sink. Mine probably doesn't get that hot though because it's only really working when I have a browser open to access the video feed, which is for a minute or two at a time. If you're running it full time then you probably need to put a small fan onto it.
@tomhedge3797
@tomhedge3797 3 жыл бұрын
is there a way to take all the footage from the pi zero and save it to a local drive?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes MotionEyeOS has functionality for local and network drive backup.
@michaelcooper5490
@michaelcooper5490 2 жыл бұрын
Hello Michael very nice tutorial, Where did you get the pattern for the go mount? Thingiverse?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
It's just something I drew up in Tinkercad
@michaelcooper5490
@michaelcooper5490 2 жыл бұрын
@@MichaelKlements Oh okaycool beans Thanks.
@divinefactsbykumuddave
@divinefactsbykumuddave 2 жыл бұрын
Can we build this project with just simple USB connected camera not a raspberry pi camera??
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yes you can use a USB camera as well. With the Pi zero you'll just need to use the microUSB to USB adaptor to plug it in.
@k1ortia
@k1ortia 3 жыл бұрын
How can this be incorperated for a video feed used in an rc aircraft, maybe connected to some kind of 3g-4g dongle? and relay the feed to a monitor or smart phone. could this be done? cheers
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You could probably get a 3G dongle to work but they're generally quite big and heavy and there would be a significant delay in the feed. You'd be better off with a local WiFi camera or analogue video feed.
@k1ortia
@k1ortia 3 жыл бұрын
@@MichaelKlements To be honest, the weight of the dongle wouldn't really be an issue, as the plane flies perfectly around 1800-2kg. I'm aware there may be some Latency, but due to it being in a plane and not a racing quad where Latency needs to be at a minimum if none at all, i can get away with it.
@mado1567
@mado1567 3 жыл бұрын
is it possible to not overwrite current OS on raspberry? I am hosting some stuff on my raspberry pi
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You could probably install Docker and then install MotionEyeOS into a container.
@GeorgeBrotherston
@GeorgeBrotherston 3 жыл бұрын
I'm hoping to have multiple (up to 6) cameras connected to the internal network via WiFi to capture 60 minute sessions at 1920x1080 at 30 fps to a network computer that has SSD harddrive. I have Verizon FiOS Gigabit internet, which provided me a Verizon G3100 router. I'm hoping to record 1080p multi-cam home videos (each camera being utilized for a different camera angle), which I'll edit using Final Cut Pro X (Apple) video editing software. Will this support my desired video capture requirements? If so, what would be the recommended configuration (cached writes at x MB/GB or minutes)? Thank you!
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You could configure another Pi to be the camera hub and manage the video feeds from the cameras and the writing to an SSD. But yes, it all sounds possible. It would be quite bandwidth intensive if you’re planning on running it 24hrs or is the 60 minute session just an occasional one off? I’m not sure about the configuration, you’d have to do some experimentation and see what works best.
@GeorgeBrotherston
@GeorgeBrotherston 3 жыл бұрын
Michael Klements Thanks! They would be “one off” vids (whenever she is in the mood), I ordered a cam to test, if this works well I’ll keep adding cams! Your idea of a separate Pi to handle the management (hub, writes, etc) is a great idea!
@joshuabrown8768
@joshuabrown8768 3 жыл бұрын
Love the subtext...looking to do the same thing so please do update!
@richards7909
@richards7909 3 жыл бұрын
The Pi Zero W is quite limited in terms of CPU and RAM. MotionEyeOS while great suffers on this hardware once you start turning things on (such as motion detection or trying to view video). Also remember that while the camera itself may be able to do high res fast FPS video, the hardware itself has to be to deal with that end encode it as a stream in real time. I currently use v4l2rtspstreamer on a Pi Zero with the lite version of Raspberry PI OS which streams to a Synology Cam Surveillance app. It currently sends at 1080p at 15fps fairly well although if the CPU becomes busy, strange artefacts occur (because I guess it can’t encode quick enough). This may be solve-able by tweaking the encoding settings but I’ve not got round to this yet although setting to 720p could stop this too. :) My advice is if you do try it, be careful with the camera socket on the zero. It won’t take much punishment so perhaps keep it out of any case until you’re happy with your set up! Good luck :)
@WilliamVirkin
@WilliamVirkin 2 жыл бұрын
can create an array of cameras for differents positions of my house?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yes you can add multiple cameras to the system and assign one Raspberry Pi as the host to access them through.
@toufikjabrane9650
@toufikjabrane9650 3 жыл бұрын
can i use a USB camera, and save ideo in the SD card
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yes you can do both of those, although its not a good idea to continually save footage to an SD card as they aren't usually durable enough to handle a large number of write cycles.
@fishbeetle
@fishbeetle 3 жыл бұрын
Hi Michael, what's your experience with MotionEye? It doesn't seem to be under development any more, and I'm struggling with reliability on RPi3b+ whereby the video freezes up (whilst the web UI carries on as normal) and it requires a reboot to get it going again. This seems to happen whenever I leave a browser open on the video stream for any length of time. I also found the motion detection feature to be completely (and utterly) useless. Do you know of any other IP camera softwares for the RPi?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I’ve only used the basic features of MotionEye, I haven’t really put a lot of time into it. How are you cooling your Pi? I’ve heard reports from others that continuous streaming causes the Pi’s temperature to rise and if you don’t have adequate cooling then this might result in it freezing up when it starts throttling.
@fishbeetle
@fishbeetle 3 жыл бұрын
@@MichaelKlements Thanks for responding, my pi has a fan and it doesn't completely lock-up, the web server and SSH connections both continue to work fine, just that the video freezes. It seems to happen when I leave a browser connected and walk away, when I wake my pc back up a while later the video is frozen and refreshing the page has no effect. If I subsequently grab a still it's from the point when the video stalled.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
And that doesn't happen if you leave it running without the browser open and just open up browser windows when you want to check on it? It might be worth asking the question on Reddit, perhaps someone else has encountered this before.
@fishbeetle
@fishbeetle 3 жыл бұрын
@@MichaelKlements Yes indeed: if you don't watch the video it doesn't die! Just wondering if you or any of your subscribers had seen this behavior too?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Yeah that's strange. I haven't seen this issue come up here or on my blog before. The only freezing issue I'm aware of is one which is caused by the Pi overheating in the plastic case with no fan.
@hamsterwolf
@hamsterwolf 3 жыл бұрын
cool project but on concern wouldn't it be possible for someone to steal your camera and read the login credentials for your network from the memory card?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
I haven’t checked that MotionEyeOS does the same, but Raspberry Pi OS deletes the supplicant.conf and ssh file after the first boot. So you can’t access this file once the Pi has been run.
@vlenddd
@vlenddd 3 ай бұрын
heatsink link?
@demetriuscurry2697
@demetriuscurry2697 Жыл бұрын
how do you " put it into the 30MB settings partition" ?
@MichaelKlements
@MichaelKlements Жыл бұрын
When you plug the SD card into your computer, it's the boot folder that comes up as a mounted drive
@tashigo3220
@tashigo3220 3 жыл бұрын
Hey, would it be possible to access the camera without internet? I am working on a dashcam and want to be able to see live feed without internet.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
No you won't be able to do this without a network of some sort
@tashigo3220
@tashigo3220 3 жыл бұрын
@@MichaelKlements I want to connect it via wifi.
@MaltheHave
@MaltheHave 3 жыл бұрын
My raspberry pi 3 model b, is giving me a weird error when connecting to wifi. I tried to follow some guides on a github issue, but didn't seem to help at first glance. Do you happen to know what's wrong? Thanks! The errors are: starting wpa_supplicant: failed configuring wireless network: no link
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Hi Malthe, I've heard of the issue, but I've never experienced it myself and I'm not really sure what the cause is. Have you tried the suggestions in this thread - github.com/ccrisan/motioneyeos/issues/186
@MaltheHave
@MaltheHave 3 жыл бұрын
​@@MichaelKlements Thanks for your reply Michael! What ended up working for me was downgrading to the 20200203 release. Perhaps it has something to with the fact that my SSID has special characters in it? I don't know. At least it works on the prerelease version now
@manuelraposo9270
@manuelraposo9270 2 жыл бұрын
not working im getting a still image with a camera symbol crossed out
@JimPIckins
@JimPIckins 3 жыл бұрын
How long will a USB power supply power it for?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
What type of USB power supply? It depends on the battery capacity it’s got
@Dragon54official
@Dragon54official 3 жыл бұрын
I can't set a static ip, can you tell me how to do that?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
This is easiest to set up on your router and is different for all manufacturers. Do a search for your router's model and "static IP"
@tatertots78
@tatertots78 Жыл бұрын
could we use a webcam instead of the camera module?
@mertem35
@mertem35 Жыл бұрын
yes
@SondelaConsulting
@SondelaConsulting 3 ай бұрын
Also do you have a bootable image. I have tried to download the image several times from the site and it just does not boot no matter what. The light does not light up on the Pi Zero . The image i have is motioneyeos-raspberrypi-20200606 Yours seeemed to boot
@MichaelKlements
@MichaelKlements 3 ай бұрын
This was a few years back, so unfortunately I don't have the boot image anymore. Which Pi Zero are you using for the project? Do you have another Pi that you could try and see if it boots up?
@overstreetjailen
@overstreetjailen Жыл бұрын
Can this be done with the Pico w?
@MichaelKlements
@MichaelKlements Жыл бұрын
No, the Pico can't run MotionEyeOS
@Dragon54official
@Dragon54official 3 жыл бұрын
4:18 just a question: how to transform a txt file in a conf file?
@MichaelKlements
@MichaelKlements 3 жыл бұрын
Just remove the .txt extension and replace it with .conf
@Dragon54official
@Dragon54official 3 жыл бұрын
@@MichaelKlements ok thank you
@kaizoku004
@kaizoku004 Жыл бұрын
Hi there Ive followed step by step the tutorial, but when I turn on the Pi 2W, i get the 4 coloured rainbow screen. Any ideas as to what I'm doing wrong?
@MichaelKlements
@MichaelKlements Жыл бұрын
There might be an issue with the microSD card that you're using.
@kaizoku004
@kaizoku004 Жыл бұрын
@@MichaelKlements Thanks for the reply. Actually I tried it on a Pi 4 and all worked well. Same steps, same card.
@IbarhimGaMer888
@IbarhimGaMer888 Ай бұрын
I'm having the exact problem on the Pi zero as well... tried multiple SD Cards but to no avail.
@chlupatazarovka8201
@chlupatazarovka8201 3 жыл бұрын
Nice, but what about system updates and Security settings? How do you deal with it? Zero without sd card and boot from usb should be solution.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
You can configure the security settings and run updates over your network from your computer or mobile device.
@chlupatazarovka8201
@chlupatazarovka8201 3 жыл бұрын
​@@MichaelKlements Yes, but i mean, it is annoying and WiFi is so vulnerable. Connection over LAN with PoE would be ideal, but in this case it is not posible.
@MichaelKlements
@MichaelKlements 3 жыл бұрын
The case has access to the ports on the Pi, you just need to plug in a micro-USB adapter and an Ethernet adapter. The Pi Zero doesn’t have an onboard Ethernet port.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
REAL OR FAKE?
0:10
dednahype
Рет қаралды 12 МЛН
Сделала Сюрприз Брату После 3 лет Разлуки ❤️
0:26
Глеб Рандалайнен
Рет қаралды 1,7 МЛН
РЫБАЛКА ДОМА
0:17
KINO KAIF
Рет қаралды 16 МЛН
Nika loves to eat chicken #cat #cats
0:17
Princess Nika cat
Рет қаралды 70 МЛН
Байкеры помогли доехать маме и сыну 😯
0:20
Фильмы I Сериалы
Рет қаралды 2,6 МЛН
WOW! SMART idea and very USEFUL 👓 👁 p5 #camping #survival #bushcraft #outdoors
0:17
Ăn Vặt Tuổi Thơ 2024
Рет қаралды 84 МЛН
Forming of goal foam || A2Z SKLLS
1:00
A2Z SKILLS
Рет қаралды 17 МЛН