Files
scrypted/plugins/dummy-switch/README.md

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.