-
Notifications
You must be signed in to change notification settings - Fork 175
How to Run
If you do not wish to see speed camera verbose tracking data you can run menubox.sh
cd ~/speed-camera
./menubox.sh
Edit config.py and verify variable VERBOSE = True
cd ~/speed-camera
./speed-cam.py
or
./speed-web.py
Ctrl-c to Exit scripts.
If running in background under supervisorctl you can view tail of logs per
./speed-cam.sh log
or
./speed-web.sh log
There are several ways to start speed-cam.py and/or speed-web.py
-
./speed-cam.sh start can run speed-cam.py and speed-web.sh for speed-web.py as background tasks using supervisorctrl service. ./speed-cam.sh install and ./speed-web.sh install create symbolic links from ~/speed-cam/supervisor to /etc/supervisor/conf.d folder. This is required to initialize supervisorctl.
IMPORTANT: Make sure no other instances of speed-cam.py and/or speed-web.py are running. Disable any cron jobs or other boot startup processes. For details see link above. -
./menubox.sh is a whiptail menu system that has menu picks to stop, start and display status
-
./speed-cam.py or ./speed-web.py runs scripts directly from command line. Useful for debugging. Also eg python3 speed-cam.py
-
./speed-cam.sh or ./speed-web.sh will start, stop, restart, install, status, edit, view logs for background tasks so you can exit ssh or terminal session and continue running in background. For Details See supervisor Readme.md
To run speed-cam.py as a background task or on boot from /etc/rc.local then
cd ~/speed-camera
./speed-cam.sh edit
or
./speed-web.sh edit
change autostart=true
Then add line below before the exit line then ctrl-x y to save and reboot to test
/home/pi/speed-camera/speed-cam.sh status
Wiki Home
Description, Issues, Features
How to Install or Upgrade
How to Run
How to Calibrate
Change Settings and Plugins
How to Tune Motion Tracking
Setup RTSP Camera
rclone Remote Storage File Transfer
How to View Speed Data
How to Generate Graphs
How to Run speed-search.py
How to Start on Boot
How to use run.sh
watch-app.sh Remote config
How to Manage Sqlite3 Database
How to move speed-camera to ext drive
How to use OPENALPR with speed camera
Github Repo