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

@TAustin
I have the cameras working, however the motion events aren’t. I tried troubleshooting on my end as much as I could. I’m emailing the bottom half of the logs when the failures in motion events started taking place.
This is so close!

1 Like

New driver update: Version 2022-05-11T21:23:03.456999

Changes:

  • Change to allow re-discovery of a previously discovered and deleted camera (we’ll see how this is for everyone; it could be a nuisance for devices you just don’t want in SmartThings)
  • Add back in event profile log output for debugging (@amin300)

I’ll need to see your log for the Refresh sequence, since that is where some of the event-related stuff is set up.

Thanks.

My fault I thought that the motion portion events would be all you needed. I didn’t copy the intilization…sorry.

I had just updated the driver on the cli and give it another go and see if gives the same behavior and make sure I get all the logs this time if it does.
I can leave the E! pro now because its working and just try and do the other 4.

I took a look at what you sent. What I’m seeing is that your camera is only sending ‘false’ status for the base motion event. It is also sending other motion-related events: Face, People, Vehicle, Dogcat detection, plus MotionAlarm, but the present code doesn’t do anything with those, since this varies substantially depending on the camera. I’m not sure why your camera wouldn’t be sending the base motion=true events. Can you check its event configuration options and see if there’s anything that needs changing?

Yeah, I took a quick look at all my motion settings and am wondering if it has something to do with the beta pet detection (that I dont have turned on) and they are AI cameras, so let me see if I can find a setting that will change the behavior.

These are cameras inside my home, so they are set for those purposes. I’ll check my nvr also to make sure, a motion detection zone isn’t interfering somehow. I don’t believe thats the case.

Give me a bit and see if I can find what it may be.

All my settings are normal. I just was walking around with the reolink notifications turned on, I was getting them readily, but was watching ST at the same time and only motion events came from E1Pro.
No history on the other cameras either except refresh.

I have an E1Pro as well, but not with beta pet detection. I bet that is somehow disabling the base motion detection. We obviously don’t want to force anyone to turn off other special detection. I’m wondering if possibly I can use the motionAlarm event as a surrogate to the base motion detection in these cases.

If you don’t find anything further you can try on your end, let me know and we can run an experiment with the next driver version.

Yeah, they are AI cameras, but BETA petdetection hasn’t really been released and I don’t have it turned on. I maxed out my sensitivities and even turned vehicle detection on. They detect very well because their recording to the nvr. Maybe I’ll give everything a reboot on my end as well to see if that helps.

It’s possible that beta motion detection isn’t enabled for the ONVIF interface, only the manufacturer’s app.

And sorry I probably confused you in my earlier message. I think you were saying this beta motion detection is on your OTHER cameras besides the E1 Pro. Right now E1 Pro is in fact working for motion, and I think I see that in your log, assuming it’s camera #5:

2022-05-11T20:44:37.399656675+00:00 INFO ONVIF Video Camera V1 Motion for IPCam #5 (configure!) = true

I believe it was camera #5, and yes the E1 is working fine. I have it triggering a light right now for testing.

1 Like

I have one more thought for your other cameras. Can you try ONVIF Device Manager app with them to see if you can get events flowing? That will give us a sanity check to see if it’s the cameras or my driver.

I’m doing a update/repair on it now

@TAustin I’ve updated the Device manager and not seeing anything in the events that is showing false on alerts. I did a hard reboot on the nvr, rebooted cameras. I did find in my camera settings they were set for people detection only, so thats been changed to any motion now for testing.

Im gonna just leave it for tonight and maybe if you come up with something later or I’ll delete them in the morning an do a reinstall on those 4 cameras with this version.

@TAustin

Success!!!

Foscam R2

2 Likes

Foscam R2 in Camera Group can take snapshot, use 2-way audio



Photos are saved on the phone

2 Likes

No luck with my Tp-link C100. Last few versions haven’t even detected my camera.

That’s awesome!

That’s a bummer! I DM’d you.

I may need to add some further logging to get a better sense of the event notifications coming in from your camera. I think most of the ones we’re seeing are initialization updates (all ‘false’) and not actual state changes. I saw something similar with Hikvision cameras, but in among all the ignored messages, there were still basic motion alerts coming through.

What is also curious to me is that your camera is reporting to my driver that it supports basic motion events, otherwise you wouldn’t be able to turn ON the motion events switch. We’re just not receiving any motion events updates. Hopefully it is a configuration issue on the camera side. You mentioned that you did change a setting to turn on any motion - make sure you hit Refresh in the mobile app camera device to reinitialize everything.