Quantcast
Viewing all articles
Browse latest Browse all 4872

Camera board • Re: RPi Cam Web Interface

Still able to run my legacy build, but in need of migration path to the newer RPi platforms. This configuration has served me well for security monitoring at an 18-acre nursery in the brutal South Florida heat. This system is comprised of 16 Raspberry Pi camera rigs used as just image collection devices, no recording onboard the camera cuts down on SD card wear. Network communication is over 800MB/s Wi-Fi using EnGenius Wi-Fi components, it is not practical to run network cable over an 18-acre nursery. Motion detection and video image collection is performed on an Intel NUC8i7HVK Medis box running iSpy (free version). I have been running this system ever since RPi_Cam_Web_Interface became available on GitHub and it has proven to be the highest quality with the lowest overall cost compared to all other system I have tested. Reliability is unmatched...I built the system, and it simply works...every day for over five years. I would love to migrate my RPi_Cam_Web_Interface build to the more current Raspberry Pi hardware, but that appears that it may never happen. I will try to keep this configuration alive as long as possible because, if it ain't broke, don't fix it. So far, mine ain't broke!
I am sharing my archive notes for a working RPi_Cam_Web_Interface installation on RPi-Zero-Ws and RPi-B3s using RRi Cameras v1 running Buster for anyone who needs to keep their configuration running in legacy mode:

Install Raspberry Pi O/S
Raspberry Pi Buster OS Lite
From <https://www.raspberrypi.org/software/op ... -os-32-bit>

sudo raspi-config
• Interfaces
○ Enable Camera
○ Enable SSH
• Performance
○ GPU Memory = 16
• Localization
○ Set Locale
○ Set Time Zone
○ Set Keyboard
○ Set WLAN Country

sudo reboot

Set Static IP Address (Option)
• sudo nano /etc/dhcpcd.conf
• #set Static IP Address for wlan0 (or eth0)
• network wlan0
• static ip_address=xxx.xxx.xxx.xxx (example:192.168.1.123)
• static routers=xxx.xxx.xxx.xxx (example:192.168.1.254)
• static domain_servers=xxx.xxx.xxx.xxx (example:192.168.1.123 75.75.75 8.8.8.8)

Set Wi-Fi Authentication
• sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Network={
ssid="Your SSID in these quotes"
psk="Your Pass Code in these quotes"
} <---------------------------------------------Don't forget to end with this

sudo reboot

Login from SSH – Putty
Update Raspberry Pi O/S
• sudo apt-get update
• sudo apt-get dist-upgrade -y

sudo reboot

Set Hostname & Password
• sudo raspi-config
○ System
▪ Change Hostname - The name of your camera rig
▪ Change Password – The password for your camera rig

sudo reboot

Clone and Install code from github (<https://elinux.org/RPi-Cam-Web-Interface>)
• sudo apt-get install git
• git clone https://github.com/silvanmelchior/RPi_C ... erface.git
• cd RPi_Cam_Web_Interface
• ./install.sh

•In Configuration Options set:
•Webport, User Name, Password

Test Network Connection to Camera IP Address
• Open Web Browser
Enter xxx.xxx.xxx.xxx:port/html (example: 192.168.2.183:11183/html)

This build uses the original Pi Juice Automatic Voltage Regulator for power protection and runtime during power outages.
Install PiJuice Base
• sudo apt-get install pijuice-base
○ Run: pijuice_cli
○ Update Firmware
Choose Battery Profile

Lock down SSH access with two factor authentication with Google Authenticator
Set Two Factor Authentication
• sudo nano /etc/ssh/sshd_config
Enable challenge response by changing ChallengeResponseAuthentication from the default no to yes.
• sudo apt install libpam-google-authenticator
Run: google-authenticator
• configure PAM to add 2FA
○ sudo nano /etc/pam.d/sshd
§ Add to the top of the file:
#2FA
auth required pam_google_authenticator.so

I hope someone else will benefit from this information. If anyone has suggestions regarding a migration path going forward on the Raspberry Pi platform using RPoi_Cam_Web_Interface, please feel free to share your thoughts.

I want to express my sincere thanks to Silvan and the whole team that have made my camera creation possible.

Statistics: Posted by RexRoper — Sun May 19, 2024 6:22 pm



Viewing all articles
Browse latest Browse all 4872

Trending Articles