[ST Edge] ONVIF-compliant IP Camera Motion Detection & Video Streaming - Testers Wanted!

no… only lighting

Thanks for the info

That’s odd. Are you sure you have the latest version of the mobile app installed?

Driver Update Notice!! >> Version 2022-05-25T02:36:30.397881122

Changes:

  • Axis camera subscription renewals now working (@amin300 thanks for helping!)
  • Change to enable authentication during initial date/time request (@ivhazu)
  • Performance improvement: for cameras that use a specific authentication method, there was an encryption library I’m using that was running extremely slow on the hub, causing long delays each time authentication data had to be created. Symptoms in the app were that it could take an abnormally long time to initialize a camera as a result of a Refresh action, or very slow response when turning the motion events switch on or off. This fix will result in noticeable improvement in responsiveness for certain cameras.

Upcoming:

  • For unique cases where cameras are not being discovered automatically on the network, I am working on solution to allow for manual entry of the camera’s IP address & port number to get the camera device created. This will be implemented using a special ‘creator’ device. I hope to get this out sometime next week.

Although this update wasn’t for my camera model I installed it just too see if motion detection works but no luck.

Tks a lot. Now the camera has well connected (status Responding) but the it’s impossibile to update the motion events (always on off)

2022-05-25T16:35:36.827780336+00:00 ERROR ONVIF Video Camera V1  IPCam #2 (configure!) thread encountered error: [string "st/dispatcher.lua"]:229: Error encountered while processing event for <Device: ef6dfed6-aa8a-472d-93f8-e169701cd3b9 (IPCam #2 (configure!))>:
    arg1: table: 0x243e580
[string "init.lua"]:326: attempt to index a nil value (field '_attr')

And the video stream does not work.
I send you the new log.

Hello - I got your log. Thanks for sending. It looks like your camera is returning data that isn’t in the standard format expected. We’re going to have to get some data dumps of your camera’s return data to see if it’s something I can adjust for in the code.

I will DM you directly so we can continue this.

yes, i have the latest version

Hello I’m facing the same issue

I installed the driver but in the menu I only see the group light not the Camera groups.

Thank you for your support and best regards

And yes I have also the last version of the app smartthings installed on my device no update available for now…

Thank you and best regards

@nayelyz - A couple folks are reporting that they don’t have the option to create a camera group. Is this not available in all countries?

The menu appear when you have minimum 2 cams (or Virtual)

I’m not sure, I need to ask the internal team about it but they have more than one as mentioned by @joinwind, right?

How many cameras has the driver detected in Smartthings?

You may need to get my virtual camera driver to create a dummy camera if you have only one camera device.

Now I can view the menu to add the cameras. I need to remove and add again the driver…

But I have several Onvif cameras Reolink, IMOU and Dahua and none of cameras display stream… Is there any change needed to view the stream?

Once again thank you for your support and best regards

Have you switched ON Onvif control in each camera in its own settings on the camera itself ?

Have you created a user name and password in the Onvif part of your camera in its own settings on the camera ?

Have you entered the Onvif user name and password in the driver settings ?

Do not use special characters in the username or password, keep it simple for testing

Have you hit the refresh button at the bottom of the driver page ?

Do you see lots of details in the info section of the driver ? Do the details show at the bottom a screen resolution ?

You may also need to check your cameras’ resolution settings . Make sure they are 1080 or lower and your frame rate is not too high.

Be sure to give the app a good long time to display the video; it can sometimes take a while for it to come up.

2 Likes

Just looked at the camera compatibility and note you have the reolink 510w as not discoverable. I can confirm that both my Reolink RLC-510wa work perfectly

Hi, i’ve an Arenti cam IN1 , when i push refresh give me an error about time/date any suggestion?
Attached the log:

2022-05-29T16:24:01.533864753+00:00 TRACE ONVIF Video Camera V1 Received event with handler capability
2022-05-29T16:24:01.565873086+00:00 INFO ONVIF Video Camera V1 <Device: 92647c1f-a594-4ef9-9950-c38b7bfe5139 (IPCam #1 (configure!))> received command: {“args”:{},“capability”:“partyvoice23922.refresh”,“command”:“push”,“component”:“info”,“positional_args”:{}}
2022-05-29T16:24:01.573166753+00:00 TRACE ONVIF Video Camera V1 Found CapabilityCommandDispatcher handler in onvifDriver
2022-05-29T16:24:01.579478086+00:00 INFO ONVIF Video Camera V1 Refresh requested
2022-05-29T16:24:01.585894753+00:00 INFO ONVIF Video Camera V1 Starting Device Initialization routine for IPCam #1 (configure!)
2022-05-29T16:24:01.598709753+00:00 INFO ONVIF Video Camera V1 <Device: 92647c1f-a594-4ef9-9950-c38b7bfe5139 (IPCam #1 (configure!))> emitting event: {“attribute_id”:“info”,“capability_id”:“partyvoice23922.onvifinfo”,“component_id”:“info”,“state”:{“value”:"\n\n\n\ntable, td {\n border: 1px solid black;\n border-collapse: collapse;\n font-size: 11px;\n padding: 3px;\n}\n\n\n\n\n\n\n\n\n\n

IP addr: 192.168.1.177
Name: IPC_101418009
Hardware:
Location: unknown
urn:uuid:04310ddd-9587-11ec-a00d-847ab695d48d
\n\n\n"}}
2022-05-29T16:24:01.619131753+00:00 DEBUG ONVIF Video Camera V1 Sending GetSystemDateAndTime request to http://192.168.1.177:8000/onvif/device_service
2022-05-29T16:24:01.699784086+00:00 DEBUG ONVIF Video Camera V1 HTTP Response Header: HTTP/1.1 200 OK
2022-05-29T16:24:01.729254086+00:00 ERROR ONVIF Video Camera V1 Missing date/time response in XML response
2022-05-29T16:24:01.734900420+00:00 DEBUG ONVIF Video Camera V1 GetSystemDateAndTimeResponse table: 0x295dce0
2022-05-29T16:24:01.740113420+00:00 DEBUG ONVIF Video Camera V1 SystemDateAndTime table: 0x295dd30
2022-05-29T16:24:01.745336753+00:00 ERROR ONVIF Video Camera V1 Failed to get date/time from http://192.168.1.177:8000/onvif/device_service (IPCam #1 (configure!))
2022-05-29T16:24:01.750507086+00:00 ERROR ONVIF Video Camera V1 Failed to initialize device IPCam #1 (configure!)
2022-05-29T16:24:01.757048086+00:00 INFO ONVIF Video Camera V1 <Device: 92647c1f-a594-4ef9-9950-c38b7bfe5139 (IPCam #1 (configure!))> emitting event: {“attribute_id”:“status”,“capability_id”:“partyvoice23922.onvifstatus”,“component_id”:“info”,“state”:{“value”:“Not responding”}}
2022-05-29T16:24:01.776653420+00:00 DEBUG ONVIF Video Camera V1 IPCam #1 (configure!) device thread event handled