Files

@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

  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 to specify the IP Address of the Scrypted server.
  • Launch Scrypted Debugger from the launch menu.