Navigation

    Home
    All Categories
    • KEEN Trail Camera
    • Top #ReolinkCaptures Awards
    • Announcements and News
    • Wishlist
    • #ReolinkTrial
    • Discussion About Products
    • Reolink Captures
    • Reolink Client & APP
    #ReolinkTrial
    Reolink Captures
    Log in to post
    Guest
    • Guest
    • Register
    • Login

    Learn More

    Reolink updates Learn More

    Meet Reolink at IFA 2024! Learn More

    Reolink Q&A Learn More

    RLC-511WA - http Requests to trigger the light

    #ReolinkTrial
    3
    8
    1002
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • user_760471719375079_760471719375079
      mzsven last edited by user_760471719375079_760471719375079

      Hello,
      since today I am owner of a RLC-511WA Camera.
      Now I want to integrate the Light of the Camera in my Smarthome System.

      Does anyone know how to trigger the light via a http request?
      I need only the trigger for On/Off in my local network.

      I would be happy if someone have an example for me.

      Regards
      Sven

      Reply Quote
      Share
      • Share this Post
      • Facebook
      • Twitter
      • copy the link
        Copied!
      0
        • joseph_1979
          Joseph Global Moderator @mzsven last edited by

          @user_760471719375079_760471719375079 This is fairly easy. Change IP and credentials. I have no time to test it :).

          Switch ON:
          curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 1}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER"

          Switch OFF:
          curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 0}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER"

          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          0
          • user_732475412443337_732475412443337
            Goetz @Joseph last edited by user_732475412443337_732475412443337

            @joseph_1979
            Hello,
            response on 823A and E1 Outdoor with admin as user and admin pw:
            [
              {
                 "cmd" : "Unknown",
                 "code" : 1,
                 "error" : {
                    "detail" : "invalid user",
                    "rspCode" : -27
                 }
              }
            ]

            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            0
            • joseph_1979
              Joseph Global Moderator @Goetz last edited by joseph_1979

              @user_732475412443337_732475412443337 I just tried it on my E1 OD Pro and RLC-511WA and it works on both. You have an error in username. Check the credentials.

              [
                {
                 "cmd" : "SetWhiteLed",
                 "code" : 0,
                 "value" : {
                   "rspCode" : 200
                 }
                }
              ]

              Never have the username and password the same. Have a strong password. If someone gets your UID he can easily access your camera.

              Reply Quote
              Share
              • Share this Post
              • Facebook
              • Twitter
              • copy the link
                Copied!
              0
              • user_732475412443337_732475412443337
                Goetz @Joseph last edited by

                @joseph_1979
                I used admins password, not admin as password 🙂
                Problem was only an "amp;" in cut and paste.
                It's working. Thanks.

                Reply Quote
                Share
                • Share this Post
                • Facebook
                • Twitter
                • copy the link
                  Copied!
                0
                • joseph_1979
                  Joseph Global Moderator @Goetz last edited by joseph_1979

                  @user_732475412443337_732475412443337 I was sure it was a credential error.

                  Reply Quote
                  Share
                  • Share this Post
                  • Facebook
                  • Twitter
                  • copy the link
                    Copied!
                  0
                  • user_760471719375079_760471719375079
                    mzsven @Joseph last edited by

                    @user_760471719375079_760471719375079 This is fairly easy. Change IP and credentials. I have no time to test it :).

                    Switch ON:
                    curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 1}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER"

                    Switch OFF:
                    curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"SetWhiteLed\",\"param\": {\"WhiteLed\": {\"bright\":100,\"channel\":0,\"mode\":1,\"state\": 0}}}]" "https://192.168.X.YY/cgi-bin/api.cgi?cmd=SetWhiteLed&user=KING&password=ENGINEER"

                    Hey Joseph,
                    thank you very much. It works fine. It's also nice that I can control the brightness with this command too.

                    And sorry for my late answer. I thought I have configured in my Account that I get an email if someone post something into my topics.
                    That was probably not the case. So I didn't notice at first that someone had replied.

                    The example command is very helpful for me.

                    Reply Quote
                    Share
                    • Share this Post
                    • Facebook
                    • Twitter
                    • copy the link
                      Copied!
                    0
                    • joseph_1979
                      Joseph Global Moderator @mzsven last edited by

                      @user_760471719375079_760471719375079 You're welcome. If you need anything which I can help just text me here.

                      Reply Quote
                      Share
                      • Share this Post
                      • Facebook
                      • Twitter
                      • copy the link
                        Copied!
                      0
                      View 5 replies
                    • First post
                      Last post
                    All Categories
                    Announcements and News Reolink Client & APP Discussion About Products #ReolinkTrial Reolink Captures Wishlist KEEN Trail Camera
                    Never miss Reolink hot deals, news, and updates tailored for you.

                    Thanks for your subscription!

                    Please enter a valid email address.

                    Oops… Something went wrong. Please try again later.

                    You are already subscribed to this email list. :)

                    Submission failed. Please try again later.

                    Reolink Store|Support|About Us|Privacy Policy|Terms and Conditions

                    Copyright 2025 © Reolink All Rights Reserved.

                    Welcome Back!

                    Hi there! Join the Commnunity to get all the latest news, tips and more!

                    Join Now