lightszentip / viessmann-api-php

Easy access to the viessmann api with php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();

About

Easy access to the viessmann api with php

License:MIT License


Languages

Language:PHP 100.0%