[APP][Pro] Support for ONVIF compatible cameras (Release 2.0.60, Test 2.0.60)

Hello Adrian

I managed to add the first camera to the app, but I don’t have an image and an error message appears saying “Forbidden”.

Can you check the camera settings to make sure it allows http and that the user profile you have used to connect Homey to the camera has permission to access it.

Thanks.

It’s difficult to ensure this with my level of knowledge and Dahua’s not very user-friendly system.

Can anyone share some help?

When I connected my izou (Dahua) camera’s I needed to change to motion alert to state before it started working. Other then that it was plug and play when I entered the right password.

1 Like

Where you did that change?

Thank you

Just to be shure

Which IP adress is the correct one?

And which port?

In de settings of the camera!
The padres you should use is the one you have connected to your nvr. I connected the camera’s separately because the nvr didn’t support it.

Hi Adrian,

Since the latest test release 2.0.51 I get Unauthorized errors. I also don’t get any triggers (motion or when somebody rang).

Restart doesn’t help. Any idea what has changed in the newest release that cause this error?

Log

Summary

Log ID: 2025-02-13T19:03:18.124Z
App version 2.0.51

19:3:18.124: Initialising CameraDevice (Reolink Haustür)
19:3:27.821: cpuwarn! 1 of 5
19:3:27.940: --------------------------
19:3:27.943: Connect to Camera 192.168.179.215:8000 - admin
19:3:28.050: getSystemDateAndTime (192.168.179.215): Thu Feb 13 2025 19:03:27 GMT+0000 (Coordinated Universal Time), Time Shift: -1049 Finished -----
19:3:28.055: getServices (192.168.179.215): Started *****
19:3:28.153: getServices (192.168.179.215): Finished -----
19:3:28.157: getCapabilities (192.168.179.215): Started *****
19:3:28.264: getCapabilities (192.168.179.215): Finished -----
19:3:29.235: VideoSources (192.168.179.215): [
{
“$”: {
“token”: “000”
},
“framerate”: 20,
“resolution”: {
“width”: 2560,
“height”: 1920
},
“imaging”: {
“brightness”: 128,
“colorSaturation”: 128,
“contrast”: 128,
“irCutFilter”: “ON”,
“sharpness”: 128
}
}
]
19:3:29.239: ActiveSource (192.168.179.215) [0] = {
“$”: {
“token”: “000”
},
“name”: “VideoE_000”,
“useCount”: 1,
“encoding”: “H264”,
“resolution”: {
“width”: 2560,
“height”: 1920
},
“quality”: 0,
“rateControl”: {
“frameRateLimit”: 20,
“encodingInterval”: 1,
“bitrateLimit”: 6144
},
“H264”: {
“govLength”: 40,
“H264Profile”: “Main”
},
“multicast”: {
“address”: {
“type”: “IPv4”,
“IPv4Address”: “239.0.1.0”
},
“port”: 4000,
“TTL”: 64,
“autoStart”: false
},
“sessionTimeout”: “PT10S”
}
19:3:29.243: VideoSource (192.168.179.215) [0] = {
“$”: {
“token”: “000”
},
“framerate”: 20,
“resolution”: {
“width”: 2560,
“height”: 1920
},
“imaging”: {
“brightness”: 128,
“colorSaturation”: 128,
“contrast”: 128,
“irCutFilter”: “ON”,
“sharpness”: 128
}
}
19:3:29.279: ** service capabilities Reolink Haustür = {
“network”: {
“IPFilter”: false,
“ZeroConfiguration”: false,
“IPVersion6”: false,
“DynDNS”: false,
“Dot11Configuration”: false,
“HostnameFromDHCP”: false,
“NTP”: 1
},
“security”: {
“TLS1.0”: false,
“TLS1.1”: false,
“TLS1.2”: false,
“OnboardKeyGeneration”: false,
“AccessPolicyConfig”: false,
“Dot1X”: false,
“RemoteUserHandling”: false,
“X.509Token”: false,
“SAMLToken”: false,
“KerberosToken”: false,
“UsernameToken”: true,
“HttpDigest”: true,
“RELToken”: false
},
“system”: {
“DiscoveryResolve”: true,
“DiscoveryBye”: true,
“RemoteDiscovery”: false,
“SystemBackup”: false,
“SystemLogging”: false,
“FirmwareUpgrade”: false,
“HttpFirmwareUpgrade”: false,
“HttpSystemBackup”: false,
“HttpSystemLogging”: false,
“HttpSupportInformation”: false
}
}
19:3:29.285: getServices (192.168.179.215): Started *****
19:3:29.363: getServices (192.168.179.215): Finished -----
19:3:29.366: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver10/device/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/device_service”,
“capabilities”: {
“capabilities”: {
“network”: {
“$”: {
“IPFilter”: false,
“ZeroConfiguration”: false,
“IPVersion6”: false,
“DynDNS”: false,
“Dot11Configuration”: false,
“HostnameFromDHCP”: false,
“NTP”: 1
}
},
“security”: {
“$”: {
“TLS1.0”: false,
“TLS1.1”: false,
“TLS1.2”: false,
“OnboardKeyGeneration”: false,
“AccessPolicyConfig”: false,
“DefaultAccessPolicy”: false,
“Dot1X”: false,
“X.509Token”: false,
“SAMLToken”: false,
“KerberosToken”: false,
“UsernameToken”: true,
“HttpDigest”: true,
“RELToken”: false
}
},
“system”: {
“$”: {
“DiscoveryResolve”: true,
“HttpSupportInformation”: false,
“DiscoveryBye”: true,
“HttpFirmwareUpgrade”: false,
“HttpSystemLogging”: false
}
},
“misc”: {
“$”: {
“AuxiliaryCommands”: “”
}
}
}
},
“version”: {
“major”: 21,
“minor”: 6
}
}
19:3:29.368: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver20/analytics/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/analytics_service”,
“capabilities”: {
“capabilities”: {
“$”: {
“RuleSupport”: true,
“AnalyticsModuleSupport”: true,
“CellBasedSceneDescriptionSupported”: false,
“RuleOptionsSupported”: false,
“AnalyticsModuleOptionsSupported”: false
}
}
},
“version”: {
“major”: 21,
“minor”: 6
}
}
19:3:29.371: ** Analytics supported on Reolink Haustür
19:3:29.373: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver20/imaging/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/imaging_service”,
“capabilities”: {
“capabilities”: “”
},
“version”: {
“major”: 19,
“minor”: 6
}
}
19:3:29.377: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver10/deviceIO/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/deviceIO_service”,
“capabilities”: “”,
“version”: {
“major”: 19,
“minor”: 6
}
}
19:3:29.380: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver10/media/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/media_service”,
“capabilities”: {
“capabilities”: {
“$”: {
“SnapshotUri”: true,
“Rotation”: false
},
“profileCapabilities”: {
“$”: {
“MaximumNumberOfProfiles”: 10
}
},
“streamingCapabilities”: {
“$”: {
“RTPMulticast”: false,
“RTP_TCP”: true,
“RTP_RTSP_TCP”: true,
“NonAggregateControl”: false
}
}
}
},
“version”: {
“major”: 20,
“minor”: 6
}
}
19:3:29.382: ** Snapshots are supported on Reolink Haustür
19:3:29.384: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver20/media/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/Media2”,
“capabilities”: {
“capabilities”: {
“$”: {
“SnapshotUri”: true,
“Rotation”: false,
“VideoSourceMode”: false,
“OSD”: true,
“TemporaryOSDText”: false,
“Mask”: false,
“SourceMask”: false
},
“profileCapabilities”: {
“$”: {
“MaximumNumberOfProfiles”: 10,
“ConfigurationsSupported”: “VideoSource VideoEncoder Metadata AudioSource AudioEncoder AudioOutput AudioDecoder”
}
},
“streamingCapabilities”: {
“$”: {
“RTSPStreaming”: true,
“RTPMulticast”: true,
“RTP_RTSP_TCP”: true,
“NonAggregateControl”: false,
“AutoStartMulticast”: false
}
}
}
},
“version”: {
“major”: 21,
“minor”: 6
}
}
19:3:29.387: ** Snapshots are supported on Reolink Haustür
19:3:29.389: ** Service Reolink Haustür{
“namespace”: “http://www.onvif.org/ver10/events/wsdl”,
“XAddr”: “http://192.168.179.215:8000/onvif/event_service”,
“capabilities”: {
“capabilities”: {
“$”: {
“WSSubscriptionPolicySupport”: true,
“WSPullPointSupport”: true,
“MaxPullPoints”: 2
}
}
},
“version”: {
“major”: 21,
“minor”: 6
}
}
19:3:29.391: ** PushEvent supported on Reolink Haustür
19:3:29.493: Camera Information (Reolink Haustür): {
“manufacturer”: “REOLINK”,
“model”: “Reolink Video Doorbell PoE”,
“firmwareVersion”: “v3.0.0.3308_2407315183”,
“serialNumber”: 192168179215,
“hardwareId”: “IPC”
}
19:3:29.496: getCapabilities (192.168.179.215): Started *****
19:3:29.557: getCapabilities (192.168.179.215): Finished -----
19:3:29.561: Camera (Reolink Haustür) supports PullPoint
19:3:29.617: Supported Events(Reolink Haustür): MOTIONALARM,IMAGINGSERVICE,PROFILECHANGED,CONFIGURATIONCHANGED,MOTION
19:3:29.898: Snapshot URL: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
19:3:29.906: Registering Now image (Reolink Haustür)
19:3:29.908: registered Now image (Reolink Haustür)
19:3:29.915: SnapShot save file (Reolink Haustür) = eventimageec_71_db_de_1c_5f.jpg
19:3:29.918: Registering event image (Reolink Haustür)
19:3:29.963: registered event image (Reolink Haustür)
19:3:29.971: ## Waiting for Pull events (Reolink Haustür) ##
19:3:29.977: Camera (Reolink Haustür) is ready
19:3:29.997:

--------------------createPullPointSubscription--------------------

19:3:30.058: createPullPointSubscription parsed: {
“protocol”: “http:”,
“slashes”: true,
“auth”: null,
“host”: “192.168.179.215:8000”,
“port”: “8000”,
“hostname”: “192.168.179.215”,
“hash”: null,
“search”: “?Idx=1412403”,
“query”: “Idx=1412403”,
“pathname”: “/onvif/PullSubManager”,
“path”: “/onvif/PullSubManager?Idx=1412403”,
“href”: “http://192.168.179.215:8000/onvif/PullSubManager?Idx=1412403
}

19:3:30.098: Presets found (Reolink Haustür): 0
19:3:30.134:
– Event detected (Reolink Haustür) –
19:3:30.138: {
“topic”: {
“_”: “tns1:RuleEngine/CellMotionDetector/Motion”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: [
{
“$”: {
“Name”: “VideoSourceConfigurationToken”,
“Value”: “000”
}
},
{
“$”: {
“Name”: “VideoAnalyticsConfigurationToken”,
“Value”: “000”
}
},
{
“$”: {
“Name”: “Rule”,
“Value”: “000”
}
}
]
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “IsMotion”,
“Value”: false
}
}
}
}
}
}

19:3:30.141: Event data: (Reolink Haustür) RuleEngine/CellMotionDetector/Motion: IsMotion = false
19:3:30.152: Event Trigger (Reolink Haustür):IsMotion = false
19:3:30.157:
– Event detected (Reolink Haustür) –
19:3:30.160: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/FaceDetect”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.163: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/FaceDetect: State = false
19:3:30.166: Event Processing (Reolink Haustür):false
19:3:30.171: Event Trigger (Reolink Haustür):Face Detected = false
19:3:30.174:
– Event detected (Reolink Haustür) –
19:3:30.176: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/PeopleDetect”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.179: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/PeopleDetect: State = false
19:3:30.182: Event Processing (Reolink Haustür):false
19:3:30.191:
– Event detected (Reolink Haustür) –
19:3:30.194: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/VehicleDetect”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.202: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/VehicleDetect: State = false
19:3:30.223: Event Processing (Reolink Haustür):false
19:3:30.233: Event Trigger (Reolink Haustür):Vehicle Detected = false
19:3:30.236:
– Event detected (Reolink Haustür) –
19:3:30.239: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/DogCatDetect”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.242: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/DogCatDetect: State = false
19:3:30.245: Event Processing (Reolink Haustür):false
19:3:30.249: Event Trigger (Reolink Haustür):Dog / Cat Detected = false
19:3:30.252:
– Event detected (Reolink Haustür) –
19:3:30.254: {
“topic”: {
“_”: “tns1:VideoSource/MotionAlarm”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.258: Event data: (Reolink Haustür) VideoSource/MotionAlarm: State = false
19:3:30.262: Ignoring event type (Reolink Haustür) VideoSource/MotionAlarm: State = false
19:3:30.359:
– Event detected (Reolink Haustür) –
19:3:30.362: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/Visitor”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.365: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/Visitor: State = false
19:3:30.368: Event Processing (Reolink Haustür):false
19:3:30.374: Event Trigger (Reolink Haustür):Vistor Detected = false
19:3:30.381:
– Event detected (Reolink Haustür) –
19:3:30.384: {
“topic”: {
“_”: “tns1:RuleEngine/MyRuleDetector/Package”,
“$”: {
“Dialect”: “http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet
}
},
“message”: {
“message”: {
“$”: {
“UtcTime”: “2025-02-13T19:03:29.000Z”,
“PropertyOperation”: “Initialized”
},
“source”: {
“simpleItem”: {
“$”: {
“Name”: “Source”,
“Value”: “000”
}
}
},
“data”: {
“simpleItem”: {
“$”: {
“Name”: “State”,
“Value”: false
}
}
}
}
}
}

19:3:30.387: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/Package: State = false
19:3:30.390: Ignoring event type (Reolink Haustür) RuleEngine/MyRuleDetector/Package: State = false
19:3:30.710: Event Processing (Reolink Haustür):false
19:3:30.713: Event Trigger (Reolink Haustür):Person Detected = false

I downgraded to the stable release: the problem is gone.

Daniel

I can’t see any errors in that log. Is it from the problem version?

I reinstalled 2.0.51. The error is back and only appears if I reload the camera snapshot. Reloading fails mostly, but sometimes works. With the detailed logging options, I found this in the log

  20:9:4.889: Event data: (Reolink Haustür) RuleEngine/MyRuleDetector/Package: State = false
20:9:4.892: Ignoring event type (Reolink Haustür) RuleEngine/MyRuleDetector/Package: State = false
20:10:9.155: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.174: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.220: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:9.224: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.272: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:9.277: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.313: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:9.318: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.335: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:9.342: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:9.514: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:9.520: Fetch NOW error (Reolink Haustür): Unauthorized
20:10:9.605: SnapShot fetch result (Reolink Haustür): Status: true, Message: OK, Code: 200

20:10:9.652: Now Image Updated (Reolink Haustür)
20:10:42.084: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.098: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.163: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:42.167: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.185: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:42.189: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.261: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:42.265: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.283: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:42.289: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:42.401: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:42.406: Fetch NOW error (Reolink Haustür): Unauthorized
20:10:42.513: SnapShot fetch result (Reolink Haustür): Status: true, Message: OK, Code: 200

20:10:42.560: Now Image Updated (Reolink Haustür)
20:10:43.951: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:43.962: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:44.020: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:44.026: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:44.042: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:44.049: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:44.081: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:44.085: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:44.101: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:44.106: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:44.225: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:44.228: Fetch NOW error (Reolink Haustür): Unauthorized
20:10:44.315: SnapShot fetch result (Reolink Haustür): Status: true, Message: OK, Code: 200

20:10:44.354: Now Image Updated (Reolink Haustür)
20:10:48.002: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.013: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.071: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:48.077: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.130: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:48.133: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.157: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:48.162: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.175: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:48.180: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:48.311: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:48.316: Fetch NOW error (Reolink Haustür): Unauthorized
20:10:48.435: SnapShot fetch result (Reolink Haustür): Status: true, Message: OK, Code: 200

20:10:48.475: Now Image Updated (Reolink Haustür)
20:10:49.577: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.585: Fetching (Reolink Haustür) NOW image with no Auth from: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.626: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:49.629: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.683: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:49.687: Fetching (Reolink Haustür) NOW image with Basic Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.705: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:49.708: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.744: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:49.749: Fetching (Reolink Haustür) NOW image with Digest Auth. From: http://192.168.179.215:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0
20:10:49.869: SnapShot fetch result (Reolink Haustür): Status: false, Message: Unauthorized, Code: 401

20:10:49.872: Fetch NOW error (Reolink Haustür): Unauthorized
20:10:49.942: SnapShot fetch result (Reolink Haustür): Status: true, Message: OK, Code: 200

20:10:49.992: Now Image Updated (Reolink Haustür)

After reinstalling the motion events are back and get updated as they should.

Same subnet. The full log is showing a 401 error when I want to add the NVR.

When I try to add one of the camera’s of the NVR to the app I use ONVIF port 65001 the app is adding the device but it’s not working.

The log I have received shows unauthorised, so the camera doesn’t like the username or password you have supplied. Sometimes you need to create a separate ONVIF account, so maybe check the settings on the camera/NVR.

I copied the exact values from the NVR. Do you see any problem in the attached screenshot?

What is strange is the system is refusing the GetSystemDateAndTime which shouldn’t be protected via ONVIF as the time must be synchronised between the two so the digest can be calculated correctly for authentication.

9:6:36.719: Connect to Camera 192.168.2.18:80 - admin
9:6:36.727: 
_request (192.168.2.18): {
	"hostname": "192.168.2.18",
	"port": 80,
	"path": "/onvif/device_service",
	"agent": false,
	"timeout": 15000,
	"headers": {
		"Content-Type": "application/soap+xml; charset: utf-8; action=\"http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime\"",
		"Content-Length": 261,
		"charset": "utf-8"
	},
	"method": "POST"
}
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetSystemDateAndTime xmlns="http://www.onvif.org/ver10/device/wsdl"/></s:Body></s:Envelope>

9:6:36.760: 
_request response (192.168.2.18): <!DOCTYPE html>
<head>
    <title>Unauthorized</title>
    <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
</head>
<body>
<h2>Access Error: 401 -- Unauthorized</h2>
<pre></pre>
</body>
</html>

Can you check if http is being blocked by any of the settings?

Could this be something?

I guess that means HTTP is enabled?

I’m afraid I am at loss as I have checked the changes between the two versions and nothing about the authentication or image capture has changed.
The last update just added the PTZ option. The updates prior to that were small changes to stop a timer when the events were turned off and increased the number of CPU warnings before closing the server.

So I guess that means HTTP is enabled?
Could you try installing the release version (2.0.48) to see if you are experiencing a similar issue to McFetz?

Hi, I tested with 2.0.51 and still same problem. I shared the full log.

The log still shows an unauthorised error when calling the GetSystemDateAndTime endpoint and that shouldn’t be protected.
The digest authorisation requires the date and time to generate the security key, so the hosts and clients time must be synchronised to generate the correct key, hence that endpoint shouldn’t be protected according to the ONVIF protocol.

So, either the camera is not properly ONVIF compliant or something else is blocked access.

Do you understand why port 65001 is accepted by the NVR?

No idea as it’s not reported in the broadcast data, so maybe the camera is just reporting the wrong port.
Can you use port 65001 and then send the log?