Sunday, June 20, 2021

Motioneye on Raspberry Pi w/ wyze v2 camera & NAS storage

 


my setup

- Pi 4 running Raspbian GNU/Linux 10 (buster)

- Docker w/ motioneye & docker-wyze-bridge containers

-WD MyCloud NAS (remote access disabled)

- Windows 10

- Wyze v2 indoor cam w/ rtsp 

- Wyze v3 outdoor cam (docker-wyze-bridge


key steps

- mount NAS share to Pi folder.  

sudo mount -t cifs -o rw,guest,vers=1.0 //[ip_address of NAS drive]/[NAS folder name]  [mount point]

- start motioneye container (from https://github.com/ccrisan/motioneye/wiki/Install-in-Docker)

docker run --name="motioneye" \

    -p 8765:8765 \

    --hostname="motioneye" \

    -v /etc/localtime:/etc/localtime:ro \

    -v /etc/motioneye:/etc/motioneye \

    -v /mount/point:/var/lib/motioneye \  

    --restart="always" \

    --detach=true \

    ccrisan/motioneye:master-armhf


- from browser open motioneye  

-  add camera. for wyze v2 camera 

device =  rtsp://192,168.x.xxx/live and username/password same as wyze app

storage device = custom path (default and only option)

root directory = /var/lib/motioneye (the -v  /mount/point:/var/lib/motioneye from above maps to the NAS drive 








No comments: