homebridge-image-to-camera

shows a image as camera

Usage no npm install needed!

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

README

homebridge-image-to-camera

Homebridge plugin for displaying an Image as Camera

Installation

Make sure you have homebridge installed.

  1. Install this plugin using: sudo npm install -g homebridge-image-to-camera
  2. Update your Homebridge config.json using the sample below (append in the block 'platforms' not 'accessories')

Configuration

Update your config similar to this:

 "platforms": [
      {
         "platform": "image-camera",
         "cameras": [
            {
               "name": "Image 1",
               "path": "/path/to/image"
            }
         ]
      }
   ]

You can add multiple cameras!

Config file

Take a look at the example config.json

Fields:

  • name name of the camera (required)
  • path the path of the image (required)

Usage

In some cases, the camera is not visible in Home-App:

  • Press + on top right corner in Home-App
  • Press Add device
  • Press Code missing
  • Select Camera