homebridge-camera-isight

iSight camera plugin for homebridge: https://github.com/nfarina/homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeCameraIsight from 'https://cdn.skypack.dev/homebridge-camera-isight';
</script>

README

homebridge-camera-isight

iSight camera plugin for Homebridge

** This plugin only works on macOS **

Installation

  1. Install ffmpeg on your Mac
  2. Install this plugin using: npm install -g homebridge-camera-isight
  3. Edit config.json and add the camera.
  4. Run Homebridge
  5. Add the "iSight Camera" in Home app.

Config.json Example

{
  "platform": "Camera-iSight",
  "name": "iSight Camera",
  "fps": 30
}

Optional keys:

  • video_device: Video device name or index. eg: "video_device": "FaceTime HD Camera (Built-in)"
  • audio_device: Audio device name or index.

You can get the device names and indices with ffmpeg -f avfoundation -list_devices true -i ""