Reolink Camera API User Guide_V8 (Updated in April 2023)
-
Hi all,
We know that the demand for home automation is vast. Our goal is to develop a Reolink ecosystem that incorporates home automation in the long run.
We provide you with the camera API user guide, and we also would like to know about your project! Please feel free to tell us where you plan to use them. Let us hear your ideas
Link to the latest Reolink Camera API User Guide: http://bit.ly/3nF4mB5.
This guide contains instructions on how to use and integrate the API effectively. This is also a simple and straightforward reference manual. It has all the information needed to use the API and detailed information about functions, return types, parameters, etc. It also provides tutorials and sample support.
What‘s New- Improve the description of the example
- Add the description of video preview
- Delete the abandoned command (rtmp start/rtmp stop/rtmp auth)
- Add the version field to the login command
- Add GetSysCfg/SetSysCfg/GetStitch/SetStitch commands
- ISP adds multi-level frame drop and soft light sensitivity
- NVR cut and download video file optional stream type
- Increase the ptz guard parameter
- Increase the white light setting parameters
- Add description for ftp command
- Improve the capability set
- Improve the error code
Hooray! Here also comes the good news. Many users have requested Webhook support for AI detection of third-party integration. Our tech team is working on this project. If you have any requests, please share them with us to make our work better.
----------------------------------------
Updated: We have added some privacy terms in v8. The link above is updated. -
I want to trigger the White light with an API command, just turn it on and off! I can trigger the White Light when my house alarm is triggered.
Same for the alarm/sirene. -
Would be nice also to have 2-Way Audio via API if possible. Thanks!
-
Any chance they will implement MQTT?
-
user_635300470997033 last edited by user_635300470997033_635300470997033 Dec 28, 2022, 1:14 PM Dec 28, 2022, 1:13 PM
Hello,
would it‘s be possible to get an output about the ‚smart detection‘ via the API?
It seems that at the moment just a motion are going over the API
Thanks -
hi @Reolink-Fiona, i deeply regret that in the v8 version of the API guide of April 2023, there some newer commands are still missing from some cameras :
DOORBELL- GetPowerLed > new field : eDoorbellLightState
- GetAudioFileList
- SetAudioFileList
- GetAutoReply
- SetAutoReply
- DeleteAudioFile
from newer Doorbell firmware ( v3.0.0.1859 ) :
- GetEvents
TRACKMIX- GetAiCfg > new fields (bSmartTrack, aiStopBackTime, aiDisappearBackTime and trackTask)
- GetAiDenoise
- SetAiDenoise
- ExportImg
- ImportImg
- DeleteImg
- GetPtzTraceSection
- SetPtzTraceSection
- GetPtzCurPos
RLC-823A_16X :- Get3DPos
- Set3DPos
Can we have a new update of the guide with these commands.
Thanks in advance
Regards
EDIT : add new commands- GetAudioCfg > new field (visitorLoudspeaker) -for Doorbell-
- ExportAudioFile
- GetFishEye
- SetFishEye
FYI, i contribute (aka mnpg or mnpg_fr -on reddit-) in the development of the Reolink plugin, with jezza34000 -his author-, for the french home automation called Jeedom. This plugin is free and right now -april 2023-, we have more than 800 installs. i bring my modest contribution to starkillerOG for the official Reolink HA plugin and also i have a github repo, as mnpg, that contains official documentations and unofficial detailled documentations of the reolink cameras for sharing my knowledge with other reolinkers since 2020. -
Request adding the Reolink Floodlight to the HTTP API.
-
hi, I have the 820A dome - I'd love to be able to hook into its vehicle detection.
-
Hello, I would like to integrate my Reolink cameras to smart home. The problem is, that Reolink API works via POST method only and my smart home (Loxone - one of biggest in segment in Europe) supports only GET method for input. Do you think, it would be possible to use GET method too for getting states in future? Thank you!
-
Is there a way of getting the times for each type of alarm (human/vehicle) on a specific date, using the API? - the info that is shown as lines at the bottom of the screen i Playback mode.
/Lars -
I just wanted to say thank you for the updated Reolink Camera API User Guide. I've been using your cameras for a few years now, and I've always been impressed with the quality of your products and the level of support you provide.
The new API guide is very comprehensive and easy to follow. I was able to quickly find the information I needed to integrate my Reolink cameras with my home automation system.
I'm particularly excited about the new Webhook support for AI detection. This will allow me to trigger automations based on events like motion detection or person detection.
I'm looking forward to seeing what other great features you'll add to the API in the future.
Thanks again for a great product and a great API! -
My goal is to create a notification system that will alert me when the USPS truck stops at my mailbox is which is currently monitored by a RLC-810A camera. I'm hoping to somehow tie into the Survellance system that identifies when a vehicle passes (or ideally stops) next to my mailbox and then using perhaps Google's Vision API (or something similar) to identify the USPS truck by its logo. Then once the USPS truck has been identified as being next to my mailbox, to send an email alert that there might be snail mail in my mailbox.
Any help would be appreciated.
Here's a result of using Google Vision with a snapshot of a USPS truck next to my mailbox: -
@Reolink-Fiona, Thank you for posting the API Guide!
I'm trying to see the video stream for the first time from the firefox web browser.
Using the mpegts.js video player (see TODO) to load the video stream as:
// see https://
const player = mpegts.createPlayer({
type: 'flv',
isLive: true,
url: 'MY_CAMERA_URL'
});
player.attachMediaElement(document.getElementById("video-stream"));
player.load();
player.play();
Firefox fails with a CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
MY_CAMERA_URL.
(Reason: CORS header Access-Control-Allow-Origin missing). Status code: 200.
How can I configure the camera CORS? -
Thank you for sharing your goals for home automation and the Reolink Camera API User Guide. I am excited to see and how you continue to develop this ecosystem and provide users with more options for integrating their Reolink cameras into their smart homes.
I am also interested in learning more about your users' projects and how they are using the Reolink Camera API. Please encourage your users to share their ideas and projects with you so that you can continue to improve the API and make it even more useful for them. -
Hi, I'm trying to build a home camera network to manage with the API.
I have been looking in your website but I can't get a clear idea of which models are compatible with the API.
Can you provide a list of models or categories, please?
Thank you -
Is it possible to expand the API to allow toggling the Detection Type buttons (Any Motion, Person, Vehicle, Animal) on and off? See attached image. This would allow the possibility to have more complicated schedules through home automation systems. For examples: I want person detection enabled if nobody is home, or person detection enabled only at night.
-
Any news about the webhook? I'm interested in the POE doorbell, but I don't want to use the chime.. I want to add it to my smart home..
-
HI,
I'm acutally adding my both new ReoLinks to my HomeAssistant installation. Doing that I spend a lot of afford in investing on API/Rest call from latest API documentation. I tried to setup disabling alarm by an extended Detection Zone. Nevertheless I can't make it work using the "SetMdAlarm" function.
That raises the question how actual is the version 8 documentation of the API.
I did also some investigation with devtools from google. and found out that the SetAlarmArea is not only working for AI types. It also seems to work with MD typ.
Is that correct?
Is there a newer version of the api documention with some more explanations?
Or will it come soon?
I attache the SetAlarmArea payload that is send from webinterface. May be helpfull for other useres.
[
{
"cmd": "SetAlarmArea",
"action": 0,
"param": {
"people": {
"area": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"cols": 60,
"rows": 33
},
"vehicle": {
"area": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"cols": 60,
"rows": 33
},
"dog_cat": {
"area": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"cols": 60,
"rows": 33
},
"md": {
"area": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"cols": 60,
"rows": 33
},
"channel": 0
}
}
] -
This post is deleted! -
Which cameras support API?