Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-website-to-camera

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-website-to-camera - npm Package Compare versions

Comparing version 1.0.1 to 1.0.8

2

package.json
{
"name": "homebridge-website-to-camera",
"version": "1.0.1",
"version": "1.0.8",
"description": "shows the screenshot of a website as camera (image)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,21 +12,53 @@ # homebridge-website-to-camera

1. Install Homebridge using: `(sudo) npm install -g --unsafe-perm homebridge` if you haven't already
2. Install this plugin using: `(sudo) npm install -g homebridge-website-to-camera`
3. Update your Homebridge `config.json` using the sample below (append in the block 'platforms' not 'accessories')
4. If you're using this on ARM/Raspberry Pi: Download the latest [phantomjs-on-raspberry](https://github.com/fg2it/phantomjs-on-raspberry)
1. (Install Homebridge using: `(sudo) npm install -g --unsafe-perm homebridge` if you haven't already)
## Raspberry Pi and any other ARM
Currently I couldn't find a proper solution for installing the plugin on raspberry-pi (Help wanted!) so unfortunately you have to
use this hacky workaround
2. Download the latest [phantomjs-on-raspberry](https://github.com/fg2it/phantomjs-on-raspberry)
* `wget https://github.com/fg2it/phantomjs-on-raspberry/releases/download/v2.1.1-wheezy-jessie-armv6/phantomjs_2.1.1_armhf.deb`
* `sudo dpkg -i phantomjs_2.1.1_armhf.deb`
3. Find your npm-root:
* `npm root -g`
* probably the output will be `/usr/lib/node_modules`
3. Install this plugin with git:
* `cd /usr/lib/node_modules`
* `sudo git clone https://github.com/werthdavid/homebridge-website-to-camera.git`
* `cd homebridge-website-to-camera`
* `sudo npm install`
4. Update your Homebridge `config.json` using the sample below (append in the block 'platforms' not 'accessories')
In some cases, the camera is not visible in Home-App:
* Press + on top right corner in Home-App
* Press `Add device`
* Pres `Code missing`
* Select Camera
# Configuration
## x86/x64
2. Install this plugin using: `(sudo) npm install -g homebridge-website-to-camera`
3. Update your Homebridge `config.json` using the sample below (append in the block 'platforms' not 'accessories')
# Configuration
Update your config similar to this:
```json
"platforms":[
{
"platform":"website-camera",
"cameras":[
{
"name":"Website 1",
"url":"http://github.com",
"width":800,
"height":400,
"renderDelay":1500
}
]
}
]
```
## Config file

@@ -47,2 +79,10 @@

# 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
# TODO

@@ -49,0 +89,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc