0.0.8 • Published 7 years ago

homebridge-pitherm v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Homebridge PiTherm

Homebridge plugin for the PiTherm Thermostat. This plugin is based on the start that PJCzx started with the homebridge-thermostat plugin. That plugin had some bugs, issues, and inconsistencies. This plugin corrects those, and specifically adapts the plugin for PiTherm.

Config

Homebridge config should contain an accessory that looks something like this:

{
    "accessory": "Thermostat",
    "name": "Thermostat Demo",
    "apiroute": "http://myurl.com",
    //optional
    "maxTemp": "90",
    "minTemp": "50",
    "username": "user",
    "password": "pass"
}

Your API should provide the following:

  • Get status of system:

    • Request: GET /status
    • Response:
      {
        currentTemperature: FLOAT_VALUE,
        targetTemperature: FLOAT_VALUE,
        currentHeatingCoolingState: INT_VALUE_0_TO_2,
        targetHeatingCoolingState: INT_VALUE_0_TO_3
      }
  • Set Target HeatingCoolingState:

    • Request: GET /targetHeatingCoolingState/{INT_VALUE_0_TO_3}
    • Response: OK (200)
  • Set Target Temperature:

    • Request: GET /targetTemperature/{FLOAT_VALUE}
    • Response: OK (200)

Acknowledgments

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago