[APP][Pro] Viessmann ViCare App for Homey Pro

Creating this topic to gather questions/answers, bug reports etc.

Note

Edit: Made this post before I realized the review process takes approx 2 weeks. I will add a link to the app when it has (hopefully) passed the review process.

While waiting for the review installation can be done by downloading the source code from GitHub GitHub - pelleros/se.forint.pelle.viessmann

Description

An app to control Viessmann heat pumps (Vitoconnect equipped). Control it with flows in Homey, check its status, and more.

How to get it set up

  • Log in to Viessmann dev portal with your existing ViCare app user.
  • At Viessmann dev portal add a new client to get a Viessmann Client ID. Name it Homey, ensure Google reCaptcha is turned off and set redirect URI to https://callback.athom.com/oauth2/callback.
  • After installation of the Viessmann ViCare Homey app go to settings of the app and enter the ā€˜Client IDā€™ generated in the step above.
  • Now add your new Viessmann device in Homey and log in with your ViCare app user when asked to.

Supported devices

If you can control your pump with the official Viessmann ViCare app there is a good chance this Homey app also will work. Tested with Viessmann Vitocal 222-A AWOT-E-AC 221-A16 with a Vitoconnect 100 OPTO1
2 Likes

Hello,
do you cooperate with this guy?

Hi! I was not aware of this other app. I did not find any app when searching before I began developing my own.

His app was not approved because of some missing original graphics etc.

Hey @Pelle_Rosengren,

Maybe a good idea to join forces and create one app? Iā€™m open to collobaration on this matter.

Personally Iā€™m new to Homey development, and it appears you managed to get the OAuth2 flow properly working ā€¦ I never managed to get it working with the Homey APIs in combination with the Viessmann APIs.

Based on what I have now, I have support for a Vitodens 222-W (model 2016) and a Vitodens 200-W (model E3).

Kind regards,

2 Likes

Sounds like a good idea to join forces! I want to do some cleanup before making my project on GitHub public. If you want I can though invite you to the (currently) private project so that you can download it and see what I have done this far. Send me your GitHub username or email and Iā€™ll invite you as a collaborator.

2 Likes

Hey,

My code lives at Functor Solutions / Homey / Viessmann Ā· GitLab
My GitHub userID is kmoens

We can see how best to join forces / merge code / etc.

Kind regards,
Kenny

1 Like

If youā€™re interested, you can now download the source code from my GitHub repository and install the app using the Homey SDK:

  1. Download the source code from GitHub: GitHub - pelleros/se.forint.pelle.viessmann
  2. Install the app on your Homey Pro via CLI using the following command: homey app install (or homey app run to get some debug information in the console if things donā€™t run smoothly)

Since I can only test the app with my Vitocal 222-A, I would really appreciate if others with different Viessmann devices could give it a try and share their feedback. This will help improve the app and ensure it works smoothly across a variety of Viessmann systems.

Please feel free to post any issues, comments, or suggestions here in this thread or directly on GitHub.

This ā€œViessmann Vicareā€ App is destined for heatpumps (only). This is not suited for gas heaters.
Few to no readings, mostly only states are available. Settings are limited at best.
In flows, room temperature setpoint and water temperature setpoint are the only two available actions. The available trigger is the compressor status.

The Viessmann ViCare app (below) is well suited for gas heaters with many readings and lots of triggers and actions. Hence: two completely different Apps.

A mystery how Homey decides to support some Apps and decide to abandon others ā€¦
The above Viessmann ViCare app has been posted on the forum almost exactly to the day 1month earlier than this one. Would be cool if they could at least be merged into one App.




Thank you for your feedback.

I completely understand your concerns, and Iā€™d like to clarify a few things. My app is built with secure communication via OAuth2, ensuring stable and safe interaction with the Viessmann API. While the app currently focuses on heat pumps (because that is what I have and can test), itā€™s designed to be a solid foundation that can easily be extended with more readings and triggers, such as those for gas heaters. For example, adding gas heater readings is quite straightforward.

Itā€™s great to hear that youā€™ve been able to get my app running, and Iā€™d be happy to see further development based on community feedback. The source code is open, and you are more than welcome to contribute to expanding the app to suit different needs.

I hope we can work together to make the app better for all Viessmann users.

Best regards,
Pelle

1 Like

Hey Pelle

Iā€™m open for you to collaboration. But I am disapointed that the collaboration currently means that I have trash my work and work on your app.

My app also works with oaurh2, but as said in my original post, I did not get it property working with the homey oauth2 because their implementation does not support PKCE. Your implementation is a hack because the secrets need to be regenerated e1ch time to be secure. In fact the real flaw is that the homey oauth2 implementation does not support PKCE in oauth2.

Still disqppointend. If I added the images in my app 2 Days before Your app would be deniedā€¦

Kind regards,
Kenny

Hi Kenny,

Thank you for your comments and for sharing your perspective.

I understand that it is disappointing when projects overlap. I began developing my app about six months ago, as documented in the Viessmann forum. Due to other commitments I wasnā€™t able to prioritize finalizing it for publishing until recently. My goal has been to create a flexible app that works with a broad range of Viessmann devices and can be expanded with features for specific types, including gas boilers, as we move forward.

The OAuth2 implementation provides secure access and has proven reliable in my testing. Of course, itā€™s entirely up to you whether you want to contribute to developing my app further. The source code is open for collaboration, and feedback is always welcome.

Best regards,
Pelle

hi,
does your app display more information such as pump status and buffer temperature etc.?

Hi Pelle_Rosengren,

I find your integration very interesting, I myself have the Vitovalor PT2 (fuel cell) from Viessmann. I am new to the Homey platform, but would like to better integrate the information from the fuel cell (FC) into my house. For example, the currently generated energy, the running time, hot water tank temperature top and bottom, etc. Unfortunately, I donā€™t yet have a plan for how best to implement this. I would be grateful for any help. Best regards Daniel

I managed to install the app but it is not possible to control anything. Vitocal 200-S.


Just found this app when I was trying the other new Viessmann app. This app was easier to setup and I actually got my unit in Homey. But there is no values just as Blooddrunk i reporting.

Hi,
Did you managed to solve this?

No, and I think that one of the developers will soon quit as we have here two identical apps.

Hey hey,

The installation of the app is fine, the viessmann api is also running. But i have no read out, neither can I control the temperature, ect.

Iā€™ve got an Vitocal 200 connected to Vicare. So i would be glad to test this app. Because this is the app iā€™m waiting for a long time ā€¦

Thx

https://community.homey.app/t/app-pro-viessmann-vicare-app

Try this one. Vitocal should be supported soon.

1 Like