はじめに RaspberrypiでLINE通知する簡易防犯カメラで書いた通り、動体検知のタイミングだけではなく、気になったときにいつでも撮影できるようにしたいと考えていた。 当初はオレンジ点線のようにLINEBot経由で撮影させる方法を考えていたのだが、2つ課題があることが分かった。 ①motionが常時ストリーミングしてカメラデバイスを占領しているため、rappistillコマンドを別プロセスで起動できない sudo raspistill -w 480 -h 360 test.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't be enabled mmal: main: Failed to create camera componen