Skip to content

PHP library to connect to the Honeywell EvoHome API

Notifications You must be signed in to change notification settings

timhovius/evohome-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evohome-php

PHP library to connect to the Honeywell EvoHome API

This is a work in progress. Fetching information is reasonably complete and should be easy enough to extend as needed. I started work on pushing settings back, but this isn't at all complete and may need completely reworking to make work.

Example

use Nickpeirson\Evohome\Service;
use Nickpeirson\Evohome\Entity\Schedule;
use Nickpeirson\Evohome\Value\Switchpoint;
require dirname(__DIR__).'/vendor/autoload.php';

$evohome = Service::init('username', 'password');
$response = $evohome->fetchUserAccount();
$response = $evohome->fetchInstallationInfo($response->userId);
$response = $evohome->fetchZoneSchedule($response[0]->gateways[0]->temperatureControlSystems[0]->zones[0]->zoneId);
print_r($response);

Credits

I heavily relied on the information in this thread which saved me a load of time on sniffing and trial and error.

About

PHP library to connect to the Honeywell EvoHome API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%