Reolink POE IP Camera Setup

If this is occurring then you may have something bottle-necking your LAN or you are attempting to view the stream on a device over wifi.

Correct viewing remotely would use your internet connection and cause low quality video streams. In this case you might want to use a 640x480 resolution for use in lovelace for external access.

Very Very Thanks

Great, got your addon working seems to be a bit quicker then connect it as a platform: generic.

Did you have it working with a Chromecast or a GoogleHub etc?

Thanks

Hi guys, sorry for not responding for a long time. I have been working on some other stuff, but happy to see people still care for a Reolink integration. About Gmail, it will propably not work with the current integration. This is because the Reolink cam can connect with Gmail, but this HA integration does not. So the event will not be triggered. Also, please check out one of my previous posts about ONVIF events. I think this will the best solution possible.

This is new to me! However, I don’t think it’s very charming to poll every x seconds for motion, still prefer to have ONVIF push events. But still better than the old e-mail notifications to HA.

No it’s not. I upgraded to 0.102.0 and it’s still running. Please explain what is not working.
Proof here:
image .

image

Hey,

Thanks for this integration! couple questions please:

  1. What is the email switch for? Is it just to allow the binary sensor to work?
  2. what is the FTP switch for? what is its use case?
  3. I have set up a pushbullet notification which send me an RTMP url which if i click it opens up in vls and plays fine. Is there a way to send a url (or something else) whihc will allow either home asisstant or the reolink app to open up and show me either a live stream or the recorded clip of motion?

Thanks

Stephen

See my previous 4 posts earlier to the one your replied to. It has the errors I was getting when HA starts. I ended up disabling your component for the time being. I haven’t revisited it since as I’ve been busy, so maybe this has been fixed.

It was fixed by pull request #5 on 11-10-2019.

I’ll give it another try later

hey @fwestenberg
thanks a lot for you awesome work !
would you consider having it under HACS (if not making it official)

1 Like

Hello Ettore,
I’m glad you like it! I’m considering about making it official. Last time I did it took me almost more time to release it than the actual build did. :wink: So with a little help…

2 Likes

Unfortunately I can’t decently code in python, so I’m not sure I could offer you help
I know its a huge time sink, I happened to follow some component ‘officialisation process’, and… hass maintainers can sometimes be a little ‘picky’.

Great news! I decided to implement the GetMdStatus call into the HA integration (and removed the SMTP client). So now the polling interval for Motion detection can be set via the default HA parameter in your config:

camera:
- platform: reolink 
  name: frontdoor
  host: 192.168.1.20
  username: admin
  password: !secret reolink
  scan_interval: 5

This parameter is only for motion detection polling. The settings are polled every 30 seconds only.

2 Likes

Dear,

can’t get it to work.
What could be wrong?
Error:

Platform error: camera
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config.py", line 762, in async_process_component_config
    platform = p_integration.get_platform(domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 232, in get_platform
    f"{self.pkg_path}.{platform_name}"
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/reolink/camera.py", line 13, in <module>
    from custom_components.reolink_dev.ReolinkPyPi.camera import ReolinkApi
ModuleNotFoundError: No module named 'custom_components.reolink_dev'

This is probably because I changed the folder structure and file naming because of the planned release to HA. Please make sure you have the following folders/files in your HA custom_components folder (please ignore the __pycache__, this will be generated as soon as you hit the check configuration button):

Thanks! That solved it.
Issue was with the name of the folder reolink > reolink_dev

I’ve been trying to get this to work for a few days now. Everything checks out until I add this to my config, then I get this error:

Platform error camera.reolink - No module named ‘custom_components.reolink_dev’

EDIT: Changed the name of the folder to reolink_dev like @Klex1404 mentioned and now I get a different error:

Platform error camera.reolink - No module named ‘custom_components.reolink.camera’

Did you download the latest version?

I downloaded it yesterday. Have there been changes since then?

Just downloaded again and it’s the same exact files