Project

hiveline

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
The Hive API was reversed engineered via the Hive thermostat website (https://www.hivehome.com). This API is unsupported and undocumented. Please don't be suprised if it breaks.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

~> 0.13.3
 Project Readme

Hiveline

Adjust your Hive thermostat via your terminal.

Warning: This uses hives unofficial and undocumented API. It can break at any time.

Install

gem install hiveline

Configure

Export credentials to your environment in .bashrc or .bash_profile

export HIVE_USERNAME="your_hive_email"

export HIVE_PASSWORD="your_hive_password"

Alternatively pass then as flags to hiveline

$ hiveline -u <email> -p <password> 

Use

Get temperature

$ hiveline

Inside Temperature: 16.8°C (17°C todays average)
Outide Temperature: 7.2°C (Partly Cloudy)

Set temperature

$ hiveline 19 # Set temperature to 19°C

Setting temperature to 19°C
Successfully updated temperature. Set to 19°C

Get temperature history

$ hiveline --history

Retrieving history
00 AM ==================================  19.9°C
01 AM =================================   19.4°C
02 AM =================================   19.0°C
03 AM ================================    18.6°C
04 AM ===============================     18.3°C
05 AM ===============================     18.0°C
06 AM ==============================      17.8°C
07 AM =================================   19.1°C
08 AM =================================   19.0°C
09 AM =================================   19.1°C
10 AM ==================================  19.8°C
11 AM =================================   19.2°C
12 PM ================================    18.7°C
13 PM ================================    18.5°C
14 PM ===============================     18.2°C
15 PM =================================   19.3°C
16 PM ==================================  19.9°C
17 PM =================================   19.2°C
18 PM =================================   19.4°C
19 PM =================================   19.2°C
20 PM ==================================  20.1°C
21 PM ==================================  20.0°C
22 PM ==================================  19.9°C