mythermostat

1.0.0 • Public • Published

Basic thermostat that will emit control mode and output

Usage

const MyThermostat = require('mythermostat');

const myThermostat = MyThermostat();

const init = _ => {
  myThermostat.TargetHeatingCoolingState = 'auto';
  myThermostat.TargetTemperature = 25;
  myThermostat.CurrentTemperature = 20;
  myThermostat.on('output', console.log);
};
init();

// now you are able to change `TargetHeatingCoolingState`, `TargetTemperature`, `CurrentTemperature`
// and read `CurrentHeatingCoolingState`.

Readme

Keywords

none

Package Sidebar

Install

npm i mythermostat

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.28 kB

Total Files

3

Last publish

Collaborators

  • shabunin