smart-home-controllers

useful controllers for automating your smart home

Usage no npm install needed!

<script type="module">
  import smartHomeControllers from 'https://cdn.skypack.dev/smart-home-controllers';
</script>

README

Smart Home Controllers

Useful controllers for automating your smart home

Available Controllers:

Broadlink

Usage

Broadlink Controller:

const {broadlink} = require('smart-home-controllers');
const fullPathToCommandFile = '/Users/usr/broadlinks-commands/my-command';
broadlink.runCommand(fullPathToCommandFile);

Broadlink Recorder:

const {broadlinkRecord} = require('smart-home-controllers');
broadlinkRecord.startRecording();

Chromecast

Usage

const {chromecast} = require('smart-home-controllers');