@scrypted/dummy-switch
v0.0.24
Published
Scrypted Dummy Switch plugin. Create virtual switches, locks, and start/stops that run scripts, trigger motion, and press buttons when toggled.
Downloads
210
Readme
@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
- npm run scrypted-debug
scrypted distribution via npm
- Ensure package.json is set up properly for publishing on npm.
- npm publish
Visual Studio Code configuration
- If using a remote server, edit .vscode/settings.json to specify the IP Address of the Scrypted server.
- Launch Scrypted Debugger from the launch menu.