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
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.