MotionEyeOS: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 97: | Line 97: | ||
mmalcam_control_params -ex sports -ev 25 --shutter 256000 | mmalcam_control_params -ex sports -ev 25 --shutter 256000 | ||
auto_brightness on | auto_brightness on | ||
hue 0 | |||
saturation 5 | |||
brightness 255 | brightness 255 | ||
contrast 1 | contrast 1 | ||
These settings can also be modified in the configuration file (thread-1.conf for Camera 1): | These settings can also be modified in the configuration file (thread-1.conf for Camera 1): | ||
Revision as of 13:41, 3 March 2019
These are some notes of setting up MotionEyeOS on a RaspberryPi Zero with a mounted camera module. I used a camera module without infrared filter so it should be better in the dark. However, this setup has difficulty performing well with higher resolutions and doesn't handle low light conditions very well.
See also:
Installation
cd /path/to/directory/ lsblk sudo ./writeimage.sh -d /dev/sdX -i "motioneyeos-raspberrypi-dev20190223.img" -n 'WeeFee2:PassKey'
Configure Wifi for headless boot
If not done during 'writeimage.sh'.
Setup Wifi without ssh, monitor or keyboard by creating this file on the FAT boot partition.
sudo nano /boot/wpa_supplicant.conf
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="WeeFee2"
psk="WeeFee2-PassKey-Here"
}
Ssh
ping 192.168.1.14 ssh admin@192.168.1.14
ls -l /data/output/Camera1/ cat /data/output/Camera1/motion.txt
Require password
The default password is empty, start the web interface with the admin user and change the password for admin and user there.
Tweaks
Git webpage
Network File Storage
The router (192.168.1.1) has network share capability with Samba, settings in MotionEyeOS admin console:
- Type: Network share
- Server: 192.168.1.1
- SMB Protocol: 1.0
- Share name: rpicam
- User: ***
- Password ***
- Root directory: /
Nautilus file explorer location:
- smb://192.168.1.1/rpicam/
Settings for better picture with low light conditions
Source:
These settings can be added In the extra motion settings box or in the configuration file. Settings that are controlled by MotionEye will be overwritten and disappear.
Note:
- Higher framerates will make the picture darker
- With daylight these settings may lead to overexposure
- Moving objects may be blurred beyond recognition
Example 1:
mmalcam_control_params -ex night
Example 2:
mmalcam_control_params -ex sports -ev 25 --shutter 256000 auto_brightness on hue 0 saturation 5 brightness 255 contrast 1
These settings can also be modified in the configuration file (thread-1.conf for Camera 1):
nano /data/etc/thread-1.conf