Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Easy access to the viessmann api with php

License

Notifications You must be signed in to change notification settings

lightszentip/viessmann-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

viessmann-api-php

How to

composer

composer require lightszentip/viessmannapi

create credentials properties

user = ""
pwd = ""
installationId = ""
gatewayId = ""
client_id = ""
callback_uri = ""

Start the script

in resources need to exist the credentials.properties

use Lightszentip\Viessmannapi\Api\DataApi;
use Lightszentip\Viessmannapi\Connection\Login;

include_once __DIR__ . '/vendor/autoload.php';

$test = new Login("/resources");
$api = new DataApi($test);
$api->readUserData();
$api->getDevices();
$api->getDeviceFeatures();
$api->getGatewayFeatures();
$api->getEvents();