Unifi Protect plugin for Homebridge
This plugin automatiicaly configures Camera-ffmpeg with any cameras that have RTSP enabled from your Unifi Protect controller.
- Install ffmpeg on your computer
- Install this plugin using: npm install -g homebridge-camera-unifi
- Edit
config.json
and add the Unifi Protect controller. - Run Homebridge.
- Add extra camera accessories in Home app. The setup code is the same as homebridge.
{
"platform" : "Camera-unifi",
"name" : "Unifi Protect",
"controllers": [{
"url": "https://my-cloud-key:7443/",
"username": "some-homebridge-user (create a new one just for homebridge)",
"password": "some-password"
}],
"videoConfig": {
"sourcePrefix": "-rtsp_transport http -re",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30
}
}