Open ETE-Design opened 1 month ago
Hi
The dependency versions in the create-deb,sh script are for Ubuntu 24.04 (Noble Numbat) which can be installed with the Raspberry pi Imager.
With the current dependencies, it won't install on Raspberry pi OS lite. I have just tried it and sudo apt install ./security-cam_9.1.1_arm64.deb returns the following : -
The following packages have unmet dependencies: security-cam : Depends: motion (>= 4.6) but 4.5.1-2 is to be installed Depends: curl (>= 8.5.0) Depends: nginx (>= 1.24.0) but 1.22.1-9 is to be installed Depends: chrony but it is not going to be installed Depends: network-manager (>= 1.46.0) but 1.42.4-1+rpt1 is to be installed Depends: python3.12-venv but it is not installable
It should run OK on Raspberry pi OS Lite (64 bit version) and if you want to install it on that, you will need to change the dependency versions in the create-deb.sh file to limits which will allow the versions available on that OS and build the project (./gradlew buildDebFile). python3.12-venv would be changed to python3.11-venv.
Motion detection (when done in the application rather than by camera ftp) does not use grids as such, but you can set up mask files and upload them on the configuration page. The mask file comprises black an white areas where motion detection is only applied to the white areas. Please refer to the motion project documentation for info on mask files https://motion-project.github.io/motion_config.html#mask_file
Note that you don't need to directly edit the motion service config files, these are generated and updated by the camera configuration editor (under the General menu).
Hope this helps
@richard-austin That's great to hear that it should be possible to run on Raspberry Pi OS Lite... Any how I'm really not into Linux / Programming... Windows Here... Can I somehow ask you to compile it?
I've built it but it's not perfect. I use ffmpeg 4 bundled with the application normally as version 5 and above don't like cameras which don't put pts (presentation time stamps) in the stream (as is the case with my cameras). I set it to use the standard ffmpeg which you can install after installing the application (apt install ffmpeg). This will work fine with audio if you cameras have pts in the stream, otherwise you will need to disable audio on the config page.
The best option is to install Ubuntu 24.04 and use the normal deb file in the latest release area.
Download the pi OS lite version by using
wget https://github.com/richard-austin/security-cam/releases/download/9.1.1/security-cam_9.1.1-dirty_arm64.deb
then sudo apt install ./security-cam_9.1.1-dirty_arm64.deb
Hi.
Will this work on Raspberry Pi OS Lite? Also is it possible to make a "Grid" so motion detection is only recording if anything inside the grid is moving?