ffmpeg plugin for Homebridge
- Install ffmpeg on your Mac
- Install this plugin using: npm install -g homebridge-camera-ffmpeg
- Edit
config.json
and add the camera. - Run Homebridge
- Add extra camera accessories in Home app. The setup code is the same as homebridge.
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "Camera Name",
"videoConfig": {
"source": "-re -i rtsp://myfancy_rtsp_stream",
"stillImageSource": "-i http://faster_still_image_grab_url/this_is_optional.jpg",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30
}
}
]
}
Incidentally, check iSpyConnect's camera database to find likely protocols and URLs to try with your camera.