09-27-2018 11:02 AM
Excited about Unifi Protect and the future of it. Two quick questions:
1) Is there an API for Protect? I'd like to know if I can pull images and videos out of Protect programatically.
2) Any chance of motion being able to trigger an HTTP GET to another web resource? My current terrible generic IP video camera does this and it helps me trigger other aspects of my security system.
09-28-2018 08:09 PM
API isn't high on our priority list right now. We're focused on delivering some high-priority features that we expect will be used by a lot of of our customer base.
I am curious, though: What external events would you like to trigger on motion? What other products are you interested in connecting to?
09-29-2018 09:50 AM - edited 09-29-2018 09:51 AM
My current generic IP camera has a feature that can make a HTTP GET request to any endpoint on events like motion detection. See screenshot: https://d.pr/i/5SJdNZ
It's incredible useful. In my case, I have it hitting our automation device, which logs the event and can trigger lights on, send a notification to admins after hours. It's so fast/robust we use it to turn on lights in when people arrive.
If I could have one of the two, I'd much prefer to have this HTTP push capability! It allows so much integration between our automation and security systems.
I should note: the automation platform we're using is Home Assistant. Very popular, robust and flexible automation platform, but this HTTP capbility would work with any APIs.
09-30-2018 07:27 PM
MQTT would be nice so we didn't have to do HTTP API polling in this project: https://github.com/gozoinks/homebridge-camera-ffmpeg-ufv
Allows us to add UFV cameras and motion sensors to HomeKit. This is probably one of the less used implenetations, but this is how I would use it.
10-04-2018 08:38 AM
The Unifi Protect solution looks really nice and I have actually been looking for a Nest Cam replacement. But in order to replace my Nest Cams with it I would need to be able to do frame analysis (e.g. facial recognition, person detection, etc.) and/or integrate it into my HA system (e.g. activate lights, send an alert, etc.). A basic HTTP web hook and/or pub/sub pattern would seemingly work very well as long as I could access the clip and/or still frame for further external processing.
10-11-2018 08:32 AM
Another vote for MQTT. It's an easy protocol to implement and source code and examples are all available. Many Home Automation and lighting controllers already support MQTT.
We don't need a lot right now. Mainly the ability to send out motion alerts such as motion seen and motion stopped. That will give us the ability to control lights whenever a motion is detected. The only thing I'd suggest, and this isn't an MQTT issue, is to have a short delay when you send a no-motion alert before you allow another motion trip. That way when the Automation system turns off the lights you don't have another motion trip while switching back to IR mode.
NDon't worreid about having a SSL links currently since MQTT is totally on the local network but that would be nice in the future.
Don't worry about the MQTT broker for now since anyone can put one together on a RaspberryPi, even a zero W, in less that an hour. In the future you could optional add the Mosquitto broker, it's open source if I remember correctly, later if you choose.
10-16-2018 09:21 AM
I would also love to see a webhook or feature where I can get pushed motion alert or last motion. I utilized this ability today with other devives in Home Assistant automation which lets me turn on lights or other events based on camera motion.
10-16-2018 12:49 PM
A way to trigger a recordning would be really cool, for example so i can use my motion detectors to trigger recordnings.
There are many DVR systems but for me a API of some kind is important.
10-16-2018 03:51 PM
I'm very interested in this, however the other way around. Motion sensing from the cameras is absolutely atrocious and full of false positives. I would love to be able to trigger the recordings via RestAPI from something like smartthings or other device that uses PIR for motion detection instead of video.
11-05-2018 02:27 AM
The lack of possibilities to trigger a Unify Protect recording by an external event vie HTTP request or whatever and the lack of an API to access recordings from an external device is what keeps me from switching to Unifi Protect yet. I have a Synology Surveillance Station running and both of those use cases are feasible there. Events are triggered vie HTTP-REST-API and start/stop recordings. Recordings are fetched via SSH from the Synology so far.
11-14-2018 09:51 AM
As others have mentioned, an API + Webhooks provides a lot of flexibility and extensibility to the product no matter what system the user is trying to integrate it with. In my case, I'd be interested in hooking things into my home automation system (eg. Hubitat, SmartThings, SharpTools.io).
11-28-2018 04:26 PM
12-14-2018 03:25 PM
Me too, I just got a cloudkey2 Plus with the intent of replacing my cloudkey and NVR but I am going to leave the NVR running with cameras until I have API access or some kind (HTTP or MQTT) as my home assistant automation integration is more important than any other new features you may have provided with the protect suite.
This is a must (even if it seems like it is for a minority right now) Quick and dirt would suffice.