node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Supports thermostat devices on HomeBridge Platform.


  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-thermostat
  3. Update your configuration file. See bellow for a sample.


Configuration sample:

       "bridge": {
       "description": "...",
       "accessories": [
               "accessory": "Thermostat",
               "name": "Thermostat Demo",
               "apiroute": "",
               "maxTemp": 25,
               "minTemp": 15
               "maxTemp": "26",
               "minTemp": "15",
               "username": "user",
               "password": "pass"

API Expectations

The apiroute is used for two main calls: Get from the thermostat and set the target temperature. Your API should provide

  1. GET /status =======
    targetHeatingCoolingState: INT_VALUE_0_TO_3,
    targetTemperature: FLOAT_VALUE,
    currentHeatingCoolingState: INT_VALUE_0_TO_2,
    currentTemperature: FLOAT_VALUE, //prev temperature
    currentRelativeHumidity: FLOAT_VALUE_AS_PERCENTAGE //prev humidity
  1. GET /targetTemperature/{FLOAT_VALUE} =======
OK (201)