open-index/open-npm huggingface dataset:
npm package: @piets/homebridge-http-thermostat
Description: Homebridge Plugin for custom HTTP based thermostat
Latest version: 1.0.0

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