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

The feature getDhwTemperature() is no longer working #67

Open
thetrueavatar opened this issue Aug 11, 2021 · 4 comments
Open

The feature getDhwTemperature() is no longer working #67

thetrueavatar opened this issue Aug 11, 2021 · 4 comments

Comments

@thetrueavatar
Copy link
Owner

I use the hot water setpoint in my setup. Since yesterday, the feature getDhwTemperature() (=heating.dhw.temperature) is no longer available. After comparing the complete rawjsondata, I noticed that the feature with the required value is heating.dhw.temperature.main. But this feature is not available in the script or am I wrong?

Originally posted by @fredchal in #64 (comment)

@thetrueavatar
Copy link
Owner Author

I have updated the feature name from heating.dhw.temperature to heating.dhw.temperature.main. This is working now.

@thetrueavatar thetrueavatar changed the title I use the hot water setpoint in my setup. Since yesterday, the feature getDhwTemperature() (=heating.dhw.temperature) is no longer available. After comparing the complete rawjsondata, I noticed that the feature with the required value is heating.dhw.temperature.main. But this feature is not available in the script or am I wrong? The feature getDhwTemperature() is no longer working Aug 11, 2021
@rogrun
Copy link
Contributor

rogrun commented Aug 11, 2021

In my installation both features works fine and they has the same value.

rawData: {"class":["heating.dhw.temperature.main"],"properties":{"value":{"type":"number","value":60}}}
rawData: {"class":["heating.dhw.temperature"],"properties":{"value":{"type":"number","value":60}}}

Here is my Test-File:

<?php
include __DIR__ . '/bootstrap.php';
use Viessmann\API\ViessmannFeature;
echo $viessmannApi->getDhwTemperature() . "\n";
echo "rawData: ";
print_r ($viessmannApi->getRawJsonData("heating.dhw.temperature.main"));
echo "\n";
echo "rawData: ";
print_r ($viessmannApi->getRawJsonData("heating.dhw.temperature"));
echo "\n";

I dont know why the feature heating.dhw.temperature is not available in some installations.

@thetrueavatar
Copy link
Owner Author

I guess it's a recent change because heating.dhw.temperature is no longer working on my installation while it was working yesterday.

@rogrun
Copy link
Contributor

rogrun commented Aug 11, 2021

ok. I understand. I will wait until its broken on my installation. I'll give you a feedback.

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

2 participants