1.0.0 • Published 1 year ago

@piets/homebridge-http-thermostat v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

@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
    }