project802 / smartthings

This is a collection of device handlers, SmartApps and other things relating to the Samsung SmartThings platform.
53 stars 103 forks source link

unifi_nvr - Device doesn't report motion if it continues after the length of the poll interval #2

Open project802 opened 7 years ago

project802 commented 7 years ago

Since motion is based on a new recording time, motion events that last longer than a polling interval will not show up as continuous motion on the ST platform. This means that any continuous motion event will go inactive in the first poll after a motion active event.

project802 commented 7 years ago

There isn't anything in the NVR API that reflects the current recording state of the camera. It may take some time to figure out how to communicate with the camera to see if there is some opportunity there.