Skip to content

Commit 0b95ef2

Browse files
starkillerOGfrenck
andauthored
Reolink troubleshooting: reduce latency of motion events (home-assistant#28288)
Co-authored-by: Franck Nijhof <git@frenck.dev>
1 parent fc5a242 commit 0b95ef2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

source/_integrations/reolink.markdown

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Depending on the supported features of the camera, binary sensors are added for:
5757
These sensors are polled every 60 seconds and receive ONVIF push events for immediate updates.
5858
Not all camera models generate ONVIF push events for all event types, some binary sensors might, therefore, only be polled.
5959
For list of Reolink products that support ONVIF see the [Reolink Support Site](https://support.reolink.com/hc/en-us/articles/900000617826).
60+
To ensure you have the best latency possible, refer to the [Reducing latency of motion events](#Reducing_latency_of_motion_events) section.
6061

6162
## Number entities
6263

@@ -249,3 +250,16 @@ Then power up the camera while pointing it at the QR code. It takes about a minu
249250
- On some camera models, the RTMP port needs to be enabled in order for the HTTP(S) port to function properly. Make sure this port is also enabled if you get a `Cannot connect to host` error while one of the HTTP/HTTPS ports is already enabled.
250251
- Setting a static IP address for Reolink cameras/NVRs in your router is advisable to prevent (temporal) connectivity issues when the IP address changes.
251252
- Do not set a static IP in the Reolink device itself, but leave the **Connection Type** on **DHCP** under **Settings** > **Network** > **Network Information** > **Set Up**. If you set it to **static** on the Reolink device itself, this is known to cause incorrect DHCP requests on the network. The incorrect DHCP request causes Home Assistant to use the wrong IP address for the camera, resulting in connection issues. The issue originates from the Reolink firmware, which keeps sending DCHP requests even when you set a static IP address in the Reolink device.
253+
254+
### Reducing latency of motion events
255+
256+
ONVIF push will result in slightly faster state changes of the binary motion/AI event sensors than ONVIF long polling.
257+
However, ONVIF push has some additional network configuration requirements:
258+
259+
- Reolink products can not push motion events to an HTTPS address (SSL).
260+
Therefore, make sure a (local) HTTP address at which HA is reachable is configured under **Home Assistant URL** in the {% my network title="network settings" %}.
261+
A valid address could, for example, be `http://192.168.1.10:8123` where `192.168.1.10` is the IP of the Home Assistant device".
262+
263+
- Since a HTTP address is needed, Reolink push is incompatible with a global SSL certificate.
264+
Therefore, ensure no Global SSL certificate is configured in the [`configuration.yaml` under HTTP](/integrations/http/#ssl_certificate).
265+
An SSL certificate can still be enforced for external connections, by, for instance, using the [NGINX add-on](https://github.com/home-assistant/addons/tree/master/nginx_proxy) or [NGINX Proxy Manager add-on](https://github.com/hassio-addons/addon-nginx-proxy-manager) instead of a globally enforced SSL certificate.

0 commit comments

Comments
 (0)