1. 모듈 설치
apt-get update
apt-get install motion
2. 설정
아래 설정 파일들을 열어서 설정 내용을 변경
- /etc/motion/motion.conf
daemon off --> daemon on
webcam_localhost = on --> webcam_localhost = off
- /etc/default/motion
start_motion_daemon = no --> start_motion_daemon = yes
stream_localhost = on --> stream_localhost = off
- /etc/modules (raspberry pi 카메라 모듈 사용시)
bcm2835-v412 라인추가
==> rebooting 필요
3. 서비스 start
service motion start
4. webcam 영상 보기
raspberry pi ip를 확인후 (예, 10.10.10.10)
http://10.10.10.10:8081
5. dns
개인 dns 등록이 필요하면 no-ip에서 신청 (무료)
https://www.noip.com
광고
광고
'RaspBerry PI' 카테고리의 다른 글
기온 / 습도 체크 (0) | 2019.06.16 |
---|---|
nodemcu v3 esp8266 layout (0) | 2019.06.16 |
raspbian update (0) | 2019.06.14 |
os 버전 (0) | 2019.06.14 |
서비스로 program 등록 (0) | 2019.06.14 |