Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some features broken (?) #73

Closed
soeffi opened this issue Sep 29, 2021 · 8 comments
Closed

Some features broken (?) #73

soeffi opened this issue Sep 29, 2021 · 8 comments

Comments

@soeffi
Copy link

soeffi commented Sep 29, 2021

Hi all,

since today morning I'm getting some errors in my scripts, related to burner information. I see:

Unable to get data for feature heating.burner from isHeatingBurnerActive()
Unable to get data for feature heating.burners.0.heating.burners from getHeatingBurnerStatistics()

Yet another API change? I'm using the latest (2.1.1) snapshot. Anyone else with the same issue?

Thanks!

@rogrun
Copy link
Contributor

rogrun commented Sep 29, 2021

Hi soeffi,

same issue here. I see that Viessmann does not provide the data for the feature e.g. for burners. So there is no issue on the part of this API.

I do not know if it will only be for a short time.

In the API Documentation from Viessmann are no further information.

@thetrueavatar
Copy link
Owner

same for me. One way to fix that would be to find the right feature name by sniffing network from viCare to viessmann's server. I only succeed this by using android sdk emulator+ mitmproxy which takes me a bit of effort. Didn't succeed with vpn traffic sniffer such ash Packet Capture.

@thetrueavatar
Copy link
Owner

there is a bug in the feature construction for statistics. should be heating.burners.0.statistics not heating.burners.0.heating.burners. W

@thetrueavatar
Copy link
Owner

I have fixed the problem with statistics. Will check for burner active.

@thetrueavatar
Copy link
Owner

BTW One easy way to get all the feature available is to disable caching in the boostrap-dev.php
try { $viessmannApi = new ViessmannAPI($params,false); } catch (ViessmannApiException $e) { $errorHandler($e); exit(); }

and use:

<?php
include __DIR__.'/bootstrap-dev.php';
echo $viessmannApi->getRawJsonData(""):

@thetrueavatar
Copy link
Owner

thetrueavatar commented Sep 29, 2021

burner is now under feature heating.burners.0 did a fix for this.
A bit tired of all those change. IMHO, they are exposing a bit too much their own implementation mechanism instead of just providing high level interface... We could just read all the raw data from the root path but I need some parsing to display things...

@thetrueavatar
Copy link
Owner

For my part issue is closed. Feel free to reopen if not

rogrun added a commit to rogrun/Viessmann-Api that referenced this issue Sep 29, 2021
@soeffi
Copy link
Author

soeffi commented Sep 29, 2021

For my part issue is closed. Feel free to reopen if not

Same here. Works with the latest 2.1.1 snapshot. Thanks a lot for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants