Jump to content

Keno

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Keno

  1. sudo wget https://github.com/k...armhf-2.1.0.deb
    dpkg -i download/v2.1.0/rpi3-machinery-kerberosio-armhf-2.1.0.deb
    

    looks like it should be;

    sudo wget https://github.com/k...armhf-2.1.0.deb
    
    dpkg -i rpi3-machinery-kerberosio-armhf-2.1.0.deb
    

    we didnt change directories, please also use <> for code, as it will not shorten addresses. 

     

     

    I also made it even easier to get those files that are required by kerbereros

    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/raw/master/libavformat.so.56
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libcontainers.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libmmal.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libmmal_components.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libmmal_core.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libmmal_util.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libmmal_vc_client.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libswscale.so.3
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libvchiq_arm.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libvcos.so
    sudo wget https://github.com/Tom-Neverwinter/kerberosiolibs/blob/master/libvcsm.so
    
    mv libavformat.so.56 /etc/opt/kerberosio/config
    mv libcontainers.so /etc/opt/kerberosio/config
    mv libmmal.so /etc/opt/kerberosio/config
    mv libmmal_components.so /etc/opt/kerberosio/config
    mv libmmal_core.so /etc/opt/kerberosio/config
    mv libmmal_util.so /etc/opt/kerberosio/config
    mv libmmal_vc_client.so /etc/opt/kerberosio/config
    mv libswscale.so.3 /etc/opt/kerberosio/config
    mv libvchiq_arm.so /etc/opt/kerberosio/config
    mv libvcos.so /etc/opt/kerberosio/config
    mv libvcsm.so /etc/opt/kerberosio/config
    
    

    Yes this code is ugly ^^^ (but I want to make 8+ of these things)

    if I commit the config and camera.xml files and this will be even easier

     

    Two small changes to setting up the board for ease of use and later on when it should record timestamps;

    dpkg-reconfigure tzdata
    
    nmtui-connect SSID
    
    

    finally installation just in case; 

    nand-sata-install
    

    I attempted to;

    sudo modprobe gc2035

    sudo modprobe vfe_v4l2

    to get the orangepi onboard camera to show up but it hangs so :(

    lsusb only shows;

    Bus 008 Device 002: ID 06a3:8021 Saitek PLC Eclipse II Keyboard
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     
    after the first attempt I could no get the ngix server to even start and it seems it does need some of those files.
     

    attempt #2

    THIS IS BROKEN, DEPRECIATED SCRIPT!;

    curl -sL https://deb.nodesource.com/setup | sudo bash - 
    sudo apt-get install git nginx php5-cli php5-fpm php5-gd php5-mcrypt php5-curl nodejs
    

    The ability to reboot is also lost somewhere in here or I am running a different version causing conflicts.

     

    If you could post a working image that would be much more useful. use win32 diskimager to clone the card

  2. There have been several disjointed tutorials on making a raspberrypi or orangepi into a surveillance camera. So I threw this together to maybe help someone out there with any issues.

    I used the orangepipc+ but any orangepi board should work as long as it has the basics, internet connectivity, storage, and a camera. (I highly suggest heatsinks as well)

     

    any feedback or enhancements to this tutorial are greatly appreciated.

     

    ------------------------------------------------------------------

    ORANGEPI IPCAMERA

    ------------------------------------------------------------------

     
    su root
     
    apt-get update
    apt-get upgrade
    apt-get install
    
    wget https://github.com/ccrisan/motioneye/wiki/precompiled/ffmpeg_3.1.1-1_armhf.deb
    dpkg -i ffmpeg_3.1.1-1_armhf.deb
     
    apt-get remove libavcodec-extra-56 libavformat56 libavresample2 libavutil54
     
    apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 libavcodec56 libavformat56 libmysqlclient18 libswscale3 libpq5
     
    wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/pi_jessie_motion_4.0.1-1_armhf.deb
    dpkg -i pi_jessie_motion_4.0.1-1_armhf.deb
     
    pip install motioneye
    
    mkdir -p /etc/motioneye
    cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
     
    mkdir -p /var/lib/motioneye
     
    cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
    systemctl daemon-reload
    systemctl enable motioneye
    systemctl start motioneye
     
    sudo modprobe gc2035
    sudo modprobe vfe_v4l2
     
    systemctl restart motioneye

    Accessing The Frontend

    After having successfully followed the installation instructions, the motionEye server should be running on your system and listening on port 8765. Fire up your favorite web browser and visit the following URL (replacing [your_ip] with... well, your system's IP address):

    http://[your_ip]:8765/

    Use admin with empty password when prompted for credentials. For further details on how to configure motionEye, see Configuration.

     

    ------------------------------------------------------------------

    FOR UPDATES;

    ------------------------------------------------------------------

     

    pip install motioneye --upgrade

    systemctl restart motioneye

     

     

     sudo nano /etc/motioneye/motioneye.conf

    ctrl+x then y (nano)

     

    Modifiy the motion.config file to turnoff localhost;

    stream_localhost off

     

    change the port to 80 from 8765 if desired by; 

     

    systemctl enable motion

    systemctl start motion

     

     

    Tutorial sources;

    https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

    http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=941 

    http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1988  (some resources for motion)

    http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/(VERY OLD)

     

    WIP tutorial, I want to add a version with facial recognition using openface and a version using ALPR (automatic license plate recognition, as the orangepi systems can have 2GB of ram)

     

    Update 1 09/30/16;

    seems there is a issue with motioneye and being unable to find the csi camera. I'm trying to find a work around, any help is appreciated.

    Update 2 11/05/2016

    Updated motioneye installation

    added information on motion and basic setup (incomplete)

    the editor seems to be breaking my wget addresses :(

    I forgot to add the login information and frontend... *DOH*

  3. I was testing the orangepi PC+ armbian build 5.20 (Armbian_5.20_Orangepipcplus_Debian_jessie_3.4.112_desktop)

    when messing with it it seemed to have random reboots. I thought initially it was because it was lacking a heatsink or fan. So I added both and the issue persisted. Thinking maybe if I flashed to emmc it might resolve the issue it froze in emmc install and is effectively softbricked from what I can tell sadly.  I also tested a second OPIPC+ but was unable to get it to boot. I tested with multiple new power cables as well.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines