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).
On Linux
- Clone
https://github.com/map7/motioneye_chpos.git
- Change permissions
cd motioneye_chpos chmod +x chpos
- Backup
chpos backup
This will backup /etc/motioneye to /etc/motioneye-[date]
- 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.
- Restart & test
systemctl restart motioneye
OR for docker
docker restart motioneye
Michael Pope michael@dtcorp.com.au
Distributed under the MIT license.
- Fork it (https://github.com/map7/motioneye_chpos.git/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (=git commit -am ‘Add some fooBar’=)
- Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request