Skip to content

Get Alarm Motion not working #66

Open
@Saifer707

Description

@Saifer707

Hello!

I'm a newbie about Reolink Technologies but i try to connect with my Cam by using these APIs.
I tried to call cam.get_alarm_motion() but it's not working.
This is my code:

import datetime

import reolinkapi

if __name__ == "__main__":
    cam = reolinkapi.Camera("192.168.1.2", "***", "***", defer_login=False)
    cam.get_alarm_motion()

I kept secret my username and my password but i passed them to Camera object.
This is the response:

Login success [{'cmd': 'Unknown', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}}]

Any suggestions? Thank you so much!

Activity

Benehiko

Benehiko commented on Dec 12, 2023

@Benehiko
Member

What camera are you trying this on? I think only some camera's support motion detection.

Maybe the library is incorrect here, PR's are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Saifer707@Benehiko

        Issue actions

          Get Alarm Motion not working · Issue #66 · ReolinkCameraAPI/reolinkapipy