Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 573 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 573 Bytes

Sensi

A JavaScript API wrapper for Sensi thermostats.

Usage

var Sensi = require('sensi');
var sensi = new Sensi({
  username: '[email protected]',
  password: 'password'
});

sensi.start().then(function() {
  sensi.setHeat({
    icd: '11-1f-12-af-fa-07-8c-d7',
    temperature: 68,
    temperatureScale: 'F'
  }); 
}).catch(err) {
  console.log(err);
});

TODO

  • Add tests
  • Documentation
  • Extract generic method for calling commands
  • Additional commands
    • SetFanMode
    • SetSystemMode
    • SetCool