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:
@@ -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)
|
||||
|
16
integration/homekit/config.json
Normal file
16
integration/homekit/config.json
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
11
integration/homekit/homekit.md
Normal file
11
integration/homekit/homekit.md
Normal 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.
|
Reference in New Issue
Block a user