Hey everyone.
I’m wanting to do a bit of advanced automation. I have a reolinkRLC-832S2 which has PTZ and patrol, yaddah yaddah.
While I’m able to get the patrol working in the reolink and view it n all, the lack of ability in the reolink firmware to A) engage autotracking while on patrol and B) have multiple patrols. Is frustrating.
So since the ptz preset locations are exposed to HA, I wanted to setup a “while-true” loop for the camera.
Now I’m not having a problem with the loop, because that’s simple while x, do - set zoom, set speed, goto preset, wait x, set zoom set speed goto preset b…etc
The thing I want to find is if there’s a state where I can interrupt if the device has triggered the reolink autotracking and it’s following an object, so a condition that I can check against, and then state change when that has gone back to “home” per se to restart the partol or continue it.
Other things I’m aiming to do which I can probably wrangle in frigate is when a subject enters a zone in a static camera that overlaps with a PTZ zone the PTZ camera goes to the preset for that zone.
Anyone encounter this and get the appropriate entities/states/attributes?
Cheers.
EDIT: I should probably mention that I basically want to have a partol “while I’m home during the day” that focuses on my bird feeders and while not home that focuses on the grounds, and a night patrol which will mimick the grounds but also any entry/exit points so I’m not stepping on a skunk.