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

    Duo Wifi change Spotlight Night Mode via API

    Reolink Client & APP
    2
    6
    428
    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.
    • dirk_402008813515005
      dirk last edited by

      Hi there. Anyone knows how to Swtich the Spotlight Night-Mode via API. API-Guide describes only to set IrLights via API.

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

          @dirk_402008813515005 I gave the curl commands to switch on/off the spotlight in https://community.reolink.com/topic/7204/rlc-511wa-http-requests-to-trigger-the-light?post_id=27161&_=1718469703483

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

            @joseph_1979 I saw this earlier, but it does not work with the DUO WiFi Camera. The WhiteLed seems not to be supported by this camera. Just to be clear, I mean Settings, under Camera Light, Spotlight, NightMode switch between Auto and Off.

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

              @dirk_402008813515005 Can you paste the response received when you send the command?

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

                @joseph_1979

                I used the command below as you described....

                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.178.25/cgi-bin/api.cgi?cmd=SetWhiteLed&user=admin&password=xxx"

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

                I played a little bit arround, and when I use "mode 0 or 1" instead of "state 0 or 1" it works fine and switch the Night-Mode on and off as I want.

                Many thanks for that hint Joseph !!!



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

                  @dirk_402008813515005 I knew you were doing something wrong that's why I asked. Now enjoy switching on/off 🙂

                  200 means OK like SIP 200 OK.

                  Reply Quote
                  Share
                  • Share this Post
                  • Facebook
                  • Twitter
                  • copy the link
                    Copied!
                  0
                  View 3 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