2017 © Pedro Peláez
 

library hive_control

API interface to control British Gas Hive Heating

image

csburton/hive_control

API interface to control British Gas Hive Heating

  • Sunday, July 13, 2014
  • by csburton
  • Repository
  • 5 Watchers
  • 19 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Hive Control

This repository provides the ability to interact with a RESTful API provided by British Gas to control your Hive home heating system. (http://www.hivehome.com), (*1)

Note: This API is in no way endorsed by British Gas, and is subject to change at any time., (*2)

The API Credentials are the same as used to login to the web interface to manage your Hive., (*3)

Sample Code

Get Current Temperature, (*4)

<?php
$api = new \Hive\Api\Api('<username>', '<password>')
$status = new \Hive\Control\Status($api);
echo $status->getCurrentTemperature();

Set Target Temperature, (*5)

<?php
$api = new \Hive\Api\Api('<username>', '<password>');
$temperature = new \Hive\Control\Temperature($api);
$temperature->setTargetTemperature(20);

Currently I can't re-engineer the methods to set the heating schedule but, its something I'm working on., (*6)

This is most definitely a work in progress, (*7)

The Versions

13/07 2014

dev-master

9999999-dev http://github.com/csburton/hive_control

API interface to control British Gas Hive Heating

  Sources   Download

MIT

The Requires

 

hive british gas

13/07 2014

v0.0.4

0.0.4.0 http://github.com/csburton/hive_control

API interface to control British Gas Hive Heating

  Sources   Download

MIT

The Requires

 

hive british gas

03/06 2014

v0.0.3

0.0.3.0 http://github.com/csburton/hive_control

API interface to control British Gas Hive Heating

  Sources   Download

MIT

The Requires

 

hive british gas

02/06 2014

v0.0.2

0.0.2.0 http://github.com/csburton/hive_control

API interface to control British Gas Hive Heating

  Sources   Download

MIT

The Requires

 

hive british gas

02/06 2014

v0.0.1

0.0.1.0 http://github.com/csburton/hive_control

API interface to control British Gas Hive Heating

  Sources   Download

MIT

The Requires

 

hive british gas