# homebridge-tasmota-sonoff-thermostat
Homebridge plugin that turns a Tasmota Sonoff with an attached temperature module into a HomeKit thermostat.

   * [Installation](#installation)
   * [Configuration](#configuration)
   * [Release Notes](#release-notes)

# Installation
Follow the instructions in [homebridge](https://www.npmjs.com/package/homebridge) for the homebridge server installation.
This plugin is published through [NPM](https://www.npmjs.com/package/homebridge-tasmota-sonoff-thermostat) and should be installed "globally" by typing:

    npm install -g homebridge-tasmota-sonoff-thermostat

# Configuration
An example configuration is below:

```javascript
{
  "accessory": "tasmota-thermostat",
  "name": "Sonoff Radiator",
  "start_temperature": 10,
  "temperature_unit": "C", // "C" For CELSIUS "F" for FAHRENHEIT
  "mqtt": {
    "url": "mqtt://192.168.1.2:1883",
    "clientid": "clinetid",
    "username": "username",
    "password": "password",
    "sensor_name": "AM2301",
    "sensor_topic": "tasmota/sensor",
    "output_topic": "tasmota/output",
    "status_topic": "tasmota/status",
    "will_topic": "tasmota/will"
}
```

# Release Notes
## Roadmap:
- Pull humidity data through to HomeKit
- Add abilit for control by Google Home (Maybe by home assistent)
- Write Tests
