Is there anyone who already have created a script for using the built in motion detection in Reolink cameras and wants to share it?
I found that I can get a 1 or 0 when accessing
"http://192.168.X.X/api.cgi?cmd=GetMdSta ... ord=123456" but don't want to reinvent the wheel if anyone already done it.
Reolink motion detection
Re: Reolink motion detection
I have done this in home assistant with an hikevision camera but there is also a addon for reolink doing the same:
https://github.com/fwestenberg/reolink
The binary_sensor sensor is what u are searching for.
Than create a switch to trigger zoneminder over telnet
Finaly combine all with an automatisation.
https://github.com/fwestenberg/reolink
The binary_sensor sensor is what u are searching for.
Than create a switch to trigger zoneminder over telnet
Finaly combine all with an automatisation.
-
- Posts: 14
- Joined: Tue Oct 15, 2019 11:22 am
Re: Reolink motion detection
Looks great, thank you!
I am trying to separate my ZM- and HA-server as much as I can so I really would like to use it directly on my ZM-server.
Maybe I will borrow part of your code if I manage to assemble it to another script. I am not good at python but will give it a try.
I am trying to separate my ZM- and HA-server as much as I can so I really would like to use it directly on my ZM-server.
Maybe I will borrow part of your code if I manage to assemble it to another script. I am not good at python but will give it a try.
Re: Reolink motion detection
You are welcome. But its not my code I just pointed you to a soluting someone else scripted