FlyingDiver / Indigo-miniUniFi

Minimalistic UniFi plugin for Indigo
MIT License
0 stars 0 forks source link

Feature request: UniFi Protect camera motion detection #26

Closed madpsintst closed 3 years ago

madpsintst commented 3 years ago

Thanks for the great plug-in. I am using it for geofencing; more specifically, I use it to detect the presence of cell phones on the wireless network to determine who is home. When nobody is home, the house goes into energy saving mode.

Just thought I would add a feature request. It would be great if a device representing UniFi Protect video cameras and Protect doorbells could be setup, and then indicate whether motion has occurred or the doorbell button has been pressed.

Thanks!

FlyingDiver commented 3 years ago

I'll need a copy of the controller data for those devices. In the plugin menu, there's a item "write controller data to log". Please run that, then copy the output to a text file, zip it up, and attach it to this issue. It's going to be really long, so don't try to paste it directly into a comment.

FlyingDiver commented 3 years ago

Also, I'm not sure motion or bell press is going to work, since I can only poll the controller for the data. No pushes from the controller. So unless there's something in the device data saying that an event has happened recently, it's not likely to tell you anything useful.

madpsintst commented 3 years ago

Thanks. I have the log file ready but would rather not post it publicly. Is there a way for me to send it to you privately?

The UniFi Doorbell does include the ability to push notifications to my phone upon motion detection. Not sure if this means it's pushing a signal to the controller.

FlyingDiver commented 3 years ago

I think you can PM it to me on the Indigo website.

madpsintst commented 3 years ago

Done! Thanks.

On Dec 6, 2020, at 12:39 PM, Joe Keenan notifications@github.com wrote:

I think you can PM it to me on the Indigo website.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FlyingDiver/Indigo-miniUniFi/issues/26#issuecomment-739536626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQAKLROPYTQRADFOT3ODESLSTO6WNANCNFSM4UO5OKLA.

FlyingDiver commented 3 years ago

I just don't see anything obvious in the data that shows a recent event for either device type. If you can find a reference anywhere that someone else (other than Ubiquiti) has done this, let me know.