Raspberry Pi Remote Camera with motionEyeOS - Build a Surveillance System

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today in the workshop we'll be building a surveillance system using a Raspberry Pi and a product called motion iOS we'll take a look at a number of Raspberry Pi cameras and then we'll see how motion iOS works and how to configure it with both a Raspberry Pi 3 and a Raspberry Pi 0 w we're under surveillance today so welcome to the workshop [Music] hello and welcome to the workshop today I've got a Raspberry Pi project for you we're going to take a Raspberry Pi plus a Raspberry Pi camera and build a surveillance system now our surveillance system is going to have some sophisticated features it's going to have motion activation it'll be able to record both video still pictures time-lapse pictures it will be able to do things like send you an email alert when it detects motion and you'll be able to use one or several of these in your home and monitor them all from the same web-based interface and that web-based interface will look just as nice on your desktop as it does on your tablet or your phone now this may sound with a very sophisticated and complicated project but actually it is not thanks to a product called motion iOS motion iOS is an image that you can get for the Raspberry Pi as well as a number of other single board computers and using motion iOS you can build a very sophisticated surveillance system now today what I'm going to do is I'm going to show you how motion iOS works and I'm going to set it up on both the Raspberry Pi 3 B+ and her Raspberry Pi 0 W and those as of this recording time are kind of the opposite ends of the Raspberry Pi spectrum from the most powerful Raspberry Pi to the least powerful one before I do that however I wanted to start discussing Raspberry Pi cameras so let's go and do that right now so let's take a look at the Raspberry Pi camera the Raspberry Pi camera can be used for still pictures and for video the camera connects to the Raspberry Pi using a CSI connector the camera is capable of 1080p video at 30 frames per second it's available in visible and infrared light versions there are two official models of the camera plus several clones Virgen one of the camera was released in 2013 this version uses the Omni vision avi five six four seven sensor it has a five megapixel still resolution the pixel sensor resolution is 2560 2 by 1944 version two of the camera was released in 2016 version two uses a Sony IMX to 1-9 sensor it has an 8 megapixel still resolution it has a 30 to 80 by 24 64 pixel sensor resolution the Raspberry Pi boards have a camera serial interface type 2 or CSI 2 connector they use a 15 pin 0 insert asian force connector for the camera the camera is connected to the PI's using a ribbon cable the Raspberry Pi 0 and 0 W use a smaller connector for the camera here's the location of the camera CSI connector on the Raspberry Pi 3 and the Raspberry Pi 2 boards and here is the connection of the CSI connector on the Raspberry Pi zero boys now let's take a look at some Raspberry Pi cameras now here are a couple of different Raspberry Pi cameras I wanted to show you along with a couple of cables to connect them to the Raspberry Pi CSI connector now the first camera I have here was the original model the model 1 and as you can see when the camera comes in the factory it's got a little sticker over the lens so you'll need to of course peel that off before you use it essentially it consists of a camera module on one side and some supporting electronics on the other side as well as a connector for the 0 insert a ssin force or Zi f4 ZIF if you prefer socket and that's where you take this ribbon cable to connect to the camera serial interface the CSI connector on the Raspberry Pi now you can get ribbon cables in different sizes I've got one over here to show you this is quite a very long one so if you need to locate the camera a fair distance from the PI you can do that now the next camera I want to show you over here is this one over here this is the Raspberry Pi n o IR camera which means no infrared but I also love the name because I can't help but notice that noi are also spells in the water which of course is the French word for black and again it looks very similar to the other camera now I've got this one mounted on a little holder it wasn't included with the camera but you can pick these up near a good way to mount your Raspberry Pi cameras now this camera came with a really neat accessory this little disc and what the disc is for is you place it on front of the camera here and you rotate it and what you can do is you can use this to actually focus the camera lens the lens can be rotated and you can adjust the focus if you don't have a disc like this you can probably do the same job if you're very careful using some needle nose pliers now when you're using the Raspberry Pi 0 there's one dish concern the pie zero has a CSI connector which is a lot smaller than the one on the other raspberry PI's the CSI connector is a small one like this so you can use an adapter cable like this to convert a camera like this one for use with the Raspberry Pi zero here's a PI zero camera this one has already been configured with an adapter cable so it came from the factory like that and it's ready to plug into a PI zero and finally I wanted to show you this little camera this is not one of the official Raspberry Pi cameras but I absolutely love this this is for the PI zero again and as you can see it's extraordinarily tiny what they have done is they taken the camera module and they have it separated and they use a piece of flexible printed circuit board and they put the supporting electronics right on the board and then it has the connector that plugs into the PI zero CSI connector and so if you're trying to make a very very tiny Raspberry Pi camera that is self-contained using a PI zero and one of these cameras would be absolutely awesome for that so there you go a few cameras you can use with the motion iOS project so now that we've looked at a number of Raspberry Pi cameras it's time to focus our attention on motion iOS so let's learn what motion iOS is and then I'll show you how you can get a copy of the image load onto your Raspberry Pi so what exactly is motion iOS motion iOS is a product that turns a Linux single board computer into a video surveillance system it uses two open-source products the motion back end and the motion I front end motion iOS itself is an open-source product whose code is available on github there are builds available for several single board computers here are some of the single board computers supported by motion iOS motion iOS is available as an image file the product is plug-and-play when you use a wired Ethernet single board computer you can also configure it for Wi-Fi access a single board computer running motion iOS can run unattended mou-chan iOS provides a web-based interface which is both mobile and tablet friendly both the raspberry pi and USB type cameras are supported it's capable of motion detection along with email notifications motion iOS can do time-lapse movies video and images can be stored on the SD card on your land or by using cloud storage so let's start working with motion iOS now in order to use motion iOS with your Raspberry Pi or any single board computer you're going to need to get an image file and burn it on to a micro SD card so your first step is to go and visit the motion iOS wiki on github and I'll have a link to that in the article accompanying this video when you're on the home page of the wiki scroll down and go to where it says check out the list of supported devices now I've got this open another tab over here now this lists all the supported devices that motion iOS is currently capable of running on and if we scroll down the list we'll see a number of Raspberry Pi images now you need to grab the correct image for the model of Pi that you're using so pay attention to what these images are for for example if you have a 0 or 0 W you will want to grab this particular image if you have a 2 you're going to grab this one and for our asbury pi 3 you will be grabbing this image so click on the image or images that you wish to download and download them to your local computer once you've done that you're going to need to burn these images on to a micro SD card and I use an application called echar for that now those of you who've seen my previous Raspberry Pi videos have probably seen me use that term before if not this is free software that you can get it at your dot I oh and it's available for Linux which I'm running it on right now it's also available for Windows and for the Mac so it's a great application the beauty of Ector is that it is a very intelligent program and it won't let you do something like accidentally burn that image onto an external hard drive or something which would really ruin your day so that's one of the things I like about X here it's also very simple to use you basically select the image you want to get so let's select this particular image here the Raspberry Pi 3 as you notice I've downloaded the number of them and then it prompts you for the storage device but it's actually already selected the correct storage device you can change it if you wish but you'll sell them have to do that and then you simply hit the flash button now as I'm running Linux I have to authenticate this with my password first so I'll do that an actor will start and it displays the progress of the flashing right over here on the button so let's let this flash after extra completes the flash it'll go through a validation step to make certain that the data on the microSD is okay and there we go Edgar is finished flashing our micro SD card now it does give us an option to flash another micro SD card with the same image if you want so if you've got several of the same Raspberry Pi boards that you want to install motion iOS on you can go ahead and stick another micro SD card into your reader and flash that one but once you've got your micro SD card we are now ready to use it on the Raspberry Pi so now that you've got a copy of motion iOS I'm sure you're anxious to get started with it and use it with the Raspberry Pi but before I do that I thought it might be a good idea to test out the Raspberry Pi camera just to make certain that it was working and in order to do that I'm going to use raspbian now raspbian is the default operating system for the Raspberry Pi there are other OS as you can run the PI but most of us run raspbian you can get a copy of raspbian on the Raspberry Pi website it can be downloaded as an image file which again you can use extra to burn on to a micro SD card once you've done that insert the micro SD card into your Raspberry Pi also connect a keyboard a mouse and a video monitor up to the Raspberry Pi as well because you're going to need to use the raspbian desktop so you'll do that with a camera hooked up you can quickly test the camera and make sure everything is working so we're gonna go ahead and do that right now so from my camera test I've set things up as follows I've got my Raspberry Pi with the camera plugged into it now when you plug the camera into the CSI port you need to orient the cable in the correct direction if you put it in backwards you're not going to hurt anything but it simply won't work and when you pull up the ZIF for ZIF connector if you wish you will see that the contacts are on one side in this case the contacts are on the side that is facing the HDMI port on the PI 3 and so that's the side that you want to put the cable contacts - and you just insert the cable in there and then press down on the ZIF connector and that'll secure the cable in now once we've got the cable in of course we want to test the camera which is the whole purpose of this exercise over here so I've got raspbian right now inside my Raspberry Pi and so what we'll do is we'll boot up raspbian over here and the Raspberry Pi is booting now if this is the first time that you've run raspbian it'll actually do two reboots as it has to resize the SD card and then it's going to prompt you through a series of questions asking you about your locale the type of keyboard you're using etc I've already set up my raspbian so it just goes to the raspbian desktop now one thing you're going to need to do before the camera test is you're going to go down into preferences under preferences go to Raspberry Pi configuration and configuration go to the interfaces tab now by default everything here is disabled but you're going to need to at least enable the camera if you want to enable some of the other features you're quite welcome to do so but make sure that you at least enable the camera and then hit OK when you do that you're going to need to reboot the pie so reboot and join me back over here once it's booted up so once the camera interface has been enabled we can do a very quick test and we're going to do this with the Raspberry Pi command line so we'll go to our command line over here and we're going to type the following RA SPI STI ll then a space and a dash V and then a space and a dash o all lowercase and then a space and the name of a file I've called mine Tess JPEG but you can call it whatever you like just make sure you end it with dot jpg and then hit enter and you should see the camera in video mode for a while and you can see some guy with a smiling face over here it'll stop and go back to the command prompt and we can close this right now now let's just go into our file manager and we see a test duct tape EG file which we just created so if we click on it we can see a picture of this handsome guy over here and so this proves to us that our Raspberry Pi camera is working so now that the PI camera is working and we've confirmed that we can shut this down and we can start working with motion iOS so now that we've determined that our Raspberry Pi camera is working it's time to act use motion iOS so what I've done is I've shut down raspbian I've removed the microSD card that held raspbian and I've replaced it with the micro SD card with the image of motion iOS for my board now in this case I'm using a Raspberry Pi 3 B+ so I've used the Raspberry Pi 3 image now one important thing to note is that I've connected my Raspberry Pi to my network using an Ethernet cable in other words this is a wired connection and this is important to note because there is another step we would have to use to use a wireless connection such as the one we're going to need when we use a Raspberry Pi 0w so this is a wired Ethernet connection another thing I have done is I've connected an HDMI monitor onto it actually I just haven't removed the monitor from my last experiment the keyboard and mouse are not necessary because there's nothing you can do with it and it isn't actually necessary for you to connect the monitor but by connecting a monitor we'll be able to determine the IP address very easily of our board now if you don't have a video monitor or if you have the camera in a location that is simply impractical to connect the video monitor don't worry I will show you how you can determine this without using a monitor but let's take a look at what happens when I boot up motion iOS the first time on my Raspberry Pi 3 so let's boot up the motion iOS so as you can see it uses the raspbian boot you can notice the four raspberries at the top and it loads a number of modules now the first time you boot this up it'll also take some time to format the SD card I've already done that before and then it finishes booting now at this point the most important piece of information you can garner from this is the IP address so in this case I've been assigned an IP address of 192.168.1.1 hundred so I'm going to note that number and then we're going to go and take a look at the motion iOS camera so here I've gone with a web browser and I've gone to the same IP address so you'll notice that I've typed it up over here 192.168.1 not 100 of course when you do this you may have a different IP address so just type that in and this is the motion iOS screen so you can see my camera over here and it's a streaming video at a relatively slow frame rate which is pretty typical of surveillance cameras and it's giving a relatively reasonable picture now there's a couple of things I can do right now by default you've logged in just as a user but you can log in as an administrator first I'll tell you what you see as a user as a user you can set the number of columns and rows etc and that really doesn't apply unless you've got more than one motion iOS camera and as I'm going to show you later you can have multiple cameras on the same screen now what I'd really like to do though is login as an administrator so hit the switch user which is this icon over here and you will get a login screen now by default the login is simply admin with no password select that and hit login and we're presented with the same image only now when we go into the side here on two settings you'll see you have a number of other options over here I'm going to go through some of these options with you in a moment but first I need to discuss a few other aspects of motion iOS with you now as you've seen motion iOS presents a very nice interface in a web browser that you can use from anywhere in your network and although I showed to you on a desktop it also formats itself very well for tablets and for phones now the only thing you needed to know to look at this camera was its IP address and since I had a video monitor attached to my Raspberry Pi I was able to see the IP address on budda there may be situations however in which it's impractical to connect an HDMI monitor up to the Raspberry Pi and you still need to know that IP address now there's a number of ways that you can get that if you're using Microsoft Windows it's possible that if you look in your file manager under your network you may even see the camera and this sort of depends on how your network has been configured in the first place however the easiest way to do this is by using something called it IP port scanner so I'm going to show you a free IP port scanner that's available for Windows Mac and Linux called angry IP scanner and we're going to use that to determine the IP address of my motion iOS camera now here's the interface for the angry IP scanner I'm running this under Linux but the interface for Windows and the Mac looks pretty well the same now this is very easy to use it's already pre-selected a range of addresses to scan and it matches the range of my network and this could actually set itself up correctly for your own network so these numbers may be a bit different depending on how your networks configured after that all you need to do is hit the start button and as you can see the scan starts and it goes through every IP address in the range and looks for a device that is on that address now let's let the scan finish and it says scanning is complete and it's found 18 active hosts right now keep in mind that you may have more computers and devices on your network but if they aren't turned on at the moment they won't appear on the list now let's scan down over here and here we have some devices and note over here that I have a device who has a name of M II ye that is typical of the motion iOS devices they all start with M II ye and then they have a unique number and it'll give me an IP address over here for this device if you have multiple cameras you'll look for several of them of this pattern and you can get their IP address off of this so this is how you determine an IP address using the angry IP scanner now those of you with a keen eye will probably have noticed that the IP address of my motion iOS server has changed initially when I used it it was 192.168.1.1 hundred now it's dot one dot 102 so what's going on over here well what's going on is something called DHCP DHCP stands for dynamic host control protocol and this is a mechanism used on a tcp/ip network to dish out IP addresses to new machines that are joining the network in your router is a component called a DHCP server and the DHCP server is responsible for dishing out these IP addresses your router will be configured with a number of reserved addresses that are reserved for DHCP so when a new machine comes on the network it sends a request out to the DHCP server the DHCP server says ok I've got a free IP address over here and it dishes that one out to the Machine now as long as the machine stays powered on the network it's going to stay the same IP address because DHCP addresses have what's called the lease period they expire after a while when a machine is on the network it realizes that its lease is about to expire and it sends out a renewal request so it can keep that same ip address however if you turn off the Machine and don't turn it back on for a while the lease will expire and the next time it connects it could very well get a different IP address and this is exactly what happened to my motion iOS camera I turned it off for a while when I turned it back on it got assigned a different IP address now for computers and tablets and things this really isn't the problem but if you're using a server and motion iOS is a server it's a video server this becomes a real annoyance after all I had to set my web browser to the IP address of the motion iOS server and if that keeps changing it means every time I want to use my camera I have to go and find out what the new IP address is and set my web browser accordingly so so much for bookmarking it and everything if I have a lot of motion iOS cameras this could be a real nightmare so the solution for this is to assign a fixed IP address to your motion iOS server now before you sign a fixed IP address to the motion iOS server you're going to need to know what addresses are actually available so you'll need to know what addresses are used in your DHCP pool the best way of finding out this is to log into your router configuration and take a look at what range of addresses have been assigned to DHCP but if you can't do that for some reason you don't have access to the router config you could use something like the angry IP scanner that we used and just make an educated guess for example in my network you can see that most of the machines were all grouped within a certain range and those are in my DHCP range so I know that all the address is lower than 192.168.1.1 hundred on my network are available to assign fixed IP addresses too so I'm going to show you how you can assign a fixed IP address to your motion iOS server now so here I am back on my motion I Oh s screen on my web browser long you'll notice that I've changed my IP address to match the new IP address that my motion Iowa camera has and as you can see it's working giving us a wonderful view of my chest and the bottom of my chin now I'm logged in as administrator right now if you recall you login as admin with no password by default if you're not logged in as admin you need to cut this little icon over here for switch user and use the login screen that comes up to type in admin again no password is the default after that click this button over here for the settings now you'll see a number of settings we took a brief look at this earlier what I'm going to do here first under general settings is set advanced settings to on and now that I've said advanced settings to on as you can see I get a number of other selections now we're going to look at a few more of these in a bit obviously one that you'll probably want to work with is the admin username and password but I'm not going to change that right now just for demo purposes but I strongly recommend that you do end up changing this what I really want to show you over here is the thing that says network and under network my IP configuration currently is automatic DHCP now I want to set a fixed IP address so I'm going to set it to manual static IP and I'm going to get a couple of things that came up over here now it's already suggesting a network mask and a default gateway and these figures are absolutely correct you don't need to change them but this IP address I don't like because although it suggested a new IP address it's within the range of my DHCP pool and I don't want that so I'm going to say 192.168.1 and I'm gonna move this down to a range that I know is not in my DHCP pool so I'm going to pick 8 0 for this particular one and that just happens to be because 8 0 is a gain on my network unused and not assigned to the DHCP pool once I've done that I can click apply and it says it'll reboot the system and I'm going to say yes now of course after the system reboots I'm going to need the login on the new IP address because the old IP address is no longer valid so the system is rebooting right now and so now I'm logging in under the new IP address and as you can see now my camera IP address is 192.168.1.0 as I said it and if I were to reboot power it down and power it up again I would still retain the same IP address and then I can go and bookmark this address in my web browser for future use so now that we've seen how motion iOS works on the Raspberry Pi 3 plus I wanted to show you how to use it with a Raspberry Pi 0w now the 0w is a very attractive little microcomputer it only costs 10 US dollars and it comes complete with both bluetooth and Wi-Fi it does not however have a wired Ethernet connection so the only network connection we can use is Wi-Fi and there are some additional concerns when you use Wi-Fi with motion iOS and I want to show you those right now so let's go ahead and take a look at that so I've connected up a raspberry pi 0 W you'll notice that I've also left my Raspberry Pi 3 connected and running I'm doing this intentionally because I eventually want to show you how you can use multiple cameras now for the 0 w I've inserted the image file that I've burned on to a micro SD card and it's inside the socket over here and I've also of course attached a camera to it using the correct cable for the 0 W now when you attach the camera to the 0 W you want to make certain that the contacts on the cable are facing down toward the board and again you can use raspbian to test out the camera if you want to make certain that your camera is working now I haven't done anything special to this and I want to show you what happens when I boot up the Raspberry Pi 0 W so let's go and power this up right now and give it a boot so as you can see it starts off with a raspbian screen now the first time you boot formatting data partition is common it just needs to format the rest of the microSD card as a data partition this by the way is where it will store images and movies that you record by default okay now it's done that now it's loading a number of modules as it did before now here is where it gets interesting it can't find a wired network and it has stopped motion iOS and of course it can't find a wired network because we don't have a wired network the Raspberry Pi 0 W doesn't connect the 1 so it's going to reboot and continue this over and over again so we need to resolve this problem and I'll tell you how to do that right now in order to make the Raspberry Pi 0 or any Raspberry Pi using Wi-Fi connect to the network you are going to need to supply motion iOS with your network login credentials you do this by creating a small text file and naming the file wpa underscore supplicant dot conf that's su PP LIC a and T it has to be all lowercase by the way you can't use mixed case in this file name now the contents of the file are as follows this is a sample file so you'll need to modify this for your own network and I have a sample file you can download on the article in the Durham bot workshop comm website that you can modify for your own use now what you'll need to modify is as follows the first line that says country mine I've got set to CA because I live in Canada if you lived in the United States you would use us otherwise you would use the two letter code corresponding to the country and what key reside then on the network section you will need to fill in the two items here SSID and this will be the ID of your network otherwise known as a network name perhaps and then the PSK is your password and so the password that you use to log into your Wi-Fi network needs to be inserted here now keep in mind that both the SS ID and the password need to be surrounded by double quotes and that everything of course in this file is going to pair in plain text so this file actually is a small security risk if it got into the wrong hands because it contains both your Wi-Fi ID and password so be careful what you do with this once you have your file created you're going to need to load it onto the microSD card now if you've already done what I did and booted up the microSD card without this file then I'm afraid you've ruined it you're going to have to reflash the card because this needs to be a brand new card once you get the brand-new card flashed put it into your computer and look for the boot partition there are actually two partitions on the card now if you're in Windows the boot partition is probably the only one that will display but in Linux you can actually see both partitions in this case the boot partition is the one here that says it is a twenty one megabyte volume and these are the files that you could find in a boot partition now these files will vary for different models of the Raspberry Pi this is the Raspberry Pi build for the Raspberry Pi 0 I'm using take the file that you created and copy it and paste it into here now after this you can eject the card and insert it back into your Raspberry Pi 0 and I'm going to do that right now so let's boot up our Raspberry Pi 0 with the new configuration file we've just made and as you can see it's a little bit different than the original time we tried to boot without the config file and there we go we have an IP address right now for our raspberry pi zero so it has actually found our Wi-Fi can network and connect it to it and in this case assign an IP address of 192.168.0.0 six which of course I will eventually change to a static IP address but this shows you how you can boot up the raspberry pi zero or any raspberry pi using only Wi-Fi now let's take a look at what we're actually getting is a picture from this thing so here's the image from my raspberry pi 0 camera as you can see it's similar to the image from the Raspberry Pi 3 camera because the campers sitting right beside the other camera and it seems to work quite well now once again I'm going to want to go in here and change this to be a static IP address so I'm going to put the Advanced Settings on go down to network and go to configuration notice that the wireless network properties are already filled in and the wireless network key is not displayed and I'm gonna make this 1.81 just so it appears right next to the other camera I have you can use any addresses you want for your camera but I suggest you put them all in the same local neighborhood so to speak it just makes it easier to keep track of them and I'll apply that and yes it will reboot the system and once it's rebooted I will have a new IP address for my Raspberry Pi 0 camera the same way I did for the Raspberry Pi 3 camera so now that you've seen how most in iOS can be installed on both the Raspberry Pi 3 and a Raspberry Pi 0 W is take a look at some of the more advanced things that we can do with this product so without further ado let's go ahead and do that so now I have two Raspberry Pi cameras hooked up my PI zero camera and my Raspberry Pi three camera and as you can see on the screen I've got two separate tabs right now at 1.80 might as Barry PI three camera and 1.81 is the new address for my raspberry pi 0 camera and of course they're displaying similar pictures because the cameras themselves are only a couple of centimeters apart but these could very easily be in different rooms and I'd achieve the same results now I'm on the Raspberry Pi 3 camera right now and what I want to do is display both of the cameras on the same screen because it's going to get a little inconvenient to go flipping between all these different tabs especially if I get a number of cameras there so I'm logged in as admin right now and I'm going to go into settings at the top here it says camera 1 click on that and add a camera now it's going to ask the camera type there are a number of different types of cameras that are supported on one of your boat motion eye camera and then I'm going to need the URL of the camera and I can get that kiss from here I'll put that in and I'm going to pick camera one because camera one is the name of the first camera also on my remote camera you can actually attack multiple cameras to motion iOS because you can also use the USB ports to attach webcams and as I'll Fillion of that you can name the cameras so that they're more more suitable you can name them for the rooms they're in for example but right now this is okay I'll sit okay and there we go I've got both cameras now on the same screen and so you can continue to do that to add as many motion iOS cameras as you wish now bear in mind that the Raspberry Pi that is hosting this right now is my Raspberry Pi 3 and it's now actually hosting a streaming service for both cameras and so if you're going to add a lot of cameras you probably want to use something like a PI 3 which has a reasonable amount of power because the Raspberry Pi 0 may get a little overloaded when you try to load 3 or 4 cameras onto it but as you can see this seems to work very well so now let's customize our motion iOS a bit now again I'm on the screen that's connected to my raspberry pi 3 and I'm displaying both the PI 3 over here and the PI 0 camera but they're both named camera one and that's a bit confusing you can also administrate both cameras over here with the drop down but again with them both call camera 1 that's going to be a bit on the confusing side so let's go down here where you go to video device you can set up the camera name I'm going to set it as pi 3 cam and I'll apply that and now my camera's name pi/3 cam and that's a little easier to see let's just close this over here now when I go here I can now see that I've got PI 3 cam and camera 1 of course you could name these for the rooms that you happen to have the cameras in that would probably make a lot more sense now I'll show you a few other configuration things you can do here if you scroll down over here you've got two settings here one for still images and one for movies by default these are off but as soon as you open them up they'll come on and this basically gives you the format for the file name which was the year month day hour minute and second and the file name you can change that if you wish the image quality the format of the movie that you'd like to use you have a number of different ones mp4 etc the movie quality the recording mode being motion-triggered you can also set this for continuous recording on the pictures you can set this for motion-triggered motion-triggered for only one picture interval snapshots so it can take a snapshot of the preset interval take pictures of every frames which is going to take a lot of memory or manual and what manual is is you'll notice that there's a little icon on the bottom over here now that I've activated my still images that allows me to take a snapshot at any time I want to and here are some of the parameters for the motion detection itself by default it's already set on you can set some of these parameters for light change for frame change etc and kind of customize it to motion in your room this would actually be a good setting if you have a room that has something that moves a lot let's say some drapes that tend to rustle when your heater comes on or something this will allow you to eliminate false triggers and such so you can do that now motion notifications has a number of options as well you can send an email if you wish and you can turn that on and then you basically set an email address the SMTP server you want to bounce this off of etc I'm not going to set this up online you can call a web hook run a command or end a command whenever you get motion the working schedule allows you to set a schedule for when the camera is on you can have it on every day of the week or you can have it off etc I'm not going to schedule online so by doing that by default the camera is on at any rate I'll apply the changes I've made and we'll close the config screen for a moment and take a look at the cameras now once again if you see my two cameras over here you'll notice I got camera one in the pi3 cam over here the pi3 cam I'll go into this over here all of them have the thing to toggle the full screen by the way the fact that just turned red means it just took some pictures because it was triggered by motion so this allows you to take your camera fullscreen you can take it back from there now this allows you to open the picture browser and the picture browser will show me all the snapshots I've taken by the pi3 cam now I've taken quite a few of them already I've taken 664 pictures in the short time that I've had this up and so you can delete the pictures you can delete them all you can download the pictures if you wish and the same goes through the movies as well if you click here you get the movie browser and here are some of the movies that I've taken with the camera so I can delete it downloaded I can even click on it and if I wish to I can play my movie and there's a very exciting movie for you to watch but they're all there now these are currently being stored on the micro SD card which is not too bad I mean with a 16 gig micro SD card I've got quite a bit of space to store it but there are even options under the file settings down here where you can store the movies on another location if you wish under file storage here you can go through right now it's custom path over here on the local Drive and it's used a very small bit of the 14 point 3 gigabytes I have left but you can also choose a network share if you wish and so if you have a place on your network you want to dump the movies you can do that so as you can see motion iOS gives you a very versatile interface for managing one or more cameras all right well this boat wraps it up for our look at motion iOS as you can see this is a very powerful yet simple to use system that you can put the use with any Raspberry Pi as well as a number of other microcomputer boards and you can use this to build a custom surveillance system for either your home or your business now if you wish you could open up your router to allow this to be viewed from outside your home in business but if you do that be very careful on how you do it because anytime you open up your router to the outside world you're potentially exposing yourself to all sorts of threats so it's a trade-off between security and convenience so you'll have to make that decision on your own now I hope you enjoyed this video and if you haven't already please subscribe to the channel I would very much appreciate that and that would let you know when I make new videos for you if you'd like to have some suggestions and inputs on what videos I make the best way of doing that is to join my newsletter and you will find the link to that below this video as well as on the drone bot workshop comm website where you will find an article that accompanies this video that'll give you all the details you need to know about motion iOS as well as a number of other Raspberry Pi projects so until next time please take care of yourself and I hope to see you again very soon here in the workshop good bye for now [Music]
Info
Channel: DroneBot Workshop
Views: 317,587
Rating: 4.930851 out of 5
Keywords: motioneyeos, motioneyeos multiple cameras, motioneyeos install, raspberry pi, raspberry pi zero w, raspberry pi projects, surveillance camera, raspberry pi motionEyeOS
Id: NbFruaDUKB0
Channel Id: undefined
Length: 50min 50sec (3050 seconds)
Published: Fri Dec 07 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.