MotionEyeOS: Difference between revisions

From WickyWiki
mNo edit summary
mNo edit summary
Line 56: Line 56:


= Tweaks =
= Tweaks =
== Git webpage ==


* https://github.com/ccrisan/motioneyeos/wiki/Tweaks
* https://github.com/ccrisan/motioneyeos/wiki/Tweaks
== Network File Storage ==


Router network share settings (Samba) in MotionEyeOS admin console:
Router network share settings (Samba) in MotionEyeOS admin console:
Line 71: Line 75:
Nautilus file explorer location:
Nautilus file explorer location:
* smb://192.168.1.1/rpicam/
* smb://192.168.1.1/rpicam/
== Settings for better picture with low light conditions ==
Source:
* https://github.com/ccrisan/motioneyeos/issues/953
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
  brightness 255
  contrast 1
  saturation 5
  hue 0
These settings can also be modified in the configuration file (thread-1.conf for Camera 1):
<syntaxhighlight lang=bash>
nano /data/etc/thread-1.conf
</syntaxhighlight>

Revision as of 19:14, 2 March 2019


These are some notes of setting up MotionEyeOS on a RaspberryPi Zero with a mounted camera module. I used a cameramodule 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

Router network share settings (Samba) 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
 brightness 255
 contrast 1
 saturation 5
 hue 0

These settings can also be modified in the configuration file (thread-1.conf for Camera 1):

nano /data/etc/thread-1.conf