Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nigelramsay/heatmiser
Golang library for HeatMiser Wifi Thermostat
https://github.com/nigelramsay/heatmiser
Last synced: about 2 months ago
JSON representation
Golang library for HeatMiser Wifi Thermostat
- Host: GitHub
- URL: https://github.com/nigelramsay/heatmiser
- Owner: nigelramsay
- License: mit
- Created: 2015-04-17T07:56:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-18T22:56:30.000Z (over 9 years ago)
- Last Synced: 2024-06-21T13:09:13.056Z (7 months ago)
- Language: Go
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HeatMiser [![Build Status](https://travis-ci.org/nigelramsay/heatmiser.svg?branch=master)](https://travis-ci.org/nigelramsay/heatmiser) [![GoDoc](https://godoc.org/github.com/nigelramsay/heatmiser?status.svg)](https://godoc.org/github.com/nigelramsay/heatmiser)
Golang library for HeatMiser Wifi Thermostat.
## Usage
```
package mainimport "github.com/nigelramsay/heatmiser"
import "fmt"func main() {
h := heatmiser.New("http://192.168.1.7")fmt.Println("Current temperature: ", h.Current())
fmt.Println("Target temperature: ", h.Target())
fmt.Println("Heating enabled: ", h.Enabled())
}
```## Compatibility
This library is compatible with the following firmware revisions:
- version 1.3
## Authentication
The wifi thermostat uses Javascript to enforce the authentication, which
essentially means that there is no authentication.