Reolink POE IP Camera Setup

Thanks, made a template sensor and works fine. Have you any idea it’s possible to use the recorded video playback and see the amount of space used/left from the sdcard. Thx

Everyone asking about person detection have a look at this open issue on the custom integration GitHub.

To summarize, the Reolink API doesn’t currently support exposing this, but, their engineers are working on it. So I guess y’all need to be patient :wink:

Can anyone share any experiences with the built-in AI detection accuracy of these cameras vs something like Frigate? Personally, I think Frigate is awesome but it’s a resource hog for low power systems even with a Coral TPU. If the built-in AI of the Reolink cameras is as good then it’s a massive saving in terms of hardware cost.

1 Like

many thanks for the clarification! Actually in my case, this issue is blocking me from buying these cameras. At least as soon as I see the firmware update with the person detection implemented with ONVIF.
I don’t want to be too pessimistic, but here it might not be only a technical issue. Actually the firmware modification should be very easy for Reolink engineers, whereas there might be a strategy behind this lack (so you have to use their NVR). And honestly it is also fair from their point of you.

My vision about objects detection (person detection is my priority) is that there are many interesting projects (Frigate, Shinobi, DOODS) but none of them could be safely used for triggering an alarm with sirens (or in general to have reliable notifications), due to the presence of false positive. BlueIris is still one step above, but it not free and only for Windows. This is my perception in the first half of 2021, but I think that in the long run (some years) some of these project will outperform the current local detection of Reolink-AI cameras (which is good according to some youtube review I’ve seen).
So my idea was to use this local object detection for some time, and eventually switch to one of those project in the future.

Using the local detection would have been a saving in terms of : time (spent to configure these sw), hardware and power consuption…
Let’s keep the finger crossed! :slight_smile: thanks

I run Frigate and I get the occasional false positive but its not very often. I wouldn’t have any sirens linked to any detection method unless it was 100% reliable. Contact sensors on doors seem to be the best bet for that and I have my security automation linked into those. I don’t think any AI is at that level of accuracy yet or will it be for some time but I might be wrong. Still, it’s a LOT better than any motion sensing I’ve tried. If you want to trigger alarms from object detection, maybe try number of detentions per x seconds. That’s what I’m going to try for mine. In my experience false positives aren’t repeated in low motion areas (indoors). I would always test with notifications first and then work your way up to a big alarm automation!

Yeah, youtube isn’t great when half the “reviews” are product endorsements so I was looking for some more honest opinions. :smirk:

yes, I agree , but I’ve seen a number of reviews and especially with daylight the person detection seems to good enought.
I do have the same bad experience with external PIR sensor: even with the ones that are supposed to be “PET-friendly”. PIR sensors for indoor and door sensors (magnetic reed) are for sure quite reliable… but obviously the burglar is already inside the house…
Many thanks for sharing your experience with Frigate: number of detections in a certain time is a great tip to prevent false positive. I’ve seen that with DOODS you have also the % of detection confidence, so you can sum those values in a certain period and set a threshold.
BTW: in how many cameras are enabling the person detect? which HW are you using?

I’m running 6 cameras:
1 x Reolink RLC-520:
Detect: 2048x1536, 30fps, Max bitrate 256kbps (5 fps in frigate)
clips: 2048x1536 30fps 6144kbps max bitrate.
Video Codec: H264 - MPEG-4 AVC (part 10) (h264)
Audio Codec: MPEG AAC Audio (mp4a) 32khz

3 x TPLINK Tapo C200
1 x Detect: 640x360 5fps
2 x Detect: 1920x1080 5fps
Clips: 1920x1080 15fps
Codec: H264 - MPEG-4 AVC (part 10) (h264)
Audio Codec: PCM ALAW (alaw) Mono 8khz

2 x Neos (wyze clone) running dafang firmware:
clips/detect: 1280x720 15fps 300kbps (5fps in frigate).
Video Codec: H264 - MPEG-4 AVC (part 10) (h264)
Audio: none

I was using a RPi4 but I wanted to use internal M.2 SSD and a Coral USB but power issues scuppered that. I’ve switched to a small inexpensive NUC with an Intel N4000 CPU now. Sits about 60-80%. Have a look at the frigate mega thread if you want to read more.

You can do the same in Frigate and also adjust the min size and max size of the objects which helps quite a bit. I find outside detection accuracy challenging, it’s a constantly changing environment. I have clouds reflected in my car back window detected as a person the other day :grin:

True, but I guess it depends on each use case. I don’t think in my case the time between a camera detecting an intruder outside and them breaking a window and getting in, would be much different. From a security perspective cameras are more a deterrent than intrusion sensors too. If they are serious at breaking in though, then disabling cameras isn’t hard either.

I have done all the steps to add the reolink integration and at the beginning i could go through the setup of the integration entering the ip , port username and password, but the camera was not found.
After installing uninstalling a couple of times now i cant get even past this configuration and i get an unknown error. The onvif and ffmpeg streams work fine though. Any ideas?
My camere is the E1 zoom
image

Logger: custom_components.reolink_dev.config_flow
Source: config_entries.py:997
Integration: Reolink IP camera (documentation, issues)
First occurred: 11:39:04 AM (3 occurrences)
Last logged: 11:44:25 AM

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/reolink_dev/config_flow.py", line 73, in async_step_user
    self._abort_if_unique_id_configured()
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 997, in _abort_if_unique_id_configured
    raise data_entry_flow.AbortFlow("already_configured")
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured

I was facing with a similar problem…nor entities neither devices created…but if you set internal URL and external URL in Configuration/General and recreate all again it works. I have seen that there is a delay aprox 10 sec…So, it is no acceptable for me and I do prefer Reolink App to see my cameras
in your particular case you have to unistall Reolink ans re-install (after set Internal/external URL)

I Manage to sort it out, i had it temporarily disabled and was trying to re add it. I re enabled it and it works. The motion sensor is not picking anything uo though, but i can solve that via rest api

Any update on a new release that might incorporate the person / vehicle detection sensors?

Hi, I have just integrated GitHub - fwestenberg/reolink_dev: Home Assistant Reolink addon to my HA and connected a Reolink 510WA. My local HA instance uses http (not https) and the user account being used for the camera connection has Admin rights. I am able to see the switches and the binary_sensor created by the add-on, and also the camera stream works well. Unfortunately the binary_sensor never triggers for motion. Any ideas?

2 Likes

That is a known issue, just disable the entity and make a new binary_sensor for trigger motion.

binary_sensor:
  - platform: rest
    resource: !secret reolink_motion_sensor
    name: Voordeur_camera_motion_trigger
    scan_interval: 6
    value_template: "{{ value_json[0].value.state }}"
    device_class: motion
2 Likes

I have recently purchased a 510a camera and at the moment having issues with the motion detection binary sensor. Any progress/changes in your installation, any changes on @fwestenberg integration?

Thanks @anon36468094 but I would rather use the build-in motion/person detection feature of my 510a through the @fwestenberg integration. I think relying on the REST API with a rather long scan_interval might miss a lot of relevant events?

Woud love to do the same. Fire an event when Ai detects anything, upload video clip to local storage. HA notification. Voila, that would be brilliant.

Hi @fwestenberg , thanks for your Reolink integration and your ongoing support! I have recently updated to the latest version and was hoping to have the issue with my RCL-510WA solved but unfortunately it did not. All the switches and the binary_sensor are there and seem to reside inside HA without issues. However, the motion event never triggers inside HA. The camera does recognize motion and sends out push notification through the Reolink app. Also when I change the state of the binary_sensor manually from OFF to ON a motion event triggers, which indicates that the integration itself has no problems. Any advice is much appreciated. Cheers

@sahni I am on the fence RE purchasing a couple of RLC-510WA (wireless) and was wondering about the state of the integration with HA. It seems the presence detection is not working at all yet, questions:

  • any other issue, e.g. is video integration with HA working okay?
  • lastly is the presence detection reliable in this cam?

My experience using 4 RLC-820A connected to an NVR and the HA integration

Video integration with HA:

  • You get a picture in the overview section that updates every…10secs?
  • Click on the image opens a popup with an image that never loads :warning:
  • Enable/disable recording, audio, and motion work well :white_check_mark:

Presence detection reliable in this cam:

  • You can get motions in HA that never occurred (comparing with the Reolink client) :warning:
  • Go to the Reolink client, find a motion, go to HA and look for that motion, motion never happened :warning:

The reolink_dev integration works in so far that all the entities are available in HA and you able to set the properties of the camera. Unfortunately the binary sensor for motion does not work despite the fact that motion detection works well in the Reolink App. I was planning to add more 510WA to my system but will not do it for the time being since I want the motion binary sensor working in order to use the great AI feature for person detection of the current Reolink cameras. I am aware that alternative solutions (e.g. Doods etc) exists but I do not see the point to utilize additional software (and therefore bloat up my system) when the camera (RLC-510) has built-in AI person detection.

1 Like

It seems that the lastest version of the integration can deal with person/car detection: Support for car and person detection · Issue #86 · fwestenberg/reolink_dev · GitHub
Thanks to the developer (fwestenberg) and thanks to the reolink developers that added the required data in the ONVIF stream. Of course you have to be on the lastest firmware in the camera (3.0.0.177 for my 810A). I have 6 RLC-810A still in the package… and I am looking forward to install and test them!

1 Like