Camera.snapshot not available for particular entity; how to get image? (motion)

Hi everybody,

I run several cameras on raspberry pis via motion. These cameras can be integrated in Home Assistant, however, it seems like the camera.snapshot service is not available for those cameras. Or I just haven’t figured out how to…?

I thought of writing a bash or python script to run ffmpeg in order to grab a still image from the camera feed, then save it somewhere that Home Assistant can access it (I generally use downloads/cameras for those camera.snapshots that do work), and then grab the image and send it via Telegram through Home Assistant, as I would any other snapshot.

However, this seems a bit overblown considering that all I want is to send a camera snapshot whenever the corresponding motion sensor is triggered.

Just to clarify, those camera entities that have either still_image_url or (I believe rtsp in general), can successfully create snapshots, only the ones on raspberry pi running motion will not work.

Thank you for your ideas :slight_smile: