issue76:labo_linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| issue76:labo_linux [2013/09/01 16:52] – créée andre_domenech | issue76:labo_linux [2014/02/21 10:27] (Version actuelle) – [4] auntiee | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | One of the strength’s of UNIX-like operating systems has always been the fact that most tools can be used together with other tools. So when I was asked how to set up a simple security camera for Linux, I had to do a bit of thinking how someone without a lot of experience might do this. ZoneMinder is an amazing application, | + | ===== 1 ===== |
| + | |||
| + | **One of the strength’s of UNIX-like operating systems has always been the fact that most tools can be used together with other tools. So when I was asked how to set up a simple security camera for Linux, I had to do a bit of thinking how someone without a lot of experience might do this. ZoneMinder is an amazing application, | ||
| One thing we considered was the possibility of the storing computer being taken or destroyed. We needed a solution that would take pictures only when there was movement. We also wanted to synchronize the pictures with a cloud service. | One thing we considered was the possibility of the storing computer being taken or destroyed. We needed a solution that would take pictures only when there was movement. We also wanted to synchronize the pictures with a cloud service. | ||
| - | We decided on Dropbox over Ubuntu One because we needed a client that also ran on our Blackberry cellphones. After some struggling with different video capture clients, we got the closest to what we wanted to do with the command-line program ‘motion’. | + | We decided on Dropbox over Ubuntu One because we needed a client that also ran on our Blackberry cellphones. After some struggling with different video capture clients, we got the closest to what we wanted to do with the command-line program ‘motion’.** |
| + | |||
| + | L'un des points forts de systèmes d' | ||
| + | |||
| + | Une chose que nous avons prise en compte a été la possibilité du vol ou de la destruction de l' | ||
| + | |||
| + | Nous avons opté pour Dropbox aux dépens d' | ||
| + | |||
| + | |||
| + | |||
| + | ===== 2 ===== | ||
| - | When we first ran motion, we found it created hundreds of images, so we ran motion with the -s (setup) switch. Motion displayed the following: | + | **When we first ran motion, we found it created hundreds of images, so we ran motion with the -s (setup) switch. Motion displayed the following: |
| [1] Changes: 0 - noise level: 18 | [1] Changes: 0 - noise level: 18 | ||
| [1] Changes: 1 - noise level: 18 | [1] Changes: 1 - noise level: 18 | ||
| Ligne 15: | Ligne 27: | ||
| We created a motion.conf with the following options: | We created a motion.conf with the following options: | ||
| + | webcam_motion on | ||
| + | noise_level 255 | ||
| + | framerate 2** | ||
| + | |||
| + | La première fois que nous avons lancé motion, nous avons constaté qu'il créait des centaines d' | ||
| + | Motion a affiché ceci : | ||
| + | [1] Changes: 0 - noise level: 18 | ||
| + | [1] Changes: 1 - noise level: 18 | ||
| + | [1] Changes: 0 - noise level: 18 | ||
| + | |||
| + | Utilisez Ctrl+C pour interrompre motion. Lancer motion avec l' | ||
| + | |||
| + | Nous avons trouvé que le fichier de configuration par défaut dans / | ||
| + | |||
| + | Nous avons créé un motion.conf avec les options suivantes : | ||
| webcam_motion on | webcam_motion on | ||
| noise_level 255 | noise_level 255 | ||
| framerate 2 | framerate 2 | ||
| - | The webcam_motion option can be either on or off. By default, it’s off – because the default webcam_maxrate is normally set to 1 frame per second. If webcam_maxrate is set higher, webcam_motion limits any capture to 1 frame per second if no movement is detected. We found that turning it on seemed to reduce the amount of images captured. The default noise_level in / | + | ===== 3 ===== |
| + | |||
| + | **The webcam_motion option can be either on or off. By default, it’s off – because the default webcam_maxrate is normally set to 1 frame per second. If webcam_maxrate is set higher, webcam_motion limits any capture to 1 frame per second if no movement is detected. We found that turning it on seemed to reduce the amount of images captured. The default noise_level in / | ||
| When I walked into the frame, walked up to the camera, and walked away, motion took 254 images. It might seem like a lot to synchronize, | When I walked into the frame, walked up to the camera, and walked away, motion took 254 images. It might seem like a lot to synchronize, | ||
| - | For the Dropbox setup, we first visited dropbox.com and created an account. In my case I already had an account and I needed to click on More in the bottom left of the screen to open a menu with the Install option. Clicking Install took me to a page where I could download either the 32-bit or 64-bit version of the dropbox command-line tool. I’m running Linux Mint at the moment and the Ubuntu 32-bit .deb file installed fine. | + | For the Dropbox setup, we first visited dropbox.com and created an account. In my case I already had an account and I needed to click on More in the bottom left of the screen to open a menu with the Install option. Clicking Install took me to a page where I could download either the 32-bit or 64-bit version of the dropbox command-line tool. I’m running Linux Mint at the moment and the Ubuntu 32-bit .deb file installed fine.** |
| - | After installing the dropbox you need to install the rest of dropbox by running: | + | L' |
| + | |||
| + | Quand je suis entré dans le champ, ai marché jusqu' | ||
| + | |||
| + | Pour le paramétrage de Dropbox, nous sommes d' | ||
| + | |||
| + | ===== 4 ===== | ||
| + | |||
| + | **After installing the dropbox you need to install the rest of dropbox by running: | ||
| dropbox start -i | dropbox start -i | ||
| Ligne 35: | Ligne 72: | ||
| The Dropbox software need not be installed on a computer in order to view the dropbox data. By simply logging in to the Dropbox website, we were able to view all of the photographs caught by motion. | The Dropbox software need not be installed on a computer in order to view the dropbox data. By simply logging in to the Dropbox website, we were able to view all of the photographs caught by motion. | ||
| - | The flexibility of running Dropbox either on a PC or on our Blackberries covered us whether we were near a computer or elsewhere. Of course there are much more sophisticated solutions like Zoneminder, but combining motion and Dropbox gave us a quick solution where we didn’t have to do a lot of setup and could access our security camera from pretty much anywhere we went. | + | The flexibility of running Dropbox either on a PC or on our Blackberries covered us whether we were near a computer or elsewhere. Of course there are much more sophisticated solutions like Zoneminder, but combining motion and Dropbox gave us a quick solution where we didn’t have to do a lot of setup and could access our security camera from pretty much anywhere we went.** |
| + | |||
| + | Après avoir installé le dropbox, vous aurez besoin d' | ||
| + | |||
| + | dropbox start -i | ||
| + | |||
| + | Dropbox téléchargera un fichier et installera une prise en charge de Nautilus. Vous devrez voir une petite icône dropbox sur votre panneau. Pendant l' | ||
| + | |||
| + | Puis nous avons installé l' | ||
| + | |||
| + | Vous n'avez pas besoin d' | ||
| + | |||
| + | La flexibilité de faire tourner Dropbox soit sur un ordinateur, soit sur nos Blackberry, nous a garanti son accessibilité, | ||
issue76/labo_linux.1378047164.txt.gz · Dernière modification : 2013/09/01 16:52 de andre_domenech
