Skip to content

Commit

Permalink
add HomeKit integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch committed May 18, 2018
1 parent 084f401 commit df90e1a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
16 changes: 16 additions & 0 deletions integration/homekit/config.json
Original file line number Diff line number Diff line change
@@ -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 changes: 11 additions & 0 deletions integration/homekit/homekit.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit df90e1a

Please sign in to comment.