1.0.0 • Published 1 year ago
@piets/homebridge-http-thermostat v1.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
- Install homebridge using:
npm install -g homebridge
- Install homebridge-udmx using:
npm install -g @piets/homebridge-http-thermostat
- 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
}
1.0.0
1 year ago