Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

marcofranssen/gothermostat

Repository files navigation

Go Thermostat

Build Status Software License GoDoc Coverage Status Go Report Card

Warning: When Google took over Nest, the apis also changed. It is not possible to get an API Key anymore and therefore this project also won't be able to authenticate anymore.

This project enables to interact with your Nest thermostat.

Build

go build .

Install tools

go mod download
cat tools.go | grep _ | awk -F'"' '{print $2}' | xargs -tI % go install %

Configure

cp .gotherm.toml.dist .gotherm.toml

Fill out your clientId, clientSecret, authCode.

How to get your nest token

https://codelabs.developers.google.com/codelabs/wwn-api-quickstart/#2

Run

./gotherm serve

Demo

web