Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of reading an alert detection for A series. #47

Open
migvel opened this issue Apr 16, 2021 · 5 comments
Open

Possibility of reading an alert detection for A series. #47

migvel opened this issue Apr 16, 2021 · 5 comments
Assignees
Labels
api-question Questions relating to the cameras APIs help wanted Extra attention is needed

Comments

@migvel
Copy link

migvel commented Apr 16, 2021

Hello,

is it possible to read an alert from a RLC-520A that has been triggered by a person/car detection? I mean, to configure the camera with the manufacturer app or webapp but be polling for detections of the AI camera's feature.

Thanks.

@Benehiko
Copy link
Member

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?

@Benehiko Benehiko added api-question Questions relating to the cameras APIs help wanted Extra attention is needed labels Apr 16, 2021
@Benehiko Benehiko self-assigned this Apr 16, 2021
@migvel
Copy link
Author

migvel commented Apr 17, 2021

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.

@Benehiko
Copy link
Member

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.

@chalupien
Copy link

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
}
}]

@mnpg
Copy link

mnpg commented Aug 5, 2021

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
         }
      }
   }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-question Questions relating to the cameras APIs help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants