Strict Standards: Accessing static property JCache::$_handler as non static in /home/igretro/public_html/bobtech/libraries/joomla/cache/cache.php on line 420

Strict Standards: Accessing static property JCache::$_handler as non static in /home/igretro/public_html/bobtech/libraries/joomla/cache/cache.php on line 422

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/system/easyheader17v23/easyheader17v23.php on line 113
motionEye cu Raspberry Pi

Articole similare


Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

Strict Standards: Non-static method modRelatedItemsHelper::cutText() should not be called statically in /home/igretro/public_html/bobtech/modules/mod_related_items/helper.php on line 119

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    SD card pentru Raspberry Pi, care este mai bun ?
    Ai un Raspberry Pi si vrei sa te pui pe treaba ? Ce memorie...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    Ce este Raspberry Pi ?
    RaspberryPi, zis RasPi, este un computer care ruleaza Linux...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    GPIO in Pyton pe Raspberry Pi
    Descarca arhiva  RPi.GPIO-0.3.1a.tar.gz si instaleaza, ...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    Pimotique - casa inteligenta cu Raspberry Pi
    Cu Pimotique poti sa-ti controlezi prizele din casa prin Int...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    MN-WD552B - dongle nano USB WiFi pentru Raspberry Pi
    Interfata USB 2.0, 802.11b/g/n, 150Mbps, 64/128-bit WEP, 128...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    Configurare Raspberry Pi pentru Python
    Cum sa instalezi Python si Geany, Hello World pe Raspberry P...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    Cum sa instalezi dongle WiFi MN-WD552B pe Raspberry Pi
    MN-WD552B nano USB WiFi functioneaza pe Raspberry Pi, dar nu...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    PiLowLib - librarie low level I/O pentru Raspberry Pi
    PiLowLib este o librarie pentru acces low level la periferic...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    PiEye - streaming webcam in format M-JPG cu Raspberry Pi
    Cu o camera web ieftina ce se conecteaza pe USB se poate f...

  • Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

    Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29
    Configurare Raspberry Pi pentru utilizarea interfetei seriale
    Foloseste libraria PySerial

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29



Strict Standards: Declaration of JCacheControllerView::get() should be compatible with JCacheController::get($id, $group = NULL) in /home/igretro/public_html/bobtech/libraries/joomla/cache/controller/view.php on line 126

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 208

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/mavikthumbnails/mavikthumbnails.php on line 393

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 28

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/phocadownload/phocadownload.php on line 29

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/codehighlighter/codehighlighter.php on line 106

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/extravote/extravote.php on line 49

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/udjacomments/udjacomments.php on line 100

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/plugins/content/udjacomments/udjacomments.php on line 136

motionEye cu Raspberry Pi

motioneye

motionEye este un frontend web pentru un soft de monitorizare video pentru Linux, numit motion. Acest tutorial descrie pasii necesari instalarii si configurarii motionEye pe un Raspberry PI. Se obtine astfel un sistem de monitorizare video inteligent si complex, bazat pe componente accesibile si software opensource.

Caracteristici motionEye

  • interfata web, design responsiv
  • protectie cu utilizator si parola (administrator si utilizator normal)
  • streaming mjpeg
  • detectia miscarii, salvare fisiere jpeg si avi
  • capturi de tip timelapse
  • setari avansate pentru camera

De ce ai nevoie

Exemple interfata

motioneye1 motioneye2 motioneye3 motioneye4 motioneye5 motioneye6

 

Instalare OS

Descarcati de aici ultima versiune a sistemului de operare RaspbianAici gasiti cum sa transferati imaginea astfel descarcata pe cardul SD. Odata copiat sistemul de operare pe card, bootati Paspberry PI-ul. Comenzile prezentate la pasii ce urmeaza se executa exclusiv intr-un terminal pe Raspberry PI.

Este recomandat sa actualizati lista de pachete existente:

sudo aptitude update && sudo aptitude upgrade

Instalare Pachete Necesare

Pentru motionEye avem nevoie de cateva biblioteci si programe suplimentare. Instalati-le cu urmatoarea comanda:

sudo aptitude install python-tornado python-jinja2 python-imaging motion ffmpeg v4l-utils

Instalare motionEye

Din lista de download-uri descarcati ultima versiune de motionEye (folositi tabul Tags). Salvati arhiva in /home/pi.

Dezarhivati (inlocuind xyz cu codul din fisierul descarcat):

cd /home/pi
tar zxvf ccrisan-motioneye-xyz.tar.gz
mv ccrisan-motioneye-xyz motioneye
cd motioneye

In aceasta etapa aveti motionEye instalat in /home/pi/motioneye, directorul curent.

Configurare motionEye

Creati un fisier settings.py pornind de la modelul implicit:

cp motioneye//settings_default.py settings.py

Setarile implicite sunt de regula bune in majoritatea situatiilor.

Daca doriti sa customizati motionEye, puteti edita ulterior fisierul settings.py - veti gasi o mica descriere aferenta fiecarei optiuni disponibile.

CSI Camera Board

Urmati aceasta etapa doar daca folositi CSI Camera Board in locul unei simple camere web pe USB.

limitari

  • un singur astfel de modul de camera poate fi utilizat cu motionEye
  • avand in vedere rezolutia mare la care poate lucra aceasta camera, e posibil ca performanta lui Raspberry PI sa nu fie suficienta

driver-ul uv4l

Modulul de camera nu are un driver nativ v4l (la momentul editarii articolului). Cu toate acestea, exista un set de componente userspace care emuleaza interfata v4l pentru astfel de module de camera. Urmatoarele pachete trebuie instalate:

sudo aptitude install uv4l uv4l-raspicam

wrapper-e pentru binare

Din pacate, driver-ul uv4l nu face modulul de camera sa se comporte in totalitate ca un dispozitiv v4l. Rezolutiile suportate de camera nu sunt listate de comanda v4l2-ctl, astfel ca e nevoie de un wrapper la acest utilitar.

Mai mult, daemon-ul uv4l trebuie pornit cu rezolutia pe care o va folosi motion. De aceea e nevoie sa folosim un wrapper si pentru motion - un script care se ocupa de aceste detalii.

Cele doua wrapper-e se prezinta sub forma unor script-uri care sunt incluse in directorul raspicam al motionEye si la care trebuie sa cream link-uri in /usr/local/bin:

sudo ln -s /home/pi/motioneye/raspicam/motion /usr/local/bin
sudo ln -s /home/pi/motioneye/raspicam/v4l2-ctl /usr/local/bin

nu merge modulul de camera?

  • asigurati-va ca rulati ultima versiune de firmware pentru Raspberry PI
  • e posibil sa fie nevoie de executia unui rpi-update pentru ca uv4l sa mearga

Rulare motionEye

motionEye nu necesita drepturi de root pentru a functiona; poate fi rulat direct din directorul in care a fost extras:

./motioneye.py

Daca totul a fost instalat si configurat in mod corect, motionEye trebuie sa emita un mesaj informativ care zice "server started". Deschideti browser-ul preferat si vizitati http://raspberrypi:8765 (inlocuind raspberrypi cu adresa IP a dispozitivului). Interfata web motionEye va aparea in fereastra. Folositi admin fara parola cand se cere autentificarea. Incepeti prin a adauga camera la motionEye, urmand indicatiile din interfata web. Puteti experimenta diversele setari disponibile.

Cand ati terminat cu "experimentarea", apasati ctrl-c.

Autostart La Boot

Veti dori probabil ca motionEye sa porneasca in mod automat la boot-area sistemului. Adaugati in acest scop urmatoarea line in /etc/rc.local (inainte de exit 0):

sudo -u pi sh -c '/home/pi/motioneye/motioneye.py > /home/pi/motioneye/run/motioneye.log 2>&1' &

Aceasta linie are ca efect pornirea serverului motionEye sub utilizatorul pi, directionarea iesirii (output-ului) catre fisierul motioneye.log si executarea procesului in background.

Daemon-ul motion e pornit in mod automat de catre motionEye, nu ar trebui pornit automat la startup.


Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/modules/mod_udjacomments/helper.php on line 26

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/modules/mod_udjacomments/helper.php on line 42

Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/modules/mod_udjacomments/helper.php on line 73

comentarii


Strict Standards: Only variables should be assigned by reference in /home/igretro/public_html/bobtech/modules/mod_udjacomments/tmpl/default_form.php on line 98