Monitoring with motion

sudo apt install rpi-imager
ssh pi@pihost
cd Desktop
raspstill -0 first.jpg
scp pi@pihost:~/Desktop/first.jpg ~/Desktop/first.jpg
sudo apt install motion
stream_localhost off   # accessible from other sorces than localhost
stream_port 8000 # port to access the feed
daemon on # run as daemon
framerate 10        # max number of frames captured / sec
stream_maxrate 10 # max framerate for stream
width 640 # number of pixels in width
height 480 # number of pixels in height
sudo nano /etc/motion/motion
sudo systemctl enable motion
reboot -h now   # will rebote the system without delay
; logfile /var/log/motion/motion.log # add ; to ignore the setting

IT - Nerd - Games - Climb - Run

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store