map7 / motioneye_chpos

MotionEYE change position of cameras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MotionEYE Chpos

MotionEYE Chpos

Script to change position of cameras on a MotionEYE NVR.

NOTE: This is experimental, use at own risk, always backup before hand (including the /etc/motioneye directory).

Installation

On Linux

  1. Clone
    https://github.com/map7/motioneye_chpos.git
        
  2. Change permissions
    cd motioneye_chpos
    chmod +x chpos
        

Usage

  1. Backup
    chpos backup
        

    This will backup /etc/motioneye to /etc/motioneye-[date]

  2. Change camera id ‘4’ to be camera id ‘1’
    chpos 4 1
        

    This will swap the camera4 & camera1 around. You should step through each camera position starting at position 1 and build your order.

  3. Restart & test
    systemctl restart motioneye
        

    OR for docker

    docker restart motioneye
        

Authors

Michael Pope michael@dtcorp.com.au

Distributed under the MIT license.

Contributing

  1. Fork it (https://github.com/map7/motioneye_chpos.git/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (=git commit -am ‘Add some fooBar’=)
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

MotionEYE change position of cameras


Languages

Language:Ruby 100.0%