thetrueavatar / Viessmann-Api

Api pour récupérer les infos de chaudière exposées par le service Viessmannn
GNU General Public License v2.0
78 stars 37 forks source link

cannot login #42

Closed sipiyou closed 3 years ago

sipiyou commented 4 years ago

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:

`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

Error Page

ERROR!: error class 'Client Error'; error code '400'; error text 'bad request'

`


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:

php7-info.txt

Please help :)

sipiyou commented 4 years ago

Can someone help me on this, please ? I am still not able to login.

When I use iobroker module, it works with the same credentials. Please HELP!