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

    Start/Stop patrol API issue on RLC-823A 16X

    Discussion About Products
    2
    10
    999
    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.
    • das-dos_208145718501556
      das-dos last edited by

      Hello!

      i am trying to start/stop the patrol via API. It was working some months ago, but now no more. Maybe you have changed something in the API? Currently I am using this (within a linux bash script):

      # Get token
      TOKEN=$(curl -H 'Content-Type: application/json' \
         -X POST \
         --data '[{"cmd":"Login","action":0,"param":{"User":{"userName":"Username","password":"Password"}}}]' \
         "http://IP-address/cgi-bin/api.cgi?cmd=Login&token=null" \
         | jq -r '.[0].value.Token.name')

      # Start tour
      curl -v -H 'Content-Type: application/json' \
         -X POST \
         --data '[{"cmd":"PtzCtrl","action":0,"param":{"channel":0,"op":"StartPatrol","id":0}}]' \
         "http://IP-address/cgi-bin/api.cgi?cmd=PtzCtrl&token=$TOKEN"

      Could you please give me some advise?

      Many thanks for your kind assistance!

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

          @das-dos_208145718501556 Try this without token and ensure https is enabled. None of my cameras have the patrol feature :(.

          curl -s -k -X POST -H "Content-Type: application/json" -d "[{\"cmd\":\"PtzCtrl\",\"action\":0,\"param\":{\"channel\":0,\"op\":\"StartPatrol\",\"id\":0}}]" "https://192.168.1.X/cgi-bin/api.cgi?user=${username}&password=${passwd}"


          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          0
          • das-dos_208145718501556
            das-dos @Joseph last edited by

            @joseph_1979
            Thank you Joseph for your kind assistance. Unfortunately this is not working.
            Maybe you or someone else has another idea?

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