Using camera motion detection with Home Assistant and ZoneMinder

I’ve been using ZoneMinder to perform motion detection and recording, but the motion detection eats into my CPU headroom. I was reading this article the other day and was wondering if I could offload the motion detection from ZoneMinder to my Foscam IP cameras, using HA as the go-between.

Works quite well:

1. Create a sensor to read the camera motion detection state
2. Create a switch to trigger ZoneMinder to record
3. Write some automation rules to tie them together.

How’d you go, did you get anywhere … I’m also interested in doing this.

There is an example here: ZoneMinder create video after trigger and send to messenger

But I’m wondering if there is an easier way.