US
36 MIN READ TIME

HOW TO

STEP-BY-STEP GUIDES TO IMPROVING YOUR PC

TIP OF THE MONTH

UTILIZING TASK MANAGER

If your PC is feeling sluggish or you just want to monitor its live performance, then Task Manager should be your best friend. To launch quickly, press Ctrl+Shift+Esc. Inside the app, go to options, and select ‘Always on top’ to ensure it overlays any open application. This means that if your game crashes, you can open this up, and end the task from here.

MAKE – USE – CREATE

62

Set up a self-hosted surveillance system

66

Keep folders in sync with Syncthing

70

The best way to fix a broken USB stick

STAFF WRITER

HANDHELD HEAVEN

With the release of the ASUS ROG Ally, the popularity of the Nintendo Switch, and handhelds coming out of every nook and cranny, it’s no surprise that they’ve caught my interest. I come from console gaming beginnings, and have always enjoyed being able to take a slice of that kind of gaming experience on the go with a handheld device.

The Nintendo DS was the reason I first got into gaming, and while I was digging around at home, I found my old model which thankfully still had some battery life! I jumped straight on Super Mario 64 DS, possibly my favorite game of all time. For me, it was my first open-world title, and one of the first games that fully immersed me. That’s the whole point of a good game, right?

As technology advanced and consoles got better and better, the progression between the two was always more prevalent in consoles. I had always wanted an exact console/PC experience on the go, and it’s now, more than ever, a possibility. Since the Steam Deck’s release, taking aspects of the Switch and combining it with some PC magic, gaming on the go is more accessible, and similar models are cropping up everywhere. This is great for us handheld lovers, and I’m certainly in the market to pick one up.

submit your How To project idea to: editor@maximumpc.com

Set up a self-hosted surveillance system

YOU’LL NEED THIS

LINUX OR WINDOWS PC RUNNING DOCKER motionEye Docker container, at least one compatible camera

(USB attached or ONVIF/ RTSP-streaming IP camera).

1INSTALL MOTIONEYE

Eye requires Linux, and you’ll find detailed installation instructions for individual distros at https:// github.com/motionEye-project/motionEye/wiki/Installationhowever, you’ll discover that it’s not currently compatible with Ubuntu 22.04 or later. The simplest and most effective way to run it is through Docker, which means you can add it to your headless Ubuntu Server NAS build from September 2022, or use it in Windows through the Windows Subsystem for Linux. Another benefit of Docker is that you can integrate motionEye into your reverse proxy, making it easy (and secure) to access your video streams when away from home.

» As per our previous guidance, the simplest way to install the motionEye Docker through your server’s web-based cockpit interface is to create a text file on your main PC into which you input the Docker commands shown in [Image A] (or simply copy, paste, and amend the Docker script shown at https://github. com/motionEye-project/motionEye/wiki/Install-In-Docker).

» You’ll then need to amend the script to suit your own needs. First, you’ll see motionEye communicates over port 8765—if for any reason port 8765 is being used by another service, alter the -p line accordingly (for example, ‘-p 8766:8765 \’ to use port 8766 instead). If you plan to access motionEye remotely, you should also add the following line to join its Docker instance to the same network as your proxy server (change ‘shared-network-name’ to the name of your shared bridge network):

SURVEILLANCE CAMERAS PLAY A KEY ROLE in your home’s security, but many home security webcams are tied to proprietary services, with expensive cloud storage plans and question marks over the security of where that footage is stored and who can see it. Thankfully, there’s a free open-source solution that puts you firmly in control of all your cameras and allows you to store your footage safely at home. The tool in question is motionEye, and it works with a wide range of cameras, from USB-attached webcams to a broad selection of network cameras that support either ONVIF or RTSP streaming protocols.

In this tutorial, we’ll show you how to set up motionEye, attach as many cameras as you need to it, then configure them to provide a home surveillance system you can rely on. You’ll discover how to configure motionEye’s motion detection capabilities, allowing you receive alerts (and view footage) whenever activity is detected in front of a camera. You also get to choose whether to keep your new surveillance system under wraps by restricting access to your local network only, or we’ll show you how to configure it in conjunction with a reverse proxy for secure remote access over the internet when you’re traveling. Read on to find out how.

A --net=shared-network-name \

» You’ll also need to set up a configuration folder for your motionEye preferences, which will point to ‘/etc/ motionEye’ in the Docker script, and a folder to store video recordings, which will point to ‘/var/lib/motionEye’.

» If you plan to connect any locally connected webcams (ie, webcams plugged into your server via USB), then add one or more lines for each webcam like so:

--device=/dev/video0 \

--device=/dev/video1 \

» Once the script is configured, select it all and copy it to the clipboard. Now, switch to cockpit in your browser, select Terminal from the left-hand navigation pane, and press Shift + Insert to paste the Docker script into the Terminal. Hit Enter, and all being well, motionEye should start and be available within seconds. If it doesn’t, check the script carefully, then try it again.

2INITIAL SETUP

Going forward, all interaction with motionEye will be done through any web browser on your network. Start by typing the following URL into the browser:

http://192.168.x.y:8765

» Substitute 192.168.x.y with your PC or server’s IP address, and 8765 if you had to change ports earlier.

© MOTIONEYE

SECURE YOUR HOME

1. ENABLE MOTION DETECTION

To start recording whenever the currently selected camera detects movement, you first need to set Recording Mode to ‘Motion Triggered’ in the Movies section.

2. MOVIE SETTINGS

Make sure ‘Movie Format’ is set to a compatible format so you can review footage and download it to your PC. In most cases, the basic ‘H.264 (.mp4)’ option is the best one.

3. FRAME CHANGE THRESHOLD

This determines how sensitive the camera is to motion detection, with 0 the most sensitive (and so liable for more false positives). Experiment with different levels between 2 and 20 to find a happy medium.

4. MOTION GAP

The setting tells motionEye how long to wait after motion has been detected before it ends recording—the default is 30 seconds.

5. IMAGE MASK

Enable this setting for a more finely tuned approach to motion detection. This enables you to block out parts of the image where motion is ignored.

6. EDIT MASK

Set Mask Type to Editable and click ‘Edit Mask’ to bring up a clickable grid overlay on top of your video feed. After you’ve done this, click inside those squares where any movement is to be ignored.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99c
SUBSCRIBE NOW
30 day trial, then just $9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Maximum PC
July 2023
VIEW IN STORE

Other Articles in this Issue


editorial
THE DO-IT-ALL PC
Guy Cocker © GETTY IMAGES AS WE COVER
QUICKSTART
AMD and Nvidia go Mid-range
Radeon RX 7600 and GeForce RTX 4060 fight for 1080p
METEOR LAKE
LATEST ON THE NEW PROCESSOR
WINDOWS GETS A COPILOT
Microsoft is making use of the AI advance
Tech Triumphs and Tragedies
A monthly snapshot of what’s good and bad in tech
AMD CONFIRMS HYBRID CHIPS
Pheonix 2 APU to get Zen 4C cores
PHOTOSHOP GOES AI
Just type in what you want to see
New Sony Handheld
SONY HAS A NEW HANDHELD, currently known internally
PCIe 5.0 SSDs Run Hot
Users of the first generation of PCIe 5.0
GPU Clock Record
Nvidia’s 4090 is the world’s best consumer GPU.
TECH TALK
How much VRAM do you really need?
THE BEST VR HEADSETS
IN 2023, a VR headset needs to be
TRADE CHAT
What is actually going on with gaming graphics?
LETTERS
DOCTOR
THIS MONTH THE DOCTOR TACKLES...
LETTERS
WE TACKLE TOUGH READER QUESTIONS ON...
BEST VALUE PC 2023
BEST VALUE PC 2023
After a hard day’s work, you deserve to kick back and relax with Maximum PC’s best-ofboth-worlds RTX 4070 for under $2,350
STREAMLINE AND CLEAN UP WINDOWS
STREAMLINE AND CLEAN UP WINDOWS
Strip the bloat from Windows and give it a spring-clean for a factoryfresh feel with Nick Peers
INVISIBLE ONLINE
HOW TO BE INVISIBLE ONLINE
Robert Irvine recommends the best new ways to stay anonymous online by switching to more effective anti-tracking tools
CENTERFOLD
CENTERFOLD
PERFORMANCE GEAR LAID BARE
WI-FI 7 EXPLAINED
SEVEN THINGS YOU NEED TO KNOW ABOUT WI-FI
Another new wireless technology, already? Darien Graham-Smith looks ahead to the next-generation networking standard
WINDOWS & MACOS TOGETHER
RUN WINDOWS AND MACOS [TOGETHER]
Why limit yourself to one OS? Nik Rawlinson finds out how to work seamlessly across different platforms
IN THE LAB
LAB NOTES
GUY COCKER, EDITOR-IN-CHIEF
Intel Core i3-13100F
Intel remains the budget gaming king, even if it struggles to beat its previous gen chip
Lenovo Legion Y32p-30
Lenovo’s premium 4K panel has a pricing problem
Dell 24 Monitor P2423D
Another QHD productivity delight or misfire?
Alienware X17 R2
Is last-gen power still relevant?
Dell 27 Gaming Monitor G2723H
Is 1080p all you really need?
Intel Core i5 13400F
The best budget gaming CPU right now
SteelSeries Apex Pro TKL Wireless
A compact, fast-paced keyboard that focuses on swift switches
SteelSeries Arena 9
Are the world’s first 5.1 surround sound gaming speakers a necessary addition to your setup?
Razer Blackshark V2 Pro 2023
A genuine 2023 upgrade, but the original still sounds great for less
System Shock
Nightdive has modernized the original, although it might have stuck too faithfully to its formula
Google Bard vs ChatGPT
Two AI chatbots, alike in dignity, but which should you use?
BLUEPRINT
THE BUILDS
THIS MONTH’S STREET PRICES...
Chat
X
Pocketmags Support