ICE / Essent e-thermostaat client in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
portal.go
thermostat.go

README.md

HomeControl - ICY Thermostat

For usage with the ICY / Essent e-thermostaat. Example usage:

package main

import (
    "log"

    "github.com/bouke/hc-icy"
    "github.com/brutella/hc/hap"
)

func main() {
    thermostat, err := icy.NewThermostat("username", "password")
    if err != nil {
        log.Fatal(err)
    }

    t, err := hap.NewIPTransport(hap.Config{Pin: "00102003"}, thermostat.Accessory)
    if err != nil {
        log.Fatal(err)
    }

    hap.OnTermination(func() {
        t.Stop()
    })

    t.Start()
}