MotionEye. Installation: различия между версиями
Cless (обсуждение | вклад) (Новая страница: «= Installation = == Debian == Install utils <code>apt-get install motion ffmpeg v4l-utils</code><blockquote>note: Python 2.7 is required. If your system still r...») |
Cless (обсуждение | вклад) |
||
| Строка 53: | Строка 53: | ||
<code><ПУСТОЙ_ПАРОЛЬ></code> | <code><ПУСТОЙ_ПАРОЛЬ></code> | ||
== Raspberry PI == | |||
Качаем образ для нашего устройства | |||
https://github.com/ccrisan/motioneyeos/releases | |||
Записываем образ на SD карту | |||
В windows это можно сделать программой Etcher | |||
Загружаемся на rpi с SD карты | |||
Устройство получит IP адрес по DHCP | |||
Проходим по веб | |||
<code><nowiki>http://192.168.1.100</nowiki></code> | |||
<code>admin</code> | |||
<code><ПУСТОЙ_ПАРОЛЬ></code> | |||
= IP Camera connection = | |||
<blockquote>Camera '''Profvideo IP20''' as example</blockquote>Убеждаемся что протокол RTSP на камере включен<blockquote>??? # путь для подключения камеры из motioneye | |||
??? rtsp://192.168.17.205:554/</blockquote>Для определения URI rtsp для подключения камеры используем программу "'''Onvif device manager'''" | |||
[[Категория:MotionEye]] | [[Категория:MotionEye]] | ||
[[Категория:Debian]] | [[Категория:Debian]] | ||
| Строка 58: | Строка 84: | ||
__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__ | __ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__ | ||
__БЕЗ_РЕДАКТИРОВАНИЯ_РАЗДЕЛА__ | __БЕЗ_РЕДАКТИРОВАНИЯ_РАЗДЕЛА__ | ||
[[Категория:RaspberryPi]] | |||
Версия 21:23, 16 ноября 2023
Installation
Debian
Install utils
apt-get install motion ffmpeg v4l-utils
note: Python 2.7 is required. If your system still runs Python 2.6 or older, please upgrade.
apt-get install python-pip python-dev python-setuptools curl libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
Motioneye installation
pip install motioneye
Config
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
Prepare the media directory
mkdir -p /var/lib/motioneye
Add an init script, configure it to run at startup and start the motionEye server
Debian 7, sysvinit-based:
cp /usr/local/share/motioneye/extra/motioneye.init-debian /etc/init.d/motioneye
chmod +x /etc/init.d/motioneye
update-rc.d -f motioneye defaults
/etc/init.d/motioneye start
Debian 8 and newer, systemd-based:
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye
To upgrade to the newest version of motioneye, after it has been released, just issue:
pip install motioneye --upgrade
systemctl restart motioneye
Go to web
http://192.168.1.100:8765
admin
<ПУСТОЙ_ПАРОЛЬ>
Raspberry PI
Качаем образ для нашего устройства
https://github.com/ccrisan/motioneyeos/releases
Записываем образ на SD карту
В windows это можно сделать программой Etcher
Загружаемся на rpi с SD карты
Устройство получит IP адрес по DHCP
Проходим по веб
http://192.168.1.100
admin
<ПУСТОЙ_ПАРОЛЬ>
IP Camera connection
Camera Profvideo IP20 as example
Убеждаемся что протокол RTSP на камере включен
??? # путь для подключения камеры из motioneye ??? rtsp://192.168.17.205:554/
Для определения URI rtsp для подключения камеры используем программу "Onvif device manager"