8000 GitHub - timthesinner/hive
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

timthesinner/hive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hive

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.

Image of Hive

Getting Started

  1. Run go get github.com/timthesinner/hive/...
  2. create ~/.hive/creds.json
  3. Run hive.exe
  4. navigate to localhost:8080

creds.json

{
  "email":"EMAIL_USED_TO_LOGIN_TO_NEST",
  "password":"PASSWORD_USED_TO_LOGIN_TO_NEST"
}

Advanced: Installing hive as a service on a RaspberryPI

These steps assume that you have a RaspberryPI already configured with a base OS (tested with ArchLinux)

  1. Clone this repository
  2. Compile for Linux and Arm (Golang 1.6 and earlier) env GOOS=linux GOARCH=arm go build -v
  3. Compile for Linux and Arm (Golang 1.7) env GOOS=linux GOARCH=arm GOARM=6 go build -v -installsuffix arm6
  4. Copy hive to the /usr/bin folder on your PI
  5. Copy hive.service to /etc/systemd/system folder
  6. Run systemctl enable hive.service to configure hive to start on boot
  7. Run systemctl start hive.service to start hive immediatley
  8. Monitor output using journalctl -f -u hive.service
  9. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0