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

Unfortunately the log is very sparse, so either the level wasn’t set or you didn’t leave it long enough. Basically I need to see the startup of each camera to see what it reports.

Unfortunately, I’m on holiday for a week now, so there will be a bit of a delay before I can throughly review it.

Well deserved, no worries.

I did set it to Basic as you pointed. I will leave it today and send it to you at the end of the day.

Enjoy your holidays! :smiling_face_with_sunglasses:

Logs have been sent this morning :wink:

1 Like

I’m on holiday this week and I struggle to analyse the log on my phone, so I might not be able to check it until the weekend when I get back to my PC.

No rush, enjoy your holidays.

Installed new Imou Cruiser 2 camera … all works fine in the Imou app.
Now trying to integrate in Homey/ONVIF app.
Unfortunately, it doesn’t report any Motion detection.
I can configure in the app a Snapshot and this works … but no Motion detection.
I’ve selected "MOTIONALARM(STATE) in the app according the supported “ONVIF Notification type”.
Created and send a log file to Adrian Rockall.
FYI: I have another Dahua camera installed in the Imou app and Homey without any problem. Disabled the Dahua for the creation of the log

Hi

How did you add your NVR and the Onif application?

I have this error : Discovery error: Cannot read properties of null (reading ‘0’)

Do you know?

Can you send me the the Diagnostics Log from the app settings page.

Did you add the NVR to the app? I still have to add the separate camera’s one by one and do not get any events. Can you share settings?

Hi, first I added a fixed IP to the cameras and NVR so that they wouldn’t get lost after every internet restart. Then I loaded and added the NVR via the Onvif app…they can also be added individually, but that didn’t do any good. We coordinated the motion detection settings with Adrian, who created the Onvif app. I’ve attached the settings as they are.


Hi thx for you help ; 3cd52e35-1b03-4831-8269-308dba092bba

I have a problem with my snapshots from the cameras.
If I want to use “snapshot” in a message in Telegram or if I want to write the snapshot to the “afbeelding” app the error I receive is “Invalid URL” if I hover over the snapshot I see the snapshot picture.
What could be wrong??

Hi @Adrian_Rockall, thank you for the app. I could set up my cameras and get the snapshot working etc.
One thing that I can’t get working is to go the preset PTZ position.
I can confirm that I have 4 preset position configured that work inside the Reolink app but not through your app on Homey.


Here is the log from your app when I use the card MoveToPreset inside a flow
Log ID: 2025-07-18T07:29:14.547Z
App version 2.0.51

7:29:14.547: getCapabilities (192.168.1.101): Started *****
7:29:14.701: getCapabilities (192.168.1.101): Finished -----
7:29:14.831: Error when moving to preset 1: undefined
7:29:14.833: PTZ error (Camera Rez-de-Chaussé): undefined

Could you help me find what went wrong or what I missed ?

Hi @Adrian_Rockall

Thanks for all the effort on this app.

I see lots of talk about Hikvision NVR etc. However I have 9 Hikvision cameras that connect using Onvif protocol to a PC based app called NX witness.

That is all working 100%

However when i connect each IP camera to Homey. I can refresh snapshot and see the updated pictures, bit none of the features are working, motion, line crossing etc all are old and either say updated xx days ago (when I added the camera to Homey) or updated 56 days ago.

I have tried several of the onvif notification type but none seem to make any difference.

Let me know if you can help. The data logs seen to be calling events bit they dont have any event type.

Here is a snippet of the basic lot being generated

19:39:5.307: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 100
19:39:29.660: Push event: 192.168.1.118
19:39:29.715: Push event token: Processor_Usage
19:39:29.764:
– Event detected (Front Porch 192.168.1.118) –

19:39:29.797: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 42
19:39:46.564: Push event: 192.168.1.117
19:39:46.619: Push event token: Processor_Usage
19:39:46.643:
– Event detected (Front Center 192.168.1.117) –

19:39:46.670: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 45
19:40:5.722: Push event: 192.168.1.111
19:40:5.780: Push event token: Processor_Usage
19:40:5.821:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:40:5.850: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 88
19:40:30.419: Push event: 192.168.1.118
19:40:30.446: Push event token: Processor_Usage
19:40:30.470:
– Event detected (Front Porch 192.168.1.118) –

19:40:30.497: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 19
19:40:36.286: Push renew every (Front Porch 192.168.1.118): 304
19:40:47.242: Push event: 192.168.1.117
19:40:47.286: Push event token: Processor_Usage
19:40:47.334:
– Event detected (Front Center 192.168.1.117) –

19:40:47.357: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 30
19:41:6.461: Push event: 192.168.1.111
19:41:6.519: Push event token: Processor_Usage
19:41:6.550:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:41:6.574: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 95
19:41:31.064: Push event: 192.168.1.118
19:41:31.120: Push event token: Processor_Usage
19:41:31.160:
– Event detected (Front Porch 192.168.1.118) –

19:41:31.184: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 24
19:41:47.958: Push event: 192.168.1.117
19:41:48.024: Push event token: Processor_Usage
19:41:48.057:
– Event detected (Front Center 192.168.1.117) –

19:41:48.083: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 40
19:41:49.062: Push renew every (Front Center 192.168.1.117): 305
19:41:51.043: Push renew every (Yousif Side 192.168.1.111 (Ch2)): 305
19:42:6.980: Push event: 192.168.1.111
19:42:7.039: Push event token: Processor_Usage
19:42:7.065:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:42:7.096: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 89
19:42:31.784: Push event: 192.168.1.118
19:42:31.835: Push event token: Processor_Usage
19:42:31.875:
– Event detected (Front Porch 192.168.1.118) –

19:42:31.902: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 6
19:42:48.682: Push event: 192.168.1.117
19:42:48.748: Push event token: Processor_Usage
19:42:48.775:
– Event detected (Front Center 192.168.1.117) –

19:42:48.800: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 28
19:43:7.596: Push event: 192.168.1.111
19:43:7.650: Push event token: Processor_Usage
19:43:7.676:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:43:7.719: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 89
19:43:32.501: Push event: 192.168.1.118
19:43:32.545: Push event token: Processor_Usage
19:43:32.588:
– Event detected (Front Porch 192.168.1.118) –

19:43:32.625: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 30
19:43:49.402: Push event: 192.168.1.117
19:43:49.457: Push event token: Processor_Usage
19:43:49.483:
– Event detected (Front Center 192.168.1.117) –

19:43:49.507: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 48
19:44:8.147: Push event: 192.168.1.111
19:44:8.171: Push event token: Processor_Usage
19:44:8.197:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:44:8.220: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 100
19:44:33.155: Push event: 192.168.1.118
19:44:33.208: Push event token: Processor_Usage
19:44:33.247:
– Event detected (Front Porch 192.168.1.118) –

19:44:33.274: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 25
19:44:50.116: Push event: 192.168.1.117
19:44:50.164: Push event token: Processor_Usage
19:44:50.217:
– Event detected (Front Center 192.168.1.117) –

19:44:50.243: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 16
19:45:8.936: Push event: 192.168.1.111
19:45:9.004: Push event token: Processor_Usage
19:45:9.039:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:45:9.067: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 87
19:45:33.870: Push event: 192.168.1.118
19:45:33.895: Push event token: Processor_Usage
19:45:33.922:
– Event detected (Front Porch 192.168.1.118) –

19:45:33.947: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 7
19:45:35.340: Push renew every (Front Porch 192.168.1.118): 305
19:45:50.770: Push event: 192.168.1.117
19:45:50.799: Push event token: Processor_Usage
19:45:50.826:
– Event detected (Front Center 192.168.1.117) –

19:45:50.852: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 36
19:46:9.685: Push event: 192.168.1.111
19:46:9.710: Push event token: Processor_Usage
19:46:9.740:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:46:9.765: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 100
19:46:34.594: Push event: 192.168.1.118
19:46:34.635: Push event token: Processor_Usage
19:46:34.660:
– Event detected (Front Porch 192.168.1.118) –

19:46:34.687: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 0
19:46:49.119: Push renew every (Front Center 192.168.1.117): 305
19:46:51.158: Push renew every (Yousif Side 192.168.1.111 (Ch2)): 305
19:46:51.501: Push event: 192.168.1.117
19:46:51.548: Push event token: Processor_Usage
19:46:51.586:
– Event detected (Front Center 192.168.1.117) –

19:46:51.621: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 24
19:47:10.181: Push event: 192.168.1.111
19:47:10.233: Push event token: Processor_Usage
19:47:10.280:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

19:47:10.307: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 84
19:47:35.317: Push event: 192.168.1.118
19:47:35.369: Push event token: Processor_Usage
19:47:35.418:
– Event detected (Front Porch 192.168.1.118) –

19:47:35.455: Event data: (Front Porch 192.168.1.118) Monitoring/ProcessorUsage: Value = 15
19:47:52.218: Push event: 192.168.1.117
19:47:52.277: Push event token: Processor_Usage
19:47:52.316:
– Event detected (Front Center 192.168.1.117) –

19:47:52.347: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 14
19:48:10.719: Push event: 192.168.1.111
19:48:10.743: Push event token: Processor_Usage
19:48:10.769:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

Have you enabled the motion detection button in the apps device?

Yes i have that enabled.

Settings on the actual camera are very limited. However im using the same username and password for nx witness and homey. Assuming thats ok.

Username and password must be OK as it’s getting the cpu events, which also shows the app is subscribing to events OK.
I presume that during that logging you generated motion on the cameras?

I have cleared the logs and walked infront of the yousif side and front centre cameras. This was the log generated, however no updated snapshop image or updates motion on homey.

Log ID: 2025-07-27T01:41:54.047Z
App version 2.0.51

1:41:54.047: Push renew every (Yousif Side 192.168.1.111 (Ch2)): 305
1:42:1.506: Push event: 192.168.1.117
1:42:1.511: Push event token: Processor_Usage
1:42:1.514:
– Event detected (Front Center 192.168.1.117) –

1:42:1.517: Event data: (Front Center 192.168.1.117) Monitoring/ProcessorUsage: Value = 7
1:42:3.272: Push event: 192.168.1.117
1:42:3.281: Push event token: VideoSourceToken
1:42:3.284:
– Event detected (Front Center 192.168.1.117) –

1:42:3.287: Event data: (Front Center 192.168.1.117) RuleEngine/FieldDetector/ObjectsInside: IsInside = true (63120)
1:42:3.290: Event Trigger (Front Center 192.168.1.117):IsInside = true
1:42:3.295: Updating Motion Image in 0.5seconds
1:42:3.904: Fetching (Front Center 192.168.1.117) MOTION EVENT image with Digest Auth. From: http://192.168.1.117/onvif-http/snapshot?Profile_1
1:42:4.104: SnapShot fetch result (Front Center 192.168.1.117): Status: true, Message: OK, Code: 200

1:42:4.363: Event Image Updated (Front Center 192.168.1.117)
1:42:4.651: Push event: 192.168.1.111
1:42:4.655: Push event token: VideoSourceToken_2
1:42:4.656:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –
1:42:4.660: WARNING: Data does not contain a simpleItem or elementItem
1:42:20.699: Push event: 192.168.1.111
1:42:20.708: Push event token: Processor_Usage
1:42:20.711:
– Event detected (Yousif Side 192.168.1.111 (Ch2)) –

1:42:20.714: Event data: (Yousif Side 192.168.1.111 (Ch2)) Monitoring/ProcessorUsage: Value = 100