Reolink updates Learn More
Meet Reolink at IFA 2024! Learn More
Reolink Q&A Learn More
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Actually, the ISP is not even involved because the command is sent directly from the router on the internal network, nothing travels over the public IP. As soon as my phone connects to the home network, the router sends the command to the IP room on the same network. Personally, I love MikroTik and RouterOS, you can really do a lot with it. For example, I can even send myself a notification via pushover telling me if the Reolink push is active or not.
Hi all, I own two Reolink cameras, a Reolink Duo 2 PoE and a RLC-520A. Great products, love them.Anyway, I built a highly complex system with my Mikrotik router and Node-RED to do some pretty cool stuff like geofencing and sending the snapshot of the motion via Pushover directly over my phone when I'm not at home. To do that, I'm using the API (I found the documentation) and the ONVIF, for which I cannot find anything.From Node-RED, I use the ONVIF to receive the alert when a motion is detected, and on the Reolink Duo, I can even see if it's a person, a car, or a cat! For example, this is the message I get when it detects a person:
{"topic":"RuleEngine/MyRuleDetector/PeopleDetect","time":"2024-01-12T06:57:04.000Z","property":"Initialized","source":{"name":"Source","value":"VideoSourceToken"},"data":{"name":"State","value":true},"_msgid":"a2010f594ed525a9"}
I have noticed several features, such as face detection, and I am interested in learning more about how the ONVIF server operates. Specifically, I would like to know if it follows the motion detection settings on the camera, such as zone exclusion and sensitivity, or if it is independent of them. Having access to documentation would be very helpful as it would allow me to explore even more cool things.Can I find it somewhere?Thanks!
@joseph-chircop_497308027822318 Thank you. Sorry I didn't mention that this was a preliminary test to run this command on a Mikrotik Router (RouterOS scripting). All good, leaving the command here if it can help someone:Enable or disable Push (that was my goal, change "enable" to 0 or 1), if a specified IP address (my phone) is pinged or not. In this way I have an automatic system that enables push notification when I leave home and switch them off when I come back:
:local url "https://192.168.xx.xx/api.cgi?cmd=SetPushV20&user=user&password=password" /tool fetch url=$url mode=https http-method=post http-data="[{\"cmd\":\"SetPushV20\",\"param\":{\"Push\":{\"enable\":0,\"schedule\":{\"channel\":0,\"table\":{\"MD\":\"111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\"}}}}}]"
@joseph-chircop_497308027822318 Yeah cool! HTTP (not HTTPS) was disabled.Anyway, now when I run the command I get:[ { "cmd" : "GetTime", "code" : 1, "error" : { "detail" : "please login first", "rspCode" : -6 } }]Anyway, don't worry, I should be able to find out why. You already made my day today, thanks!
@joseph-chircop_497308027822318 Still this output tho:<html><head><title>405 Not Allowed</title></head><body bgcolor="white"><center><h1>405 Not Allowed</h1></center><hr><center>nginx</center></body></html>
@joseph-chircop_497308027822318 Yeah, of course. I used those not to paste here my private information
Hey there,I own a RLC-520A. I'm testing these CGI commands: https://support.reolink.com/hc/en-us/article_attachments/15340090739353/Command.pdfAnyway, I'm stuck at the login. I can't even get the token for a long session connection. I also tested the short session.
When I run every command (from Windows), for example a very basic one like GetTime
curl -L -k -H 'Content-Type:application/json' -X POST -d '[{"cmd":"GetTime","action":"1"}]' "http://ip_address/api.cgi?cmd=GetTime&user=user&password=password"
I get this error:<html><head><title>405 Not Allowed</title></head><body bgcolor="white"><center><h1>405 Not Allowed</h1></center><hr><center>nginx</center></body></html>Please also note that I need to add the -L parameter. Otherwise, I get:<html><head><title>302 Found</title></head><body bgcolor="white"><center><h1>302 Found</h1></center><hr><center>nginx</center></body></html>I searched everywhere online and I can't figure it out what the issue here. Any help?
Welcome Back!
Hi there! Join the Commnunity to get all the latest news, tips and more!