Interface to the nest controller that brings humidity up front on the faceplate. The service additionally monitors the outside air temperature and ensures that the internal humidity is set at a level that will not cause condensation on windows and walls. This service requires both a nest thermostat and nest credentials.
- Run
go get github.com/timthesinner/hive/...
- create ~/.hive/creds.json
- Run
hive.exe
- navigate to localhost:8080
{
"email":"EMAIL_USED_TO_LOGIN_TO_NEST",
"password":"PASSWORD_USED_TO_LOGIN_TO_NEST"
}
These steps assume that you have a RaspberryPI already configured with a base OS (tested with ArchLinux)
- Clone this repository
- Compile for Linux and Arm (Golang 1.6 and earlier)
env GOOS=linux GOARCH=arm go build -v
- Compile for Linux and Arm (Golang 1.7)
env GOOS=linux GOARCH=arm GOARM=6 go build -v -installsuffix arm6
- Copy hive to the
/usr/bin
folder on your PI - Copy
hive.service
to/etc/systemd/system
folder - Run
systemctl enable hive.service
to configure hive to start on boot - Run
systemctl start hive.service
to start hive immediatley - Monitor output using
journalctl -f -u hive.service
- If you want browse to the interface open port 8080 using
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT; iptables-save
NOTES:
- You will need to setup a creds file in /root/.hive/creds.json
- Modify hive.service if you dont want to run as root