reolinkapipy icon indicating copy to clipboard operation
reolinkapipy copied to clipboard

Help: List of suppported Camera's

Open Benehiko opened this issue 5 years ago • 17 comments

Help wanted

For those out there that are using the library, would you be so kind as to mention which Reolink camera's you are using the library with.

Just paste the information on this issue and it will be added to the README.md file

Benehiko avatar Dec 11 '20 16:12 Benehiko

RLC-423 RLC-420-5MP RLC-410-5MP

themoosman avatar Dec 11 '20 21:12 themoosman

RLC-420 RLC-520.

Source by rafa-to via Reddit

Benehiko avatar Dec 14 '20 06:12 Benehiko

RLC-520 RLC-410

Source by yknott via Reddit

Benehiko avatar Dec 14 '20 06:12 Benehiko

C1-Pro

CrashLaker avatar Dec 24 '20 20:12 CrashLaker

RLC-410 D400 RLN8-410 (if NVRs count)

Siceth avatar Jan 12 '21 04:01 Siceth

RLC-410 D400 RLN8-410 (if NVRs count)

Did you use the reolinkapi library to connect to the NVR?

Benehiko avatar Jan 12 '21 10:01 Benehiko

RLC-410 D400 RLN8-410 (if NVRs count)

Did you use the reolinkapi library to connect to the NVR?

Yes. I know the library's aimed at cameras, but my purposes were for NVR account control. Obviously things like raw streams will just error, but most of the calls work just great.

Thank you for all your contributions so far!

Siceth avatar Jan 12 '21 11:01 Siceth

RLC-410 D400 RLN8-410 (if NVRs count)

Did you use the reolinkapi library to connect to the NVR?

Yes. I know the library's aimed at cameras, but my purposes were for NVR account control. Obviously things like raw streams will just error, but most of the calls work just great.

Thank you for all your contributions so far!

That's really good to hear! We could add the NVR as well in the readme and just specify streaming to be broken.

Benehiko avatar Jan 13 '21 08:01 Benehiko

Reolink RLC-410W 4MP

socpl425 avatar Mar 01 '21 18:03 socpl425

RLC-511W (Firmware v3). Working fine!

AnthonyReid73 avatar Nov 05 '21 14:11 AnthonyReid73

Does this api support cloud camera ex: Reolink Go?

jimmyEverguard avatar Feb 28 '22 23:02 jimmyEverguard

Does this api support cloud camera ex: Reolink Go?

No, cloud cameras are not supported and will not work.

themoosman avatar Mar 01 '22 01:03 themoosman

I have an E1 outdoor here.

  • snap image - did not work for user admin. After creating a new user it works
  • have no valid certificate installed. After implementing a fix within stream.py for calling requests.get() it works. see PR#57 I have expierienced some problems with answers from my cam so I extended it a little to only create an image from response it the mime is not text/html:
          def get_snap(self, timeout: float = 3, proxies: Any = None) -> Optional[Image]:
              """
              Gets a "snap" of the current camera video data and returns a Pillow Image or None
              :param timeout: Request timeout to camera in seconds
              :param proxies: http/https proxies to pass to the request object.
              :return: Image or None
              """
              data = {
                  'cmd': 'Snap',
                  'channel': 0,
                  'rs': ''.join(choices(string.ascii_uppercase + string.digits, k=10)),
                  'user': self.username,
                  'password': self.password,
              }
              parms = parse.urlencode(data).encode("utf-8")
    
              try:
                  response = requests.get(self.url, proxies=proxies, params=parms, timeout=timeout, verify=False)
                  if response is None:
                      return None
    
                  if response.status_code == 200:
                      if response.headers.get('Content-Type','text/html') == 'text/html':
                          data = response.json()[0]
                          error = data.get("error",None)
                          if error is not None:
                              import pprint
                              pprint.pprint(error)
                      else:
                          return open_image(BytesIO(response.content))
                  print("Could not retrieve data from camera successfully. Status:", response.status_code)
                  return None
    
              except Exception as e:
                  print("Could not get Image data\n", e)
                  raise
    
  • cam.go_to_preset() also works. I am still thinking how to integrate this cam further so I might add here other findings

I would suggest to separate stream.py into grab an image only and stream.py itself. Otherwise one will need to install the whole bunch of additional requirements which might not be needed if one only wants a simple snap.

bmxp avatar Apr 14 '22 13:04 bmxp

Hi @bmxp Could you rather add your findings and implementation detailts to a separate issue?

PRs are welcome! :)

Benehiko avatar Apr 17 '22 10:04 Benehiko

E1 Zoom

pypb avatar Jul 12 '22 07:07 pypb

RCL-510a

Helias avatar Aug 19 '22 17:08 Helias