Reolink POE IP Camera Setup

Looks like a good integration…
Can u guys recommend the reolink cams? I’m interested in the object detection stuff :smiley: mostly for fun.
I want to use it for motion and live video too

Are there any downsides?
What are the recommendations for inside and outside cams?

For outside I love RLC-410W 's … price is great, awesome quality, and the option for Wi-Fi including 5G is huge for me. (Ethernet runs are very limited in my house)

Sample uncompressed image: (download for full quality)

hello
trying to add my reolink rlc 420-5mp to HA but nothing
already try a lot of configs and no one give me image from the camera and show this error on log

2020-04-23 10:03:36 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:03:36 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 30 seconds.
2020-04-23 10:03:39 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-04-23 10:04:10 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:04:10 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 60 seconds.
2020-04-23 10:05:14 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:05:14 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 90 seconds.
2020-04-23 10:06:48 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:06:48 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 120 seconds.
2020-04-23 10:08:52 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:08:52 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 150 seconds.
2020-04-23 10:11:26 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'Frente', but will retry later. Error: Cannot connect to host 192.168.xx.xx:8000 ssl:None [Connect call failed ('192.168.xx.xx', 8000)]
2020-04-23 10:11:26 WARNING (MainThread) [homeassistant.components.camera] Platform onvif not ready yet. Retrying in 180 seconds.

and this one too

2020-04-23 17:24:09 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image from Frente: Cannot connect to host 192.168.1.XXX:80 ssl:None [Connect call failed ('192.168.1.XXX', 80)]

antone could help me?? im almoast giving up from this

Can you post you configuration

Now i enter all avalable configs i find
Its all the same camera.
On vlc link work and on iSpy too
I don’t understand why the port :443 in the erros and seems all the errors are HA can’t reach the cameras. Motion eye show unreachable host too

camera:
- platform: reolink_dev
  host: 192.168.1.65
  username: admin
  password: 123456
  name: Camara1
  stream: main
  protocol: rtsp
  channel: 0
  scan_interval: 5
- platform: onvif
  name: camera2
  host: 192.168.1.65
  username: admin
  password: 123456
  port: 8000
- platform: generic
  name: camera3
  still_image_url: "https://192.168.1.65/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456"
  stream_source: "rtsp://admin:[email protected]:554/h264Preview_01_main"
- platform: generic
  name: camera4
  still_image_url: "https://192.168.1.65/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456"
  stream_source: "rtmp://192.168.1.65:1935/bcs/channel0_main.bcs?token=[TOKEN]&channel=0&stream=0"
- platform: generic
  name: camera5
  still_image_url: "https://192.168.1.65/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456"
  stream_source: "rtmp://192.168.1.65/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=123456"
- platform: generic
  name: camera6
  still_image_url: "https://192.168.1.65/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456"
  stream_source: "rtmp://192.168.1.65/vod/Rec_20160707_040638_411_M.mp4?&channel=0&stream= 0&user=admin&password=123456"

I have this erros

2020-04-27 10:43:37 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip 192.168.1.65
2020-04-27 10:43:37 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating login response to json
2020-04-27 10:43:40 WARNING (MainThread) [homeassistant.components.onvif.camera] Couldn't connect to camera 'camera2', but will retry later. Error: Cannot connect to host 192.168.1.65:8000 ssl:None [Connect call failed ('192.168.1.65', 8000)]
2020-04-27 10:44:30 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image from camera3: Cannot connect to host 192.168.1.65:443 ssl:None [Connect call failed ('192.168.1.65', 443)]
2020-04-27 10:44:30 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image from camera4: Cannot connect to host 192.168.1.65:443 ssl:None [Connect call failed ('192.168.1.65', 443)]
2020-04-27 10:44:30 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image from camera5: Cannot connect to host 192.168.1.65:443 ssl:None [Connect call failed ('192.168.1.65', 443)]
2020-04-27 10:44:30 ERROR (MainThread) [homeassistant.components.generic.camera] Error getting new camera image from camera6: Cannot connect to host 192.168.1.65:443 ssl:None [Connect call failed ('192.168.1.65', 443)]

Hi
Your using the same camera 6 times ?

No i add the camera 6 times with diferent config to see if one works and the erros that generate

so i’m assuming you setup a new user or changed the default of blank to the 123456
i added a separate user

can you change the config to this

camera:
- platform: reolink_dev
  host: 192.168.1.65
  username: "admin"
  password: "123456"
  name: Camara1
  stream: main
  protocol: rtsp
  channel: 0
  scan_interval: 5

Same error!!

add a new user ?

no on the camera’s web interface

http://192.168.1.65
image

Add new user
Pedro
123456

Error

020-04-27 14:45:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip 192.168.1.65
2020-04-27 14:45:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating login response to json
2020-04-27 14:45:33 ERROR (SyncWorker_13) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip 192.168.1.65

the error is from the camera.py file its throwing the exceptions
why is a good question

And other errors cant reach the cameras?

anyone can help me find the problem? why HA cant reach my cameras and VLC and iSpy can…

@fwestenberg I’ve been using this integration for a couple of months now and it’s been working great up until recently. I use the feed to send a stream to my Apple TV and first noticed that that automation stopped working maybe a week or two ago but haven’t been able to dig into it until now. Today I noticed this in my logs:

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for reolink_dev doing I/O at custom_components/reolink_dev/ReolinkPyPi/camera.py, line 282: response = requests.post(self._url, data=json.dumps(body), params=param, timeout=10)

Any ideas on how to resolve? I notice when I try to pull up the camera streams via developer tools -> states that it gives me the first frame and then freezes. I’m using this integration for my image processing integrations and that seems to be still working.

ETA: this is in my logs almost 10,000 times since I rebooted this morning.

I think it’s a red herring. I get that on a different integration. I’m not sure that I/O occurring in a loop is actually a bad thing, unless it’s an infinite loop. I write several things to drive in loops. Devs regularly throw in these logs to help them track down something specific.

Still getting this after latest plugin update:

Log Details (WARNING)

Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 8:03:57 PM (18 occurrences)
Last logged: 8:04:09 PM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for reolink_dev doing I/O at custom_components/reolink_dev/ReolinkPyPi/camera.py, line 282: response = requests.post(self._url, data=json.dumps(body), params=param, timeout=10)

Traceback (most recent call last):,
  File "/config/custom_components/reolink_dev/camera.py", line 290, in update_status,
    await self.hass.async_add_executor_job(self._reolinkSession.status()),
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run,
    result = self.fn(*self.args, **self.kwargs),
TypeError: 'NoneType' object is not callable

Had a thought
have you updated the firmware ?

Anyone can help?