Cov txheej txheem:

Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt: 7 Kauj Ruam
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt: 7 Kauj Ruam

Video: Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt: 7 Kauj Ruam

Video: Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt: 7 Kauj Ruam
Video: Media disconnected error message on Windows 10 / 11 Fix 2024, Kaum ib hlis
Anonim
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt
Txhim kho MotionEye ntawm Linksys WRT3200ACM Nrog OpenWrt

Xav tau lub koob yees duab kev nyab xeeb rau kuv lub tsev Kuv tau mus ntsib inter-webs rau qhov qhib qhov kev xaiv. Qhov no coj kuv mus rau Motioneye lub vev xaib mus rau Motion daemon rau linux. Qhov haujlwm no los ntawm Calin Crisan (MotionEye) tsuas yog qhov uas cov kws qhia ntawv tau xaj. Nws muaj qhov ua tau zoo tshaj plaws thiab yooj yim rau teeb tsa thiab siv.

Tom ntej teeb tsa tawm kom pom lub platform tsim nyog los khiav MotionEye's ntawm nws lub xeev wiki koj tuaj yeem ua nws ntawm plethora ntawm Linux OS li ntawd kuv pib xav, zoo, Kuv yuav siv kuv li PI. Tib lub sijhawm kuv nyuam qhuav yuav ib lub Linksys WRT3200ACM router uas kuv tau teeb tsa OpenWrt rau nws. Yog li thaum teeb tsa OpenWrt thiab txhim kho pob khoom, Kuv nco qab tias muaj cov lus qhia ntawm MotionEye's wiki rau "Txhim Kho Ntawm Lwm Yam Kev Tshaj Tawm". Ua raws li wiki cov lus qhia thiab nrog qee qhov kev hloov kho, voilà, Kuv tau Motioneye ua haujlwm raug ntawm kuv li Linksys WRT3200ACM router, txias!

Phau ntawv qhia no yuav qhia cov kauj ruam rau nruab Motioneye's ntawm Linksys WRT3200ACM router uas tuaj yeem ua haujlwm rau lwm tus routers ib yam.

Kauj ruam 1: Pib:

Pib Pib
Pib Pib

Kuv tau teeb tsa txhua yam los ntawm kab hais kom ua, koj tseem tuaj yeem siv Luci los teeb tsa pob khoom tab sis yuav muaj ssh rau hauv lub router kom ua tiav phau ntawv qhia no.

SSH rau hauv koj lub router, los ntawm kev teeb tsa tshiab ntawm OpenWrt nws yog 192.168.1.1

Luam thiab paste cov lus pom hauv qab no:

ssh hauv paus@ 192.168.1.1

Kauj Ruam 2: Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau:

Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau
Siv Opkg los Txhim Kho Cov Pob Khoom Xav Tau

Cov no yog qhov tsawg kawg ntawm cov pob uas xav tau los khiav MotionEye.

Luam thiab paste cov lus pom hauv qab no:

opkg hloov tshiab

opkg nruab sej

opkg nruab curl

opkg nruab tsab ntawv tsa suab

opkg nruab ffmpeg

opkg nruab v4l-utils

opkg nruab sej-pip

opkg nruab python-dev

opkg nruab sej-curl

opkg nruab hauv ncoo

# yeem rau qhov kev qhia no

opkg nruab nano

Kauj Ruam 3: Hloov kho 'setuptools' thiab Nruab Motioneye:

Txhim kho 'setuptools' thiab Nruab Motioneye
Txhim kho 'setuptools' thiab Nruab Motioneye
Txhim kho 'setuptools' thiab Nruab Motioneye
Txhim kho 'setuptools' thiab Nruab Motioneye

MotionEye's tau sau ua sej, siv PIP rub tawm thiab teeb tsa nws.

Luam thiab paste cov lus pom hauv qab no:

pip nruab -hloov kho setuptools

pip nruab motioneye

Kauj Ruam 4: Tsim Cov Txheej Txheem Txheej Txheem thiab Luam Tus Qauv Kho Kom Zoo rau Nws:

Tsim Cov Txheej Txheem Txheej Txheem thiab Luam Tus Qauv Kho Kom Zoo rau Nws
Tsim Cov Txheej Txheem Txheej Txheem thiab Luam Tus Qauv Kho Kom Zoo rau Nws

Ntawm no peb yuav tsum tsim cov npe kom khaws cov ntawv theej ntawm cov qauv teeb tsa.

Luam thiab paste cov lus pom hauv qab no:

mkdir -p /etc /motioneye

cp /usr/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf

Kauj Ruam 5: Tsim Media Directory:

Tsim Media Directory
Tsim Media Directory

Txhawm rau khaws ib qho txiaj ntsig zoo ntawm cov ntaub ntawv xov xwm koj yuav tsum txuas rau lub router qee yam kev khaws cia. Lub npe teev npe MotionEye siv tau muab rau hauv qab no tab sis nco ntsoov lub router no muaj qhov txwv tsawg.

Cov lus txib hauv qab no yuav zoo rau tsuas yog pom tias nws ua haujlwm tab sis hloov nws mus rau lwm qhov chaw khaws cia yog tias koj npaj yuav khaws cov ntaub ntawv tshaj tawm. MotionEye's media directory tuaj yeem hloov pauv hauv lub vev xaib tom qab kuaj tas.

Luam thiab paste cov lus pom hauv qab no:

mkdir -p/var/lib/motioneye

# Yog tias cov ntawv tshaj tawm xov xwm tsis raug no yuav tsis siv qhov kev hloov pauv yuav tsum tau hloov kho tshiab hauv /etc/motioneye/motioneye.conf.

# Siv nano, qhib /etc/motioneye/motioneye.conf

# Nrhiav 'media_path' nkag thiab hloov txoj hauv kev rau koj qhov chaw cia sab nraud. Qhov no yog qhia hauv daim duab saum toj no.

Kauj Ruam 6: Pib MotionEye Server:

Pib MotionEye Server
Pib MotionEye Server

Nov yog qhov pib hais kom ua rau MotionEye. Qhov ntsuas -b ua rau MotionEye khiav hauv keeb kwm yav dhau thiab yuav xav tau dab tsi kom nws pib thaum khau raj. Yog tias koj xav kom debug, tshem tawm -b qhov ntsuas thiab siv -d.

Luam thiab paste cov lus pom hauv qab no:

meyectl pib ua haujlwm -c /etc/motioneye/motioneye.conf -b

Koj tuaj yeem ntxiv cov lus txib no rau cov khoom pib hauv Luci kom pib ntawm khau raj.

Kauj Ruam 7: Qhib MotionEye Website:

Qhib MotionEye Website
Qhib MotionEye Website

Tam sim no tias MotionEye tau teeb tsa thiab khiav hauv koj tus browser nkag mus rau qhov chaw nyob: 192.168.1.1:8765

Nws yog !!!

Tam sim no siv MotionEye nyeem los teeb tsa nws!

Pom zoo: