1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 15:40:45 +02:00

add HomeKit integration

This commit is contained in:
Julian Tatsch
2018-05-18 21:47:29 +02:00
parent 084f401eaa
commit df90e1aceb
3 changed files with 29 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ After install, you can use this [android application](https://play.google.com/st
[Home Assistant](/integration/homeassistant/homeassistant.md)
[HomeKit](/integration/homekit/homekit.md)
[Synology](/integration/synology/synology.md)
[Zoneminder](/integration/zoneminder/zoneminder.md)

View File

@@ -0,0 +1,16 @@
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "Camera Name",
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://dafang.local:8554/unicast",
"stillImageSource": "-i http://dafang.local/cgi-bin/currentpic.cgi",
"maxStreams": 5,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 25
}
}
]
}

View File

@@ -0,0 +1,11 @@
## Integration in HomeKit
HomeKit integration is possible via the [ Homebridge ffmpeg plugin](https://github.com/KhaosT/homebridge-camera-ffmpeg).
### Installation
1. Install ffmpeg on your computer
2. Install the plugin using: npm install -g homebridge-camera-ffmpeg
3. Edit [config.json](config.json) and add your camera.
4. Run Homebridge
5. Add extra camera accessories in Home app. The setup code is the same as in homebridge.