https://github.com/nigelramsay/heatmiser
Golang library for HeatMiser Wifi Thermostat
https://github.com/nigelramsay/heatmiser
Last synced: 4 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-18T22:56:30.000Z (about 10 years ago)
- Last Synced: 2025-01-17T12:36:04.707Z (6 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 [](https://travis-ci.org/nigelramsay/heatmiser) [](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.