Video surveillance with the Raspberry Pi
Advanced
Under General Settings, you will see an Advanced Settings slide control that opens a camera-specific advanced settings dialog for highly granular configuration, such as camera resolution. This section also has basic options for the network and various services such as SSH, FTP, and Samba, which you can enable to store your video recordings on the intranet.
If you use a Raspberry Pi with a built-in WiFi module, it can be connected wirelessly at this point to the local network by enabling the WiFi module. In the other dialogs, which previously only allowed basic settings, you will now find various additional options. For example, the Movies group lets you define the quality at which recordings are saved (Figure 3); the format can be defined separately here, as well.
In the Motion Detection section, you can configure various settings for the built-in motion detection feature that compares images and fires up the recording function as soon as it detects changes. In this area, you define the extent to which the image must change to trigger recording, and you can even tell the system to respond to changes in lighting conditions.
When certain motion patterns are detected, the Motion Notifications group lets you execute defined actions, such as sending email to an address stored on the system and running a defined command. In this way, motionEyeOS notifies you when it senses unusual events, and the system can respond automatically (e.g., by shutting down devices to protect data against spying).
Playback
The videos recorded by motionEyeOS can be downloaded from the Raspberry Pi's memory card in a dialog on the system's web front end. In the default setting, the system adds the time and duration of the recording in the file name, along with current date, so that the most important data can be traced immediately.
To open the dialog, click on the desired camera in the monitoring display on the right side of the browser window. The software then displays a horizontal button bar in the camera image at the top of the window, where you can press the open movies browser button. An overlapping window then displays the available recordings sorted by day, with Download and Delete buttons to the right of the respective data (Figure 4).
If you find a large number of very short recordings of just a few seconds duration in the list view, you need to adjust the Motion Detection settings in the administration menu. The correct setting can prevent motionEyeOS from starting a new recording with every miniscule movement it detects in an image.
Network Configuration
After commissioning motionEyeOS, you should enable the WiFi option. After the initial configuration, you no longer need the wired connection. The wireless connection lets you position the management computer freely and it no longer has to be located right next to the router. This setup allows the computer to be removed from view of unauthorized persons, which significantly improves data security.
You can activate WiFi in the Network section by switching the Wireless Network slide control to ON and entering the SSID of the desired network and the matching authentication key in the fields that appear. Next, press the Reboot button in the General Settings section to restart the system and integrate the Rasp Pi into your infrastructure wirelessly.
The connected WiFi cameras and the Raspberry Pi should also have assigned static IP addresses, so you will have a working system immediately after any power failures and avoid device connection failures from incorrect IP addresses.
All you have to do is change the IP Configuration selection boxes in the Network group from the default DHCP address assignments to Manual (static IP). Then, switch from DHCP to the static IP address configuration in the configuration dialogs of the connected terminal devices. Alternatively, you can assign static IP addresses to all nodes in the router's web front end, removing the need for any configuration on the systems themselves.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.