I see there is some support for Zoneminder such as changing camera mode, is there any way to get events to trigger based on a camera state (idle, alert, alarm) to trigger events like turning on a light when motion is detected?
I’ve been using Zoneminder for several years and I’ve got it reliably working with motion detection triggering alarms with few false positives and accurately catching when people come/go or what the pets are doing, it would be nice now that I’m getting into Home Assistant to take advantage of that for motion detection (e.g. motion alarm on driveway/steps, turn on the lights) but I don’t see much if any information on it.
I found an API that supposedly allows HTTP requests to get a JSON camera alarm status but I can’t find information about what the numeric value represents (I see 0, 2, 3, 4 returned depending on motion detection state and camera mode) and I can’t find any information about how often HomeAssistant would poll the sensor HTTP API even if I figure out the key-value pairing.