thetrueavatar / viessmann-api Goto Github PK
View Code? Open in Web Editor NEWApi pour récupérer les infos de chaudière exposées par le service Viessmannn
License: GNU General Public License v2.0
Api pour récupérer les infos de chaudière exposées par le service Viessmannn
License: GNU General Public License v2.0
Bonjour Claude,
J’ai mon accès au portail des développeurs Viessmann et ai commencé à jouer avec l’API.
Des features manques, comme :
heating.burner.modulation
heating.burner.automatic
heating.burner.statistics (hours) and (starts)
heating.circuits.N.heating.curve (shift) and (slope)
heating.gas.consumption.dhw (total), (year), (month), (week) and (day)
heating.gas.consumption.heating (total), (year), (month), (week) and (day)
heating.power.consumption (total), (year), (month), (week) and (day)
Étant le dev de l’API cliente qui fait référence et faisant partie des testeurs, tu as peut-être déjà échangé avec viessmann sur le sujet ?
Si ce n’est pas le cas, je suppose que plus on sera nombreux à demander l’implémentation de ces features a l’API, plus on aura de chance que ça aboutisse.
J’ai pour ma part fait une requête a [email protected].
Merci pour ton retour.
Bien cordialement
All,
until today, I had the ViessmannAPI up an running fine here, now it suddenly stopped working (no known changes on my end).
The error message is
Message: Unable to get data for feature
Reason: Endpoint /operational-data/installations/[xxx]/gateways/[yyy]/devices/0/features/ does not match any existing route
Code: 1
I tried removing the cache functionality, to enable auto-discovery of gateway and installation ID. Then the error message changes to
Message:
Unable to read installation basic information
Reason: Endpoint /general-management/installations does not match any existing route
Code: 2
Is anyone else also experiencing issues or is it just me? Any ideas what the problem might be?
Edit: From ViCare App and Vitoguide I can access the device normally. I also tried rebooting the Gateway, which does not change anything.
I am currently testing all programs:
GetAllInformation generates following warning:
PHP Warning: fopen(http://192.168.0.2/core/api/jeeApi.php?plugin=virtual&apikey=SKqLrR6l8T7CB4REvAEj7DHKfrJHa0PM&type=virtual&id=1022&value=3): failed to open stream: Connection timed out in /etc/openhab2/transfer/viessmann/GetAllInformation.php on line 14
PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /etc/openhab2/transfer/viessmann/GetAllInformation.php on line 18
I have different IP-Adress range (http://192.168.XXX.Y/)range - should this be changed in Viessmann....phar file?
Thanks for some hints
Georg
Hi Claude,
I have seen that with NotTestTestMethod.php you started to get the gas consumption ...
Are still going on with this development and what would be the schedule for it.
Thanks Georg
Hi,
I have 2 ethernet interface's on a Ubuntu server. One ethernet interface (eth1) is connected to the local network. The second one (eth2) to the internet. If both interfaces are up the authentication process stops with an error. If i disable the interface connected to the local network (eth1) then the authentication process runs fine and I get some values from the heating system.
Is there a way to tell the API which network interface to use?
some improvements on the API?
hope you can help!
kind regards
Bonjour,
La feature "operating.programs.external" possède les actions activat et désactivate, mais elle ne semble pas être implémentés.
Pourriez-vous les ajouter ?
Bien cordialement
Hi Claude,
I have 2 heating circuits - one for the "normal" radiators and one for a floor heating system.
Is there a change to include this 2nd heating circuit?
Thanks for a short reply.
Georg
Hi,
trying to pull some fuelcell information under:
HEATING_FUELCELL_SENSORS_TEMPERATURE_RETURN = "heating.fuelcell.sensors.temperature.return";
Therefore i tried the getAvailableFeatures(), which gives me the error message:
Message: Call to a member function getEntities() on null
Code: 0
Can somone help please ?
Thanks
galaxis1309
Bonjour,
Afin d'harmoniser l'interprétation des différant modes et programmes disponible pour chaque type de chaudière, j'aimerais proposer aux utilisateurs de ton API une façon simple de récupérer et de nous communiquer ces informations.
Dans mon cas ces informations sont:
Les modes
["standby","dhw","dhwAndHeating","forcedReduced","forcedNormal"]
Les programmes
["active","comfort","eco","external","holiday","normal","reduced","standby"]
Ces infos sont disponibles comme présenté dans le json, je ne sais pas trop comment les faire récupérer pas les utilisateurs de l'api (depuis jeedom ou SSH)?
Si tu as une idée un petit code PHP ou autre?
Bien a toi.
Eric
When I use getRawJsonData the error is:
PHP Notice: Undefined variable: allfeatures in phar:///home/pi/Viessmann-Api/example.org/Viessmann-Api-2.1.0-SNAPSHOT.phar/src/API/proxy/impl/ViessmannFeatureLocalProxy.php on line 46
Hi,
I am wondering if the status information from Vitoconnect 100 is also accessible via your API. At least the web portal shows signal strength and the firmware version in addition to the gateway id. I looked through the json test files but did'nt found something which points in that direction.
Do you have an idea to get those values?
Thanks!
Hello,
i'm a complete noob to php.
I'm missing the primaryReturnTemperature within the features.
So i've copied and modified the ViesmannAPI.php
ViessmannFeature::HEATING_PRIMARYCIRCUIT_SENSORS_TEMPERATURE_SUPPLY
to
ViessmannFeature::HEATING_PRIMARYCIRCUIT_SENSORS_TEMPERATURE_RETURN
I've added the feature in the ViessmannFeature.php as well.
I've not compiled anything, just modified the php files.
When I try to call then function I get:
@message: Call to undefined method Viessmann\API\ViessmannAPI::getHeatingPrimaryCircuitTemperatureReturn()
what point i'm missing?
thanks for your help
Thorsten
Ich würde mich über folgende Funktionen freuen.
Entweder direkt als Funktionen oder über direktes „schreiben“ der Variablen.
Is there any possibility to change the DHW Temperature 2 that is used for OneTime charges?
Bonjour,
Je joue un peu avec ma chaudière Viessmann et le script de ldb2000 que vous semblé bien connaitre.
https://github.com/ldb2000/Viessman-API/blob/master/php/viessmann.php
Je cherche à implémenter la gestion du ban sur ce script comme vous l'avez fait dans votre api
Quelque chose du genre:
$dec = json_decode; if(array_key_exists( 'statusCode', $dec)) { $statusCode = $dec['statusCode']; $message = $dec['message']; switch($statusCode) { case 429: { $bannedTimeReset = round($dec['extendedPayload']['limitReset']/1000); fdebug("Error: $statusCode $message At ".date('Y-m-d H:i:s',$bannedTimeReset)); } } exit(); }
N'étant pas développeur j'éprouve quelques difficultés.
Pourriez-vous m'aider?
Bien cordialement
Hi Claude,
I am testing again and want to activate the EcoMode. My code looks like:
`#!/usr/bin/php
activateEcoProgram("18");` When executing the code I get following error message: > ./ActivateEcoProgram.php PHP Fatal error: Uncaught Viessmann\API\ViessmannApiException: Unable to set data for featureheating.circuits.0.operating.programs.ecoand action activate and data{"temperature":"18"} Reason: DEVICE_COMMUNICATION_ERROR in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php:769 Stack trace: #0 phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php(194): Viessmann\API\ViessmannAPI->setRawJsonData('heating.circuit...', 'activate', '{"temperature":...') #1 /etc/openhab2/scripts/viessmann/ActivateEcoProgram.php(4): Viessmann\API\ViessmannAPI->activateEcoProgram('18') #2 {main} thrown in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php on line 769 Since I have 2 heating circuits (0 and 1) - what is the right syntax for the call? Thanks for your advice GeorgCan You will add SetActiveProgram(), the ActiveEco... ActiveComfort didnt work
maybe the problem are in features.zip file:
In file heating.circuits.1.operating.programs.active.siren.json the section
"actions": [ { "isExecutable": true, "fields": [ { "enum": [ "eco", "compofrt" ], "type": "string", "name": "program", "required": true } ], "href": "http://0.0.0.0:8082/operational-data/installations/291/gateways/7123456789123456/devices/0/features/heating.circuits.0.operating. "method": "POST", "title": "setProgram", "name": "setProgram" } ],
like in heating.circuits.0.operating.modes.active.siren.json exist for change mode?
and one small problem:
vendor/symfony/polyfill-mbstring/bootstrap.php
Warning: array_walk() expects parameter 1 to be array, string given in phar:///tmp/mnt/ASUS_SYS/entware/share/nginx/html/Viessmann/phar-builder.phar/app/PharBuilder.php on line 387
With the following script, I am getting an error. What am I doing wrong.
Message: Class 'Viessmann\API\proxy\impl\ViessmannApiException' not found
Code Snippet:
<?php
include __DIR__.'/bootstrap.php';
use Viessmann\API\ViessmannApiException;
try {
$viessmannApi->setDhwTemperature("57");
$viessmannApi->startOneTimeDhwCharge();
} catch (ViessmannApiException $e) {
echo "Message: " . $e->getMessage() . "\n";
echo "Code: " . $e->getCode() . "\n";
echo "Trace:" . $e->getTraceAsString() . "\n";
}
?>
I am using 1.4.0-SNAPSHOT
I am not able to login to my account.
I am using the same credentials (email + pwd) which I use for the vitoconnect app as well as logging into this url:
https://vitoguide.viessmann.com/home
This is the curl-response to ViessmannOauthClientImpl.php::getCode() Call:
`
<TITLE>Error Page</TITLE>which leads the api to throw an exception that user/password is invalid.
I have tried latest version from git (1.4-snapshot) as well as 1.3.2+1.3.3 with the same result.
My credential file has only 2 entries, first line is the email adress and the second one is the password (all unix-style).
I am using php 7.2, this is the output for phpinfo:
Please help :)
Hi,
the procedure SetOneTimeCharge produces the following Error:
Unable to set data for featureheating.dhw.oneTimeCharge and action activate and data{"mode": "activate"}
Reason: DEVICE_COMMUNICATION_ERROR
Code: 1
Trace:#0 phar:///etc/openhab2/scripts/Viessmann-Api-1.2.0-SNAPSHOT.phar/src/API/ViessmannAPI.php(921): Viessmann\API\ViessmannAPI->setRawJsonData('heating.dhw.one...', 'activate', '{"mode": "activ...')
#1 /etc/openhab2/scripts/SetOneTimeCharge.php(3): Viessmann\API\ViessmannAPI->startOneTimeDhwCharge()
#2 {main}
I used the 1.2 0 snapshot version from the examples .
I have read the closed issue #19, the changed code seems to be in the snaspshot, however the result is faulty again.
Hi,
still trying to build a new feature:
added in ViessmannFeature.php:
const HEATING_FUELCELL_SENSORS_TEMPERATURE_RETURN = "heating.fuelcell.sensors.temperature.return";
added in ViessmannAPI.php
/**
* @return string of BSZ return temperature if available
* @throws ViessmannApiException
*/
public function getFuelcellReturnTemperature(): string
{
return $this->getEntity(ViessmannFeature::HEATING_FUELCELL_SENSORS_TEMPERATURE_RETURN)->getProperty("value")["value"];
}
created new phar, tried to use this feature with :
getFuelcellReturnTemperature(); got error message: php mpGetAvailableFeatures.php Message: Call to undefined method Viessmann\API\ViessmannAPI::getEntity() Code: 0 Can someone help please ? Thanks. MartinHi,
thanks for developing new versions for the VIESSMANN-API.
I was searching for gatewayID & installationID in the ViCare App, but couldn't find it - do you have a hint where to look it up?
Thanks Georg
I just extracted installationId and gatewayId via the just integrated Getters and added them to the credentials.properties
After adding them, I get the following Error Message
Message: Unable to get data for feature
Reason: UNSUPPORTED_GATEWAY_TYPE
Code: 1
Hello,
When i try to install composer i have following message
pi@raspberrypi:~/Viessmann-Api $ php composer.phar install
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run
composer updateor
composer update .
Nothing to install, update or remove
Generating autoload files
[ErrorException]
file_put_contents(/home/pi/Viessmann-Api/vendor/bin/php-parse): failed to open stream: No such file or directory
`
When i do
pi@raspberrypi-182:~/Viessmann-Api $ php composer.phar update
i have
`Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires roave/better-reflection dev-3.4.*, found roave/better-reflection[dev-dependabot/composer/doctrine/coding-standard-9.0.0, dev-dependabot/composer/jetbrains/phpstorm-stubs-2021.1, dev-dependabot/composer/vimeo/psalm-4.6.2, dev-dependabot/composer/vimeo/psalm-4.7.1, dev-implement-newInstanceArgs, dev-dependabot/composer/phpstan/phpstan-0.12.80, dev-dependabot/composer/phpstan/phpstan-0.12.85, dev-dependabot/composer/phpunit/phpunit-9.5.4, dev-dependabot/add-v2-config-file, 0.1.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.0.2, 3.0.0, ..., 3.5.0, 4.0.0, ..., 4.13.x-dev] but it does not match the constraint.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
`
same result if I do
php composer.phar update --with-all-dependencies
Do you have plans integrating this in HA?
Hello,
I found this API very interesting. I own Viessmann equipment and I would like to combine heating system with my home automation application (domoticz on RPI) using python. The main issue is that I don't know how to start. Informations provided by this repository are very advanced and simple tutorial (like "Hello world") is missing. Is there a chance to create something for beginners like (one or two pages):
Bonjour,
Je suis l'auteur du plugin Viessmann sur Jeedom, un utilisateur du plugin me demande de pouvoir afficher l'historique des dysfonctionnements de la chaudière. Si vous voulez bien ajouter la fonction suivante à l'API, cela m'aiderait pour la récupération des infos.
` public
function getProperties($feature): string
{
return json_encode($this->viessmannFeatureProxy->getEntity($feature)->getProperties());
}
`
Cordialement,
Philippe
Bonjour,
I guess you (@thetrueavatar ) have also recieved to mail from Viessmann.
Are you going to implement to adviced change for the new endpoint?
Tried to do the needed change (changing from v1 to v2 in 2 files), however when trying to create a .phar I got only errors.
Salut thetrueavatar,
my connection to Viessmann servers stopped working (expectedly) today, and I tried to setup the new 2.0.0 snapshot - unfortunately I can't get it to work, hope you can help.
I have successfully created a client Id in Viessmann's developer portal and setup the new credentials and bootstrap file accordingly. (Note: Manually calling the authorize endpoint in a browser brings up the login form, after login I receive an authorization code encoded in the URL)
However, with your scripts, when trying to read any value, I end up with Error during authentication process. Please review your username/password
, obviously because Viessmann wants the authorization process to be initiated from a browser, as is it includes some kind of captcha.
Could you give me a hint how to work around that or what I might be missing?
Merci beaucoup et bonne soirée!
Stefan
Dear All,
First thing, is congratulation thetrueavatar for the API.
I have a question, i saw with infrared interface and vitalk on raspberry we can get the parameters as A0....B0...
Is it possible to do the same with the API? It should be goog to be able to disable or enable the frog program with A3 and A4 parameters.
Thanks in’advance
Hi,
I installed php on my openhab2 (Raspi) Server and tried to run the php scripts.
php Shows following Version:
PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright © 1998-2017 Zend Technologies
with Zend OPcache v7.0.30-0+deb9u1, Copyright © 1999-2017, by Zend Technologies
I receive following error message:
php GetOutsideTemperature.php
PHP Notice: Use of undefined constant CURLOPT_URL - assumed ‘CURLOPT_URL’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 81
PHP Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed ‘CURLOPT_HTTPHEADER’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 82
PHP Notice: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed ‘CURLOPT_SSL_VERIFYPEER’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 83
PHP Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed ‘CURLOPT_RETURNTRANSFER’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 84
PHP Notice: Use of undefined constant CURLOPT_USERPWD - assumed ‘CURLOPT_USERPWD’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 85
PHP Notice: Use of undefined constant CURLOPT_HTTPAUTH - assumed ‘CURLOPT_HTTPAUTH’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 86
PHP Notice: Use of undefined constant CURLAUTH_BASIC - assumed ‘CURLAUTH_BASIC’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 86
PHP Notice: Use of undefined constant CURLOPT_POST - assumed ‘CURLOPT_POST’ in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 87
PHP Fatal error: Uncaught Error: Call to undefined function Viessmann\Oauth\curl_init() in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php:89
Stack trace:
#0 phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php(56): Viessmann\Oauth\ViessmannOauthClientImpl->getCode()
#1 phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php(43): Viessmann\Oauth\ViessmannOauthClientImpl->__construct(Array)
#2 /tmp/viessmann/bootstrap.php(13): Viessmann\API\ViessmannAPI->__construct(Array)
#3 /tmp/viessmann/GetOutsideTemperature.php(2): include(’/tmp/viessmann/…’)
#4 {main}
thrown in phar:///tmp/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/Oauth/ViessmannOauthClientImpl.php on line 89
A test with a fresh Raspbian Setup worked for mentioned method without problems, the corrrect temperature was received.
Any suggestion - what is going wrong?
Thanks Georg
Hi Claude!
You probably have seen following mail:
_Dear
{{ insert first_name 'default=default' }} {{ insert last_name 'default=default' }},
an
evaluation has shown that you have used the web interface to Viessmann IoT Services very frequently in recent days.
On
the one hand, we are delighted to know you are taking a closer look at our products and solutions. Especially since you have (apparently) found a solution for your specific use case without a description or our support from our side.
On
the other hand, it challenges us to check and channel the method and frequency of requests to our IoT Services in order to keep those stable and available for all our users.
That’s
why we have now taken the decision to limit access to our API. From the coming week on, a threshold will become active that prevents from unauthorized use of the API.
This will affect all third-party solutions, which can thereby no longer be used.
We
are aware that the demand for APIs to our technologies for integration into other solutions and third-party systems is increasing. To provide you with an opportunity for this, we will launch a portal
in the next two
months for all developers to get access
to our API. With the Viessmann Developer Portal, we intend to open ourselves up, release a documentation of the interface and co-develop new solutions together with you. In addition, we are planning to provide you with useful information around
our heating systems you need for your development and to offer you a first-level support concerning our APIs.
As one of the users who is already working with our API, we would like to invite you to an early access to the Developer Portal. If you are interested, please fill out this
short form. The access to the pre-version of the Portal will be sent to you within the next weeks.
We
hope you understand the decision that we have to take. If you are interested to support us, on further development on the API and to explore new possibilities, we are very happy to welcome you to our Developer Portal soon!
In
the meantime in case you have any questions, feel free to contact us under [email protected].
Thank
you for your understanding.
All
the best!
Your
Viessmann Developer Portal Team_
Are you changing your scripts, that we can use it in future?
Kind regards
Georg
can you add (if changed) composer.lock files to repo.
thx
Hi Claude,
since 2 hours a get error messages like this:
php GetOutsideTemperature.php
PHP Fatal error: Uncaught Viessmann\API\ViessmannApiException: Unable to get data for feature heating.sensors.temperature.outside
Reason: DEVICE_COMMUNICATION_ERROR in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php:790
Stack trace:
#0 phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php(60): Viessmann\API\ViessmannAPI->getEntity('heating.sensors...')
#1 /etc/openhab2/scripts/viessmann/GetOutsideTemperature.php(4): Viessmann\API\ViessmannAPI->getOutsideTemperature()
#2 {main}
thrown in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-0.4-SNAPSHOT.phar/src/API/ViessmannAPI.php on line 790
No matter which method I call it seems to be also line 790.
Don't know how to fix this.
Thanks for an hint.
Georg
Hi all,
since today morning (03:00 am german time) the function "isHeatingCompressorsActive()" is no longer working.
Error message when calling function:
echo $viessmannApi->isHeatingCompressorsActive();
Message: Call to a member function getProperty() on null
Code: 0
Any ideas? Did Viessmann change something in their API?
My other used functions are working.
BR
Tino
Ich habe viele Scripte und Datenpunkte und möchte versuchen diese nicht unnötig wachsen zu lassen.
Bitte über die oberste Baum-Eben auswählbar machen, welche Daten aus der Viessmann Cloud gelesen werden sollen.
Viele Werte machen z. B. für meinen Heizungstyp keinen sinn
Hello,
v2.0.0
I use credentials.properties correctly filled and I followed instructions provided for this new version (thank you!)
I have this error:
Message: Error during authentication process. Please review your username/password Code: 0 Message: response didn't contains code to get token probably due to an error in authentication process. Response : {"error":"Invalid redirection URI."} Code: 0
Error seems to be related to redirect URI.
I'm still investigating.
Oauth/ViessmannOauthClientImpl.php
l.38
const REDIRECT_URL = "http://localhost:4200/";
Hello,
when I start the dhwOneTimeCharge i got this error:
Message: Unable to set data for featureheating.dhw.oneTimeCharge and action activate and data{"mode": "activate"} Reason: Unsupported Media Type Code: 1
do you know how to fix it?
EDIT: There is a general problem with all function that uses the setRawJsonData function.
Best regards
rogrun
I get following errors when I start Main.php. Before I insert user and pwd in credentials.
PHP Notice: Undefined offset: 0 in /home/ss/Downloads/Viessmann-Api-master/src/Oauth/ViessmannOauthClient.php on line 78
PHP Fatal error: Uncaught TypeError: Return value of Viessmann\Oauth\ViessmannOauthClient::getCode() must be of the type string, null returned in /home/ss/Downloads/Viessmann-Api-master/src/Oauth/ViessmannOauthClient.php:78
Bonjour thetrueavatar
Un plugin s'appuyant sur votre API a été développé sur https://community.jeedom.com/t/plugin-viessmann/51078.
Il semblerait que les unités de consommation gaz soit en m³ sur les nouvelles chaudières.
Unit: kilowattHour
Unit: cubicMeter
Vous serait-il possible de voir pour implémenter cette fonctionnalité?
N'hésitez pas à nous solliciter si vous avez besoin de plus d'infos.
Bien cordialement
Hi,
Viessmann recently announced the release of their new smart climate components. I bought a thermostat for testing purposes. It runs smoothly and can be configured within Vicare and the web portal. I called getAvailableFeatures() on the API to see how its data is mapped. Unfortunately, no additional/new entities are available. Do you have an idea where to look for the data?
Best regards
smhex
Lorsque je veux ajouter une commande pour récupérer la température du thermostat d'ambiance j'ai l'erreur
Erreur dans l'exécution du terminal, la valeur retournée est : 255. Détails : Array ( [0] => PHP Fatal error: Uncaught TomPHP\Siren\Exception\NotFound: Property "value" was not found. in phar:///var/www/html/plugins/script/core/ressources/viessmann/Viessmann-Api-0.3.phar/vendor/tomphp/exception-constructor-tools/src/ExceptionConstructorTools.php:27 Stack trace: #0 phar:///var/www/html/plugins/script/core/ressources/viessmann/Viessmann-Api-0.3.phar/vendor/tomphp/siren/src/Exception/NotFound.php(32): TomPHP\Siren\Exception\NotFound::create('Property "%s" w...', Array, 1) #1 phar:///var/www/html/plugins/script/core/ressources/viessmann/Viessmann-Api-0.3.phar/vendor/tomphp/siren/src/Entity.php(144): TomPHP\Siren\Exception\NotFound::forProperty('value') #2 phar:///var/www/html/plugins/script/core/ressources/viessmann/Viessmann-Api-0.3.phar/src/API/ViessmannAPI.php(86): TomPHP\Siren\Entity->getProperty('value') #3 /var/www/html/plugins/script/core/ressources/viessmann/GetRoomTemperature.php(3): Viessmann\API\ViessmannAPI->getRoomTemperature() #4 {main} thrown in phar:///var/www/html/plugins/script/core/ressources/viessmann/Viessmann-Api-0.3.phar/vendor/tomphp/exception-constructor-tools/src/ExceptionConstructorTools.php on line 27 )
Alors que je n'ai pas de problème pour getOutSideTemperature, getBoilerTemperature, getActiveMode
J'ai un Vitoconnect 100 OPTO1 sur un Boiler Vitorondens 200-T
Api 1.0.1 was nicely working until 11.07. Then it stopped working caused by a Authorization issue. I looked into it today and could resolve the issue by adding this function to ViessmannOauthService.php:
public function getAuthorizationMethod()
{
return static::AUTHORIZATION_METHOD_HEADER_BEARER;
}
Hi!
I have upgraded to Viessmann-Api-1.1-SNAPSHOT.phar and get following error message:
_PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /etc/openhab2/scripts/viessmann/bootstrap.php:2) in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-1.1-SNAPSHOT.phar/src/bootstrap.php on line 2
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /etc/openhab2/scripts/viessmann/bootstrap.php:2) in phar:///etc/openhab2/scripts/viessmann/Viessmann-Api-1.1-SNAPSHOT.phar/src/bootstrap.php on line 2_
Any idea what is going wrong?
Thanks for help
Georg
hi, is there an english explanation?
Hi,
I used this php to read the temperature - it was working until recently. When I call the method it returns:
Message: Property "value" was not found.
Code: 1
any idea what happened?
I have attached the GetAllFeatures.php results as txt-file.
allfeatures.txt
Thanks for help
Georg
Salut je voudrais te poser quelques questions a propos de ton api qui est super intéressant est il possible de te contacter par un quelconque moyen ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.