mirror of
https://github.com/koush/scrypted.git
synced 2026-02-17 20:22:14 +00:00
22 lines
691 B
Markdown
22 lines
691 B
Markdown
# @scrypted/dummy-switch
|
|
|
|
## Usage
|
|
|
|
This dummy switch plugin lets you create dummy switches
|
|
that can be synced with HomeKit or Google Home. The switch
|
|
can be programmed to run a script or shell script when turned on or off.
|
|
|
|
## npm commands
|
|
* npm run scrypted-webpack
|
|
* npm run scrypted-deploy <ipaddress>
|
|
* npm run scrypted-debug <ipaddress>
|
|
|
|
## scrypted distribution via npm
|
|
1. Ensure package.json is set up properly for publishing on npm.
|
|
2. npm publish
|
|
|
|
## Visual Studio Code configuration
|
|
|
|
* If using a remote server, edit [.vscode/settings.json](blob/master/.vscode/settings.json) to specify the IP Address of the Scrypted server.
|
|
* Launch Scrypted Debugger from the launch menu.
|