This is an old revision of the document!
−Table of Contents
Surveillance Camera with RaspberryPi Zero W]]
Hardware
- Raspberry PI Zero W
- Raspberry PI Camera V2.1 NOIR
- Raspberry PI Camera Cable for Zero
- Solar Panel (25Watt, 12V (nominal), 17.8V Max
- Solar Charge Controller (10Amp) (12/24V)
- Two LED lights (IR 8W +Visible 18W)
- 2x MOSFET switches
- 1x AHT21 Temp/Humidity sensor
- 1x ADS1115 ADC
- 1x microusb cable (RPI Zero power)
- Fake Camera body
- Outdoor project box
- Cable connectors
- 12V 4AH battery
https://www.amazon.com/dp/B01M9B6RQI?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B07NPDWZJ7?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B00IY3YLCI?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B0771GQMPT?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B09KGDDS37?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B0BZH7CTGX?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/gp/product/B08HLYKXC6/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
https://www.amazon.com/dp/B079GNVSTL?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B09B5DXTLS?psc=1&ref=ppx_yo2ov_dt_b_product_details
https://www.amazon.com/dp/B085NVDC3K?psc=1&ref=ppx_yo2ov_dt_b_product_details
Software
- MotionEyeOS version: 20200606
- MotionEye 4.2.2
- Motion 0.42.1
- Motionpush
Configuration
MotionEye
- File Storage:
- Upload Service: SFTP server
- We setup a user in my server for this
- location: /home/user/camera1
- Include Subfolders: yes
- Video Device
- Video Resolution: 800×600 (fast), 2592×1944 (max, very slow)
- Automatic Brightness: yes
- Motion detection
- Auto Noise Detection: yes
- Motion Gap 30
- Mininum motion Frames: 20 frames
- Use mask
- Motion Notifications
- Run a command: yes
- Command: /data/usr/bin/motionpush %H:%M
- Motionpush
- Has to be downloaded to the dev computer
- Edit example.conf and motionpush executable:
- motionpush:
- CONFIG_FILE=“/data/etc/motionpush.conf”
- Follow Telegram instructions to create a bot
- Create a Telegram Channel
- Configure (with BotFather) the bot to be able to “post in the channel” “manage channel”
- Add the bot to the channel administrators
Test bot with :
curl -X POST “https://api.telegram.org/bot<Token>/sendMessage” -d “chat_id=-<channelid>&text=my sample text”
Project:
https://github.com/motioneye-project/motioneyeos
Download image:
wiki:
https://github.com/motioneye-project/motioneyeos/wiki
Telegram Push notifications: