Turn of the built in camera module

Heay guy’s!

So I’m toying with the idea to scrap the built in camera module and exchange it for motion wish is a grate streaming and time laps software for linux devices

But to do this I need to turn of the existing one because it steals the camera and blocks motion from using it. So simply, how do i do that?

Are you running on a Pi?

I sure am, PI and MS LiveCam 3000

http://wordblind.se:8081/ if you care to watch :smile:

My workaround now is a small sh script that run 30sec after boot that restarts the services in order,

crontab

@reboot sleep 30 && /home/pi/test.sh

Scrpit

#!/bin/sh
service astrobox stop
sleep 5
service motion restart
sleep 5
service astrobox start

@jonas thanks, I’ll add a setting to disable control of the camera.

1 Like

If i where you I’d add the motion package in to the build, it’s awesome for making easy live video and timelaps.

1 Like

Yeah. I’m going to definitely take a look