Piets / homebridge-http-thermostat

Homebridge Plugin for custom HTTP based thermostat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@piets/homebridge-http-thermostat

Homebridge Plugin for a custom HTTP Thermostat. Sends a simple HTTP POST containing the temperature to set to a server. Reads the current temperature via a HTTP GET request.
The plugin can be used for example with a simple Arduino sketch controlling a servo, which in turn controls the dial of an old analog thermostat.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install homebridge-udmx using: npm install -g @piets/homebridge-http-thermostat
  3. Update your configuration file. See below for examples.

Example Configuration

    {
        "accessory": "http-thermostat",
        "name": "Central Heating",
        "ip": "192.168.1.1"
    }

JSON Format

The JSON sent and received via this plugin has the following format:

    {
        "temperature": 21.5
    }

About

Homebridge Plugin for custom HTTP based thermostat

License:Apache License 2.0


Languages

Language:TypeScript 91.4%Language:JavaScript 8.6%