Giter Site home page Giter Site logo

Comments (5)

chalupien avatar chalupien commented on July 2, 2024 2

Hi I have looked into this after picking up a new Reolink with the AI motion person/vehicle detection capability. I found the following commands available via the api.cgi

My question/issue is the recordings are flagged with the AI detection tag, (person/vehicle/motion) and I would like to figure out how to know which mp4 files are tagged.

This was the only source I found (https://community.jeedom.com/t/reolink-liste-de-commandes-via-api/25565)
after I mistakenly typed in "GetAIState" and found this!!

GetAiCfg, SetAiCfg, GetAiState

[{
cmd: "GetAiState",
code: 0,
value: {
channel: 0,
people_state: 0,
vehicle_state: 1
}
}]

from reolinkapipy.

Benehiko avatar Benehiko commented on July 2, 2024

Hi @migvel,

Well I'm not sure, is there a setting on the RLC-520A for polling an external API after a detection event has fired? How are you using it currently? Using the Reolink App?

from reolinkapipy.

migvel avatar migvel commented on July 2, 2024

Thanks.

here I might be assuming something wrongly, but I thought that the api call Alarm -> Motion would access as well the records of the detection of cars/persons, like they would be classified in the same way.

I'm getting information for acquiring one of the devices RLC-520A since I would like to automate with some external devices.

Regards.

from reolinkapipy.

Benehiko avatar Benehiko commented on July 2, 2024

Oh i see, I'm not sure since I haven't used the RLC-520A yet. So I can't really say if it has some sort of callback system for car/person detection.

from reolinkapipy.

mnpg avatar mnpg commented on July 2, 2024

hi, in the newer firmware of the AI cameras, the returned json from the GetAiState command had changed (taken from a RLC-810a, firmware : v3.0.0.412), here the newer one (face detection is added but hidden in the UI):

[
   {
      "cmd" : "GetAiState",
      "code" : 0,
      "value" : {
         "channel" : 0,
         "face" : {
            "alarm_state" : 0,
            "support" : 0
         },
         "people" : {
            "alarm_state" : 0,
            "support" : 1
         },
         "vehicle" : {
            "alarm_state" : 0,
            "support" : 1
         }
      }
   }
]

from reolinkapipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.