Reolink POE IP Camera Setup

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

My setup:

image

- platform: reolink
  name: zijkant
  host: 192.168.1.xx
  username: !secret reolink_username
  password: !secret reolink_password
  scan_interval: 5

This works

My setup looks exactly the same as yours. Not sure what I did wrong. Iā€™m on the latest version of HA, could that be it?