CroatianMeteorNetwork / RMS

RPi Meteor Station
https://globalmeteornetwork.org/
GNU General Public License v3.0
169 stars 47 forks source link

Scripts/RMS_SetCameraParams and dvrip issues #190

Closed Cybis320 closed 11 months ago

Cybis320 commented 11 months ago

II'm a beginner with this project, and I encountered some issues while trying to run the RMS_SetCameraParams.sh script. Here's what I found and how I fixed it:

  1. Script Initialization: I needed to add these lines at the start of the script to make it work:
source ~/vRMS/bin/activate
cd ~/source/RMS

2. Dependency Issue: The wrong dvrip dependency was installed on my RPi (from the provided image), specifically this one: alexshpilkin/dvrip. I had to remove that package and install the correct one from NeiroNx/python-dvr to get the script to work.

Cybis320 commented 11 months ago

Apologies, I was confused, python-dvr is installed after running RMS_FirstRun.sh. However, it still needs to be run in ~/source/RMS and I think the camera needs rebooting for the changes to take effect, so I added this line at the end of RMS_SetCameraParams.sh:

python -m Utils.CameraControls.SetParam reboot