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).
I'd like to put an RLC-410 up by my mailbox and trigger a recording any time my mailbox gets opened, along with the standard pre- and post-trigger time. I can't use motion detection because cars drive by 100x a day.Some other camera brands have hardware triggers available, so that I could put a switch in my mailbox, and when it's opened, it triggers the hardware switch and captures a recording.None of the Reolink cameras has a hardware trigger feature, as far as I know, but I was thinking I could detect the switch opening with a Raspberry Pi, if I could then send a software command (e.g. an HTTP request) to my Reolink camera to trigger a recording. Note that I don't want to capture the recording on the Pi; I just want to send a command to the camera so that the camera does what it would normally do if it detected motion (e.g. record on the internal SD card and send the alert email, etc). Then I can log into the camera later and view the recording. I've read through the CGI commands and I don't see any way to do this:https://reolink.com/wp-content/uploads/2017/01/Reolink-CGI-command-v1.61.pdfThanks!
Attached.There really isn't an issue with my unit; it's just a general observation on all of your zoom cameras. They don't store focus points, and I was trying to figure out why. Because they can't store focus, they rely on autofocus or manual focus, and manual focus has proven itself to be very difficult to use over high latency links, and I was trying to figure out why.RLC-423_SystemInfo.png
You can request a JPG from a Reolink camera any time by using a URL such as:http://192.168.1.11/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abcde&user=anonymous&password=passwordwhere:
#!/bin/bashcd /Users/steven/Documents/Beekeeping/BeeCam/TimeLapse/while truedooutfile=$(date +%Y-%m-%d-%I-%M)outfile+=.jpgcurl -o $outfile "http://192.168.1.11/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abcde&user=anonymous&password=password"sleep 60sdone
Thanks! I'll try this sometime next week when my Raspberry Pi breadboard comes in and I can build my visible LED panel.
So this sorta works and sorta doesn't. I have two bash scripts set up. The first gets a token, so that I can authenticate commands for the next hour:
#!/bin/bashReolinkToken='curl -s GET "http://192.168.1.11/cgi-bin/api.cgi?cmd=Login&token=null" -d '[{"cmd":"Login","action":0,"param":{"User":{"userName":"admin","password":"MyActualPassword"}}}]' | jq -r '.[].value.Token.name''echo $ReolinkToken
#!/bin/bashReolinkToken=$1Cmd=$2Pause=$3curl -s POST "http://192.168.1.11/cgi-bin/api.cgi?cmd=PtzCtrl&token=$ReolinkToken" -d '[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"'$Cmd'","speed":32}}]'sleep $Pausecurl -s POST "http://192.168.1.11/cgi-bin/api.cgi?cmd=PtzCtrl&token=$ReolinkToken" -d '[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"Stop"}}]'
./CommandPauseStop.sh 411d80b6c8c4dd0 ZoomDec 0.1
I did some snooping of the http traffic from the client to the camera, and I now understand why manual focus is nearly unusable. Here's what the web client sends when you depress Focus In, e.g. a MouseDown() event:[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"FocusInc","speed":32}}]and when you release the mouse button, e.g. a MouseUp() event:[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"Stop"}}]The focus motor doesn't increment to a numerical position or by a numerical amount; it goes forward (or backward) until it's explicitly told to Stop, and timing of the Stop is based on a MouseUp() event in the browser. With the inherent latency in the video preview and the high latency of controlling this over the internet, accurate focusing based on visual feedback is virtually impossible.I've also observed that changing the Speed value in the slider has no apparent effect on Focus and Zoom. The commands appears to change, but the Focus and Zoom motors appear to move just as fast at "speed":1 as they do at "speed":32.So here's my proposed solution, which should be doable in software:
Got a compleately different answer from your support: due to hardware limitations it’s not possible to store focus information with the view presets.This makes the RLC-423 a toy and not a surveillance camera. In more than 80% of the situations, the camara is not able to get a sharp picture after changing the view position.
I haven't had nearly this level of problem; my RLC-423 focuses correctly 90% of the time. But I certainly understand the issue.I did some snooping of the http traffic from the client to the camera, and I have a theory as to why storing the focus is not possible. Here's what the web client sends when you depress Focus In:[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"FocusInc","speed":32}}]and when you release the mouse button:[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"Stop"}}]The focus motor doesn't increment to a numerical position; it goes forward (or backward) until it's explicitly told to Stop. My theory is that the focus motor has no position sensor or encoder. It's just forward/reverse commands with hard stops or software stops. The camera can't store position because there is no position to store.This is not something that can be fixed in firmware. I suppose Reolink could create an algorithm to "accumulate" motion from the last known hard stop, and then home itself against a hard stop and attempt to recover the position with a timer, but that's unlikely to be more accurate than the current autofocus algorithm, which appears to work by detecting contrast.If I'm correct, the focus/autofocus will never get any better without a hardware revision.It's not a problem for me, because my camera focuses well enough for my application, but I can see why it would be in other applications.
Interesting. I haven't had that problem (yet). I have the RLC-423 staring right at the entrance to one of my established hives, and the bugs never both the camera at night. Then again I don't have the motion trigger turned on, because the bees are always moving during the day:https://www.youtube.com/user/IAmTheWaterbug/live
Unfortunately the original article where I found that PDF link specifically said something like, "Not for personal use" or something like that, e.g. they don't support regular users like me. It's not really a public API.Yes, I do have the latest firmware on all my cameras.I could use a tiny camera inside the hive, but I wanted better image quality, so I've mounted the camera one the outside, like this:http://www.kan.org/pictures/InteriorCameraThruBaffle.jpglooking through a piece of glass:http://www.kan.org/pictures/CameraFromInside.jpg
Hmmm. Here's an interesting anomaly. I have 4 Reolink cameras right now. Using that same "snap" command:http://192.168.1.14/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abcde&user=anonymous&password=passwordand changing only the IP address for each of the four cameras, here's the size of the resulting JPG I get:RLC-423 at .11 outputs 1536 × 864 despite video set for 2304 x 1296.RLC-411 at .13 outputs 2304 x 1296, matching the video settings.RLC-411 at .9 outputs 2560 x 1440, matching the video settings.RLC-410 at .14 outputs 2304 x 1296, matching the video settings.So why does the RLC-423 output the JPG at a different size from the video stream?
Ah, I just found this!https://home-cdn.reolink.us/wp-content/uploads/2017/01/Reolink-CGI-command-v1.61.pdfIt works! I just have to figure out how to get a Pi to turn on a set of visible LEDs and snap a photo every 10 minutes.
I know I can get emailed when motion occurs. I want to trigger a capture based on a external hardware trigger, like a signal from a Raspberry Pi, or on a software trigger, like a cgi command/http request.
Is there any way to use an electrical signal or software signal to cause an RLC-410 or RLC-411 to capture an image and upload it via FTP?I want to do a time-lapse video inside a dark box (a beehive), but I want to turn on a light very briefly, once every 10 minutes, just to take an image and then shut the light off again, so I don't disturb the bees.I don't want to use motion detection (caused by the light going on) because I'd have to collect a gazillion video clips and extract the frames I want. I want to leave my camera in daytime mode (even though it's dark), turn on the light every 10 minutes, wait 2-3 seconds for the camera to adjust, then take 1 still image and FTP it.
I going to set up two cameras looking into a dark box. I want Camera 1 to be in night vision mode all the time with its LEDs on, no matter what the illumination level. I want Camera 2 to be in daytime mode all the time, with its LEDs off, no matter what the illumination level. Separately I'm going to turn on a visible light every 10 minutes, so I can do a time lapse with Camera 2 (via FTP).The problem is that Camera 1's LEDs are going to mess up the Camera 2's light sensor, and the periodic "strobe" is going to push Camera 1 out of night mode.Is there a way to program these modes to On or Off, so that they're not dependent on the light level?More detail: I have an RLC-410 and an RLC-411 looking at a "swarm trap," intended to capture a wondrous event, as a feral swarm of bees moves in:https://www.youtube.com/channel/UCIVY11504PcY2sy2qpRhiMg/liveandhttps://www.youtube.com/channel/UC7FH1CCSdg1-W9mlJ52cceQ/liveI capture this type of event last spring, but with a terrible camera. I want to do this again, with two good cameras: https://www.youtube.com/watch?v=Zwl-NjRIn6k&feature=youtu.be&t=2h44m0sI also want to add a 3rd camera, looking in from the side, to build a time-lapse video of the honey comb being built, similar to what this guy did in 2010:https://www.youtube.com/watch?v=MRuAMkRgnEE
Actually it looks like the image sensor difference might be a typo. The 5 MP sensor is taller, and should have the 1/2.7" sensor, whereas the 4 MP sensor should be 1/3.0". But my question about the power supply compatibility is the real question.
I need one more inexpensive camera, and I'm considering either the RLC-410 or the RLC-410W. The 410W model is actually less expensive right now, despite have the WiFi option (in addition to wired Ethernet).Otherwise the specs look nearly identical except for:RLC-410 Image Sensor 1/3" CMOS SensorRLC-410W Image Sensor 1/2.7" CMOS Sensorwhich I assume is just rounding, e.g. I'm guessing they're the exact same sensorand:RLC-410 Power Supply 12V DC or 48V PoE (802.3af)RLC-410W Power Supply DC12VDoes the 410W actually lack the 802.3af input? Or is that just an inadvertent omission? It would be most logical if the cameras were identical except for the WiFi addition, but I need to power this over 802.3af so I need to be sure. Thanks!source:https://reolink.com/files/docs/specs/RLC-410W-4MP-IP-Camera-Specifications.pdfhttps://reolink.com/files/docs/specs/RLC-410-4MP-IP-Camera-Specifications.pdf
Allow lower resolutions via pixel binning, such as 1920 x 1080.
I just updated my BeeCam to v2.0.0.1288, and the image quality seems to be significantly improved!Did Reolink actually do anything to the IQ? Or is the auto-focus improved?Or is just me imagining things?Watch this at 1080p; the bees look really sharp!https://www.youtube.com/user/IAmTheWaterbug/live
I agree that saving the focus point as a part of each preset would be a very nice feature to add.
My BeeCam is a Raspberry Pi3/Raspbian Stretch w/freshly compiled ffmpeg version N-89882-g4dbae00bac running this as a service:
#!/bin/bashcd /usr/local/bin/while truedo./ffmpeg -re -thread_queue_size 512 -rtsp_transport tcp -i "rtsp://anonymous:password@192.168.1.11:554" -i WilliamTellOverture.mp3 -vcodec copy -acodec copy -t 00:11:51 -f flv "rtmp://a.rtmp.youtube.com/live2/my-youtube-streaming-key"sleep 10sdone
[rtsp @ 0x302c2f0] RTP: PT=60: bad cseq e680 expected=0b49[rtsp @ 0x302c2f0] RTP: PT=60: bad cseq 93ab expected=0b49[rtsp @ 0x302c2f0] RTP: PT=60: bad cseq 93ac expected=0b49[rtsp @ 0x302c2f0] RTP: PT=60: bad cseq e682 expected=0b49
Welcome Back!
Hi there! Join the Commnunity to get all the latest news, tips and more!