What is the problem?
I'm trying to prevent the camera from starting up automatically when the server boots up.
What did you already try to solve it?
Looked in settings.
Added script that waits 30 seconds after the Startup event fires then shuts down the camera.
The below Startup event command doesn't seem to fire. It writes nothing to the webcamstart.log
My subscription to startup (please forgive the extra code for debugging):
- command: echo "Webcam stop at Startup called at $(date) > /home/pi/scripts/webcamstart.log && /home/pi/scripts/webcam_cancel_on_start >> /home/pi/scripts/$ async: true event: Startup type: system
webcam_cancel_on_start script (works fine from bash):
#!/bin/bash # Waits a few seconds then shuts down the camera sleep 30 webcam stop
webcam script from here (works on bash and via config.yaml system/actions):
Additional information about your setup
OctoPrint 1.3.9 running on OctoPi 0.15.1
Nothing in octoprint.log indicates an issue, can upload a sample if needed.