Can Home Assistant trigger a Reolink recording event?

I installed the Reolink integration and now I’m struggling to figure out how an integration in HA would trigger a recording event in a Reolink camera. The use case is when a sensor goes active, trigger a recording event in a Reolink camera. For example a motion sensor around a corner would go active, trigger an automation, send a notification and start the Reolink camera to record for a set interval. This ensures recording is underway when the motion trigger comes around a corner.

I used to have this functionality with Zoneminder being triggered by a wifi door contact. Every camera near the door contact sensor would start recording.

3 Likes

I’m looking for this too. How to send a trigger to record event based on an external sensor - rather than just relying on the camera ai.

I’ve got the bones of this working by calling the camera action (can use record or snapshot i.e. video or image )

e.g.

action: camera.record
target:
device_id: 5fc996d3f82e571c7d893cfb6cb2d9cd
data:
filename: /media/domevideo.mp4
duration: 15

You need to have the directory set in the configuration.yaml file
In my case I created a media directory under home assistant directory and set this in configuration.yaml

allowlist_external_dirs:
‘/media’

I can now trigger a record to my camera and it is saved there. I can browse to it via the Media → My Media side bar

You can then send the video (via iOS)

**** Note the /local add to the path IS needed

action: notify.mobile_app_james_iphone
data:
message: Mailbox Motion Detected Dome
data:
video: /media/local/domevideo.mp4