Giter VIP home page Giter VIP logo

reolink_api_documentations's People

Contributors

mnpg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

reolink_api_documentations's Issues

Trigger doorbell remotly

I'm looking for a way to emulate pressing the doorbell button remotely. I realize this isn't a support channel, but was hoping perhaps someone was aware of a command or some other mechanism (433 perhaps?).

Reolink (PoE) doorbell API - auto_reply

Hi, do you have any idea what would be the commands used to activate the auto_reply functions of the (PoE) doorbell?

Scherm­afbeelding 2022-12-30 om 02 30 51

Or the commands to manually send an auto-reply message (from the reolink app)?

Many thanks!

HA

I am an official technical staff member of reolink. I learned that you have made outstanding contributions in supporting the home assistant project in reolink. We would like to give you a sponsorship fund. You can open a personal sponsorship link on github.

How to receive person events?

Hi! Thanks for sharing what you found.

I'm trying to configure the Reolink doorbell and receive person detection events.
I don't see the event person motion events being triggered in the onvif event steam (although does provide values of {Data: {SimpleItem: { Name: 'State', Value: false} } for the person events (tns1:RuleEngineMyRuleDetector/PeopleDetect) -- its just never true.

The ReoLink app does show a person being detected.

I assume polling GetAiState the not only way to retrieve this?

Also, I can configure person detection:

{
      method: 'POST',
      url: `http://${hostname}/api.cgi?cmd=SetAiCfg&user=${username}&password=${password}`,
      headers: {
        'Content-Type': 'application/json'
      },
      body: [{
            "cmd": "SetAiCfg",
            "action": 0,
            "param": {
                "aiTrack": 1,
                "trackType": {
                    "vehicle": 0,
                    "dog_cat": 0,
                    "people": 1,
                    "face": 0    
                },
                "AiDetectType": {
                    "vehicle": 0,
                    "dog_cat": 0,
                    "people": 1,
                    "face": 0    
                },
                "channel": 0
            }
        }]
    };

.... which seems to work, and I can retrieve it which GetAiCfg but the following used to set the stay_time/sensitivity produces a Reolink error (rcv_failed / -17)

{
      method: 'POST',
      url: `http://${hostname}/api.cgi?cmd=SetAiAlarm&user=${username}&password=${password}`,
      headers: {
        'Content-Type': 'application/json'
      },
      body: [{
          "cmd" : "SetAiAlarm",
          //"code" : 0,
          "value" : {
             "AiAlarm" : {
                "ai_type" : "people",
                "channel" : 0,
                // "max_target_height" : 0.0,
                // "max_target_width" : 0.0,
                // "min_target_height" : 0.0,
                // "min_target_width" : 0.0,
                // "scope" : {
                //    "area" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
                //    "cols" : 80,
                //    "rows" : 60
                // },
                "sensitivity" : 60,
                "stay_time" : 0
             }
          }
       }]
    }

Any ideas?

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.