lightszentip / viessmannapi
Connection to viessmann api
1.0.0
2023-05-28 22:05 UTC
Requires
- ext-curl: *
- ext-dom: *
README
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();