The Cloudflare Tunnel documentation takes us through its installation. I am not really an expert at that, and if I leave a backdoor open to my internal network, it can get scary quickly! An alternative would be to open a port in the firewall on the router in my home network, but I hate that idea of having to mess with the router configuration. However, I wanted to keep an eye on Ziggy no matter where I am, as long as I have Internet access and a browser. Alternatively, we can open it on another machine within the same network by replacing 0.0.0.0 with the IP of the Raspberry Pi in the network.įor now, the camera web server is available only within our local network. Now that we have Motion set up, we can see the live feed from our camera in a browser on Raspberry Pi module at the default URL: (the port can be changed in the config edit step above).
# Find the following lines and update them to following:Īfter that, we need to set Motion up as a daemon, so it runs whenever the system is restarted: $ sudo vim /etc/default/motion Next, we need to configure Motion using: $ sudo vim /etc/motion/nf
The above commands will update the local packages with new versions from the repositories and then install that version of Motion from Motion’s GitHub project. $ sudo dpkg -i pi_buster_motion_4.3.1-1_b $ sudo apt install autoconf automake build-essential pkgconf libtool git libzip-dev libjpeg-dev gettext libmicrohttpd-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev default-libmysqlclient-dev libpq-dev libsqlite3-dev libwebp-dev
To install Motion, input these commands: $ sudo apt-get update & sudo apt-get upgrade To do that, we will use Motion, a program for setting up the camera module v2 as a web server. This is so we can access it at a URL such as within the local network, to which the Raspberry Pi is also connected. For more detailed instructions, follow the official guide, steps 1 to 3.Īfter setting up the camera and testing that it works, we need to set it up as a camera with a web server. The first thing we need to do is connect the camera module to the Raspberry Pi.
To keep things simple and succinct, I will not cover how to set up your Raspberry Pi, but you should make sure it has Internet access and that you can run shell commands on it, either via SSH or using a VNC connection. In this blog post, I’ll walk you through the process I followed to set everything up for the pet cam.
And I only found out when he tossed the ceramic butter box. He consistently jumped on the kitchen counter in search of food, albeit only when no one was around. It took me quite a while to get used to his routine and mix it with mine.