Skip to content

Bouke/hc-icy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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()
}

About

ICE / Essent e-thermostaat client in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages