Record Video after Event

Hi!

I’m very new to HASS and am currently working on an alarm system.

After an alarm happened / is triggered by a motion sensor (not from the webcam) I want to start the webcam and record a video of the potential burglar or whatever.

Currently, I have installed motion and ffmpeg but I don’t want to run this all the time and record everything that happens.

Is there a way to react on an activated alarm, for example start motion and record a video till the alarm is deactivated?

Thank you very much in advance!

What kind of Camera?

PS Eye.

With Motion and ffmpeg it’s already working.

Hello,

can you share how you did it, specially the ffmpeg part? I’m trying to do the same (after an event, record a video, send it over notifications component, e.g. telegram).

thanks,
Ignacio.