Create a virtual thermostat from a temperature sensor and smart plug connected to heater or AC unit.

Usage no npm install needed!

<script type="module">
  import scryptedThermostat from 'https://cdn.skypack.dev/@scrypted/thermostat';


Sample Scrypted Plugin with Visual Studio Code support

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. NODE_ENV=production npm run scrypted-webpack
  3. git add dist/main.js
  4. git commit
  5. npm publish

Visual Studio Code configuration