Added support for Vaillant Thermostat, how to integrate in official release

Can you give me the secret key, I’ve tried to find it myself but all I see is Chinese characters in the file, I also decompiled the .app but then the .dex is nowhere to be seen.

Regards,
Dirk

Reply to myself here.

I have the key, reading the classes.txt file with a word-processor or text editor didn’t work. I just used the following command in Linux.
grep -a 45f0 classes.txt

this gave me a line of numbers but one part of this line showed the 929 (the beginning of the secret key and further down the line it showed the 45f0 (the end of the secret key).

When adding this to the integration in Home Assistant the vaillant integration works

thank you very much, it works

Hello everyone!
I have a vSmart thermostat installed in my Vaillant boiler and I want to try to integrate it into HA, could someone share via PM the secret_key for the Vaillant Vsmart app?

Thank you !

If, like me, you’ve spent several hours going mad thinking you’re stupid trying to extract the secret key from the apkpure.apk, rather than the vaillant.apk, you need to scroll down and ensure you’re downloading the correct file and not being tricked into hitting the first download button you see.

If you are using Linux don’t bother changing the file extensions everything should work anyway, and firing up the terminal and using grep as detailed above will save a lot of time.

3 Likes

Thank You All!

A small recap for those also trying to find the Vaillant key:

  1. Download the correct apk by clicking the button [ Download APK (8.2 MB) ]
  2. Rename the Vaillant vSMART Control_1.0.4.0_Apkpure.apk to Vaillant vSMART Control_1.0.4.0_Apkpure.zip
  3. Locate the classes.dex file rename it to classes.txt (3.2 MB)
  4. Open the Terminal and type: grep -a 45f0 /location/of/classes.txt and copy the text starting from 929a up to and including 45f0
    this is also possible on your home assistant instance if you copied the file over
  5. You now have the public key

Install the Home Assistant Vaillant VSmart component using HACS or the Manual way.
After this you can add the integration to your Home Assistant instance by filling in this information for Vaillant Vsmart:

  • Client ID: na_client_android_vaillant
  • Client secret: 929a up to and including 45f0 (see above)
  • Username: YOUR_VAILLANT_APP_USERNAME
  • Password: YOUR_VAILLANT_APP_PWD
  • User prefix: Vaillant
  • App version: 1.0.4.0
6 Likes

Thanks, but then how can I get my desired setup? So Home=winter, so it doesn’t really matter which of those I choose? I get that it goes to 13 degrees in either case. So then I should use Summer for when I’m at home, but how do I get summer to set it to 19 degrees?

In short; how do I define the temperatures for home and away?


And with the integration comes some switches

And you can use all of that in automations

I know those entities and switches (see discussion above), but using this only does this for 2 hours instead of forever until the next change. That was what I was discussing with Mislav about, how to do that :slight_smile:

I’m an ios user, no android. Could you help me with client Id and secret?
Thanks

Hi all

I’ve tried to search and read this topic to understand if also my Saunier Duval Viessman Thermostat is working, but I havent found any solution to find keys.

Is there any way to do it?

Thanks

Hi,

I’m trying to use Vaillant vSmart integration with my MiPro Sense + Milink.
I use MiControl Android app but I didn’t find Client ID and Client Secret in its APK.
So I tried Client ID and Client Secret from Migo Android app, but it doesn’t seem to work.
Please can you tell me how to find the Client ID and Client Secret to use with Mipro Sense and/or Milink ?

Thank you !

Could I have the key please? Thank you.

i also need the secret key (MiGoLink), maybe this plugin is not compatible with MiGoLink?
@MislavMandaric

Guys, the key is like a password - no-one wants to paste it plain on internet. Search the forum, there are multiple posts with explanation on how to find it.

Hello
A new version of Migolink (v2.3.1) is available.
This version introduces a new login process and now we can use this application with Windows 10 using BlueStacks or with Windows 11 by installing the Google Play store.
@MislavMandaric, do you think this could open a door to integration into Hassio?
Thank you

i found the password in valliant apk but seems not exist in migo link apk

Maybe @MislavMandaric can try to apply to dev prpgram here Vaillant Group - API Developer Programme

"I had the same issue and here’s what I did to fix it:

  1. Logged out from the iOS app and the Android app.
  2. Changed my password (requested from the iOS app).
  3. Logged in FIRST from the Android app.
  4. Then from the iOS app.
  5. Finally, from HomeAssistant.

If I logged in first from the iOS app, the Android app and HomeAssistant would not log in and I would get the error message [%key:common::config_flow::error::invalid_auth%] This solution worked for me, although I have no idea why or how."

can you send me the API ? thnx