Homebridge plugin for displaying an Image as Camera
Make sure you have homebridge installed.
- Install this plugin using:
sudo npm install -g homebridge-image-to-camera - Update your Homebridge
config.jsonusing the sample below (append in the block 'platforms' not 'accessories')
Update your config similar to this:
"platforms": [
{
"platform": "image-camera",
"images": [
{
"name": "Local Image",
"path": "/path/to/image.jpg"
},
{
"name": "Web Image",
"url": "https://wwww.website.com/image.jpg"
}
]
}
]You can add multiple cameras!
Take a look at the example config.json
Fields:
namename of the camera (required)paththe local path of an image (required)urlthe web path of an image (optinal, overwritespath)
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
Please note that the image will only be displayed as the camera preview. Image stream is not supported.