[App][Pro] Viessmann App for Homey Pro

Hey,

The current temperature of the hot water should be available right now already. It is shown on the theromostat where you change the target temperature for the hot water normally.

For the circulation pump, I will investigate, recorded it on my GitLab issue tracker:

Hey Jan,

Iā€™ll try to work out something to help people in the translation efforts! Stay tuned!

Normally I have created issue tickets for everything you guys reported here and is not resolved yet:

If I missed some, please feel free to report then Iā€™ll add them to prevent that I forget about them.

This afternoon I plan to rework the authentication logic, so that it gets easier to use the application and potentially fix the fetch problems some users reported.

1 Like

Guys,

Iā€™ve made a major upgrade to the application, this upgrade will however be slightly breaking. Iā€™m sorry for this.

v0.4.1 is now available for testing.

Two major changes occured:

  • The authentication is revamped completely and aligns with OAuth2 protocols, it is now fully using this Homey logic for this. This should fix the errors for the people with the fetch errors.
  • Two new devices are added, as an experiment: a generic Vitodens and a generic Vitocal devices. These should work dynamically and we should be able to handle more devices faster. As Iā€™m unsure if they are fully working, I did not deprecate the old ones yet.

For the migration purposes, you can try to repair the device to get the OAuth2 properly linked. Iā€™ve been unable to try it, since I did not had the old device anymore. If it fails, you might need to re-add the device, Iā€™m terribly sorry for this inconvenience.

In the settings now you only need to enter your Client ID. All other settings are gone, except the retrieval of features.json and installations.json.

1 Like

Hi Kenny,

Advies is tot update the manual, the callback url in the dev portal nee to be changed to https://callback.athom.com/oauth2/callback.

I have a Vitocal 200-s. But I cannot add vitocal device, I can add vitodens with out direct error. But when I want change the temp I get a error (the expression evaluted to a falsy value.) and I cannot see detail info of the hot water temp. I can also add vitocal with vitotronic 200 but directly with a error/warning about the thermostat_mode.

So the changes to the login methode are good and now working for me.
Bellow Some schreenshots.




Hey,

That good to hear! I did not had time to update the docs yet, the UI should Refer to a getting started which should use the correct info.

I will update other docs also during the next days.

The issue with the thermostat mode was one that I expected. Another user reported the same. It serms some vitocal devices, despite beding the Same model, have different programsā€¦

Thats why I added the generic vitocal in hope to fix it. It did not find Your device I understand? I will dig into that because it should find it.

Groetjes

So I can add two types. Where one type gives an error message immediately. The other seems to work at first sight but can not change temperature for example. But the information of the hot water circuit is missing.

I will send my installation.json and feature.json. Maybe this helps you to find the issue. But I am already very happy with the progress, very happy with it.

Thx, further patches and change will be for monday or tuesday.

1 Like

Hi, since version 0.4 I get Oauth errors.
When I fill in my client-ID again, the app doesnĀ“t confirm with ā€œSavedā€.
Reinstalled the app, but no change.
If I try to install my Vitodens 200 E3, the app opens an error message on iam.viessmann.com saying {ā€œerrorā€:ā€œinvalid_requestā€, ā€œerror_descriptionā€:ā€œInvalid redirection URI.ā€}
This is still http://localhost:4200/ at Viessmann

Am I getting something wrong or shall I just wait for next week / next version?

Have a nice weekend and thank you again for the work and time! I will be fantastich to have the heating on Homey.

You need to chance the URI to

https://callback.athom.com/oauth2/callback

Iā€™ve just created a new API just to be sure

Thank you, that works!
DidnĀ“t recognise the post above, sorry.

The generic ā€œVitodensā€ is not working for me, but installation with ā€œVitodens 200/300 with Vitotronic 200ā€ was working and looks like as before (with 2 circuits).
In Insights are the empty entries now removed.
Thanks for your efforts! Iā€™m currious to the next versions.

Guys,

A quick fix this morning: v0.4.2.

This version should solve the problems with the generic devices I think. It was getting late yesterday and it seems I mixed up the Vitocal/Vitodens devices somehow :slight_smile: .

Iā€™ve added some more failsafe checks for the values, which should avoid the falsey value too.

PS, now I am going to enjoy my Sunday, no further updates today, Iā€™m sorry.

Kind regards,

2 Likes

Can you guys add multiple clients in the Viessmann portal? I donā€™t see any add button and I suspect this is a Viessmann bug.

And fyi: I had to remove my old device and add a new one for the breaking changes in 0.4.1 to work again. Repair didnā€™t work. But no problem, these things happen off course in early dev :slight_smile:

Hey,

Each package on the Viesmann website has only 1 active API client.
The only difference with a subscription is the calls per day.

When you edit your existing client, there is a button to add URI.
Perhaps you can add the URI for your additional client here.

However, you will quickly reach the max number of calls per day.
After which your api will no longer communicate.

Hi Kenny,
for me it was now possible to install the generic device ā€œVitadentā€, and itā€™s working. It shows also the two circuits.
I was wondering that a window opened during installation, and asked for user name and passowrd of my Viessmann account. This is different to the installations before, but I think this has changed in the new version and is expected behaviour.

So, enjoy now the Sunday. :sunny: :sunglasses: :sunny: But donā€™t forget to come back with new ideas! :slight_smile:

Thatā€™s idd expected behaviour of the new authentication method.

1 Like

v0.5.0 available for test, if this one is giving good results, Iā€™ll submit this version for certification again.

Changes:

  • Deprecation of non-generic devices. Only the generic Vitocal and Vitodens remain available. The intention is to remove the non-generic devices in a future version.
  • Added compressor statistics for Vitocal devices.
  • Added power / gas consumption for Vitodens devices.

Is it possible to add power consumption for Vitocal devices also please?

Hey @Blooddrunk ,

The features.json which I received from all Vitocal users donā€™t include the necessary fields which expose the power consumption. For all Vitodens devices I have fields like heating.power.consumption.total, but they (and something similar) donā€™t appear to be in the features.json files of the Vitocal devices.

Either Viessmann does not provide them, either I look over it, or it is only part of the paid plans.

Kind regards,