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`.
mythermostat
1.0.0 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i mythermostat
Repository
Weekly Downloads
0
Version
1.0.0
License
ISC
Unpacked Size
4.28 kB
Total Files
3