Skip to content
Image of Reolink API + Intercom
Template

Reolink API + Intercom

by Manuel CampeiNo rating yet2,448 downloads

Content languageEnglish

Description

VIRTUAL OUTPUTS:

IR LIGHTS > OFF/ON-AUTO REBOOT > GET/POST REC > ON/OFF WHITE LED > ON/OFF SIREN > PULSE SIREN ON/OFF BY MOTION SIREN ON/OFF MANUAL PUSH > ON/OFF ALL PUSH OFF ANIMALS, PUSH OFF MOTION, PUSH OFF PEOLPE, PUSH OFF VEHICLE, PUSH ON ANIMALS, PUSH ON MOTION, PUSH ON PEOLPE, PUSH ON VEHICLE, EMAIL ON/OFF

VIRTUAL INPUTS:

GETMDSTATE > STATUS OF MOTION DETECTION

(For the GETMDSTATE, download the single file at the bottom "VI_REOLINK GETMDSTATE.xml" and 3.8.5 - GetMdState.txt)

Currently tested on 3 models, I am still testing other models. Please note that features such as SIREN and WHITE LED are only available on some models!

Cameras tested: RLC-510A, RLC-1224A, RLC 1212A

The changes that need to be made are:

1. Enter your own IP address in the “virtual output”. 2. Under the settings (virtual outputs) go to > ...&channel=user=test&password=694813 3. Replace “test” >(user) and “694813” >(password) with your login details.

In the file "Reolink-Api-Intercom-1.0.6b.Loxone" I have brought together the commands that have ON/OFF, it might be more interesting for some people.

INTERCOM:

I have now also added the stream for the intercom.

Simply paste the link below under "Image when ringing" and "Video stream internal" (but insert your own credentilas + IP address) For the “External Video Stream” simply copy the same link, but enter “clouddns” instead of the IP address.

If you operate your camera with a different HTTP port, simply enter it as follows: (1234 > enter your port)

E.g.: http://192.168.100.78:1234/cgi-bin.... E.g.: http://clouddns:1234/cgi-bin....

Internal Link + Image when ringing: http://192.168.100.78/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=test&password=694813

External Link: http://clouddns/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=test&password=694813

For remoteConnect: http://remoteConnect/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=flsYJfZgM6RTB_os&user=test&password=694813

I will try to add more API in next versions.

Inputs and outputs · 17

NameTypeCommandUnit
WHITE LED ON/OFFVirtualOut/api.cgi?cmd=SetWhiteLed&channel=user=test&password=694813
SIEREN OFFVirtualOut/api.cgi?cmd=AudioAlarmPlay&channel=user=test&password=694813
SIEREN ON PULSEVirtualOut/api.cgi?cmd=AudioAlarmPlay&channel=user=test&password=694813
SIREN ON/OFF on MOTIONVirtualOut/api.cgi?cmd=SetAudioAlarmV20&channel=user=test&password=694813
REBOOT GETVirtualOut/api.cgi?cmd=Reboot&channel=user=test&password=694813
IR ON /AUTO-OFFVirtualOut/api.cgi?cmd=SetIrLights&channel=user=test&password=694813
IR OFFVirtualOut/api.cgi?cmd=SetIrLights&channel=user=test&password=694813
REBOOT POSTVirtualOut/api.cgi?cmd=Reboot&channel=user=test&password=694813
REC ON/OFFVirtualOut/api.cgi?cmd=SetRecV20&user=test&password=694813
PUSH - ALL ON/OFFVirtualOut/api.cgi?cmd=SetPush&user=test&password=694813
PUSH - ANIMALS ON/OFFVirtualOut/api.cgi?cmd=SetPush&user=test&password=694813
PUSH - PEOLPE ON/OFFVirtualOut/api.cgi?cmd=SetPush&user=test&password=694813
PUSH - VEHICLE ON/OFFVirtualOut/api.cgi?cmd=SetPush&user=test&password=694813
PUSH - MOTION ON/OFFVirtualOut/api.cgi?cmd=SetPush&user=test&password=694813
WHITE LED ONVirtualOut/api.cgi?cmd=SetWhiteLed&channel=user=test&password=694813
SET EMAIL V20VirtualOut/api.cgi?cmd=SetEmailV20&user=test&password=694813
SIREN ON/OFFVirtualOut/api.cgi?cmd=AudioAlarmPlay&channel=user=test&password=694813

FAQ

No questions have been answered yet.

Ratings and comments

No ratings or comments yet.

Questions and answers

  1. Compatibility

    Open

    Hi Manuel, I tested it with RLC-1224A and RLC-1212A and it works perfeclty fine, i just had to add the http-port to the network address. Thanks a lot! Cheers, Martin

    1 reply

    1. Hi Martin,

      Great, I'm glad it works.

      I'll try to add the recording function as soon as I find the time.

      Best regards Manuel

  2. Info

    Open

    Just info that it works fine with model RLC-520A (version IPC_MS1NA45MP) for snapshot and video. But no commands to/from camera (except Reboot POST that works fine).

    1 reply

    1. All right, thank you very much.

  3. 2-way audio

    Open

    Does 2-way audio work ?

    1 reply

    1. Unfortunately no, according to reolink this is not possible.

  4. ARGUS SEries B310

    Open

    Hello Manuel, Thank you for the template. I am using an ARGUS Series B310. With this camera, I have the option to change the ports, etc., in the app under network settings. At the moment, it is not working with this camera. Can you tell me which ports I could use instead?

    Best regards, Timo

    1 reply

    1. Hello Timo,

      I'm glad you like it. I've never tested your camera,

      but it should work with the standard port 80 (if it isn't changed). If the port is/is changed,

      simply test the commands with the selected port.

      As I said, I've never tested the ARGUS Series B310, so I can't say whether the commands will work for your camera.

      Regards Manuel

  5. NVR support

    Open

    Hi, Would this also work for Reolink NVR or camera's directly connected to a NVR?

    1 reply

    1. Hello,

      I haven't tested this yet.

  6. Disable stiings

    Open

    Is it possible to disable the Settings in the user interface?

    2 replies

    1. In which user interface?

    2. er zijn standaard 2 knoppen onder in het scherm, een daarvan is instellingen de andere licht. de licht buton kan ik manipuleren of verwijderen maar de settings knop niet..

  7. REOLink with MJPG

    Open

    Hi Manuel, thanks so much for your hard work and sharing it with us.

    In loxwiki I have read a tread, that REOLink does not provide MJPG live streams but H.264 only. AFAIK Loxone Custom Intercom just supports (M)JPG. With the result, that Loxone just captures still images every second instead of a live stream.

    Can you confirm this? Or did REOLink changed something in the meantime?

    Warm Regards, Kristan

    1 reply

    1. Hi Kristian,

      I'm glad you like it.

      Yes, that's absolutely right, Reolink doesn't support MJPG streaming, currently only h264. I can't say whether something will come along in time.

      Best regards,

      Manuel

  8. NVR support

    Open

    Hi, I'm replying to question from Louis Vanrobaeys,

    "Would this also work for Reolink NVR or camera's directly connected to a NVR?" Yes it works, but NVR gives only one IP and only camera on first place in NVR will be displayed...

    BR

    1 reply

    1. Hi,

      I've never tested this with an NVR, only with the individual cameras.

      Best regards

  9. Reolink DoorBell POE - GetEvents

    Open

    Hi,

    I've tried your GetMDState and this one works, but I've tried with a newer API command "GetEvents" and now Loxone HTTP won't register the change, so it doesn't work for me.

    GetEvents add-on https://community.reolink.com/topic/4196/reolink-camera-api-user-guide_v8-updated-in-april-2023/6

    Result from the link from my Doorbell: [ { "cmd" : "GetEvents", "code" : 0, "value" : { "ai" : { "dog_cat" : { "alarm_state" : 0, "support" : 1 }, "face" : { "alarm_state" : 0, "support" : 0 }, "package" : { "alarm_state" : 0, "support" : 0 }, "people" : { "alarm_state" : 0, "support" : 1 }, "vehicle" : { "alarm_state" : 0, "support" : 1 } }, "channel" : 0, "md" : { "alarm_state" : 0, "support" : 1 }, "visitor" : { "alarm_state" : 0, "support" : 1 } } } ]

    Command Recognition: "md" : { "alarm_state" :\v

    But i don't see a change in value in my liveview from Loxone. Do you have any advice? I would like to use this, so if a visitor pushes the bell, I can use this as a trigger to light my entrance

    1 reply

    1. Hi,

      I don't have a doorbell, so I can't test it.

      If I ever get one, I'll test it.

      Best regards

  10. Reolink Home Hub scenes

    Open

    Hello Manuel,

    first of all thanks for the effort doing this. I have bought a Home Hub from Reolink, and basically and has 3 standard scenes. It would be great, to trigger those scense via your plugin. In that case, you could push the leave home button, the alarm gets active and the scene for away as well.

    Maybe you could think about it.

    Thanks and BR Marc

    1 reply

    1. Hi,

      Sorry for the late reply, I completely missed your email.

      I've never used the Reolink Hub before, but if I ever get one, I'd be happy to test it.

      Thanks a lot Best regards

      Manuel

  11. Bewegungserkennung in Loxoen mitteilen

    Open

    Hallo Manuel,

    vielen Dank für das tolle Plugin! Es läuft bereits super.

    Wäre es möglich, eine Funktion zu ergänzen, die die Bewegungserkennung der Reolink-Kameras direkt an Loxone weitergibt? Da Reolink eine sehr zuverlässige KI-Erkennung besitzt, könnte man so die Außenbeleuchtung viel gezielter steuern.

    Mein Ziel ist es, das Licht nur dann einzuschalten, wenn die Kamera tatsächlich einen Menschen erkennt – und eben nicht bei vorbeifahrenden Fahrzeugen, Tieren oder sich bewegenden Bäumen.

    Vielen Dank für deine Mühe!

    1 reply

    1. Hallo Manuel,

      Super, freut mich. =)

      Ja müsste soweit machbar sein, allerdings habe ich erst in 3 Wochen Zeit das zu testen =D Ich melde mich sobald ich was gefunden habe.

      Klar gerne.

      Liebe Grüße

  12. Open

    Hallo Manuel,

    ich wollte mich einfach mal kurz melden und nachhören, ob du schon Zeit für einen Test gefunden hast? Konntest du bezüglich der Reolink-Bewegungserkennung in Loxone schon was programmieren?

    Liebe Grüße, Manuel

    No replies

Report this entry

Report abuse

You have to be logged in to report an entry. Log in