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

Can someone maybe help me with this issue. I tried setting up this integration today. Following is the image of settings that were entered

After that I got success pop-up.

Once I closed that pop-up I can see following error for integration.

Retrying setup: 'NoneType' object cannot be interpreted as an integer

This is from log, once I tried reloading integration.

Logger: homeassistant.config_entries
Source: config_entries.py:1089
First occurred: 11:51:53 AM (1 occurrences)
Last logged: 11:51:53 AM

Config entry 'ma****************om' for vaillant_vsmart integration not ready yet: 'NoneType' object cannot be interpreted as an integer; Retrying in background
This error originated from a custom integration.

Logger: custom_components.vaillant_vsmart
Source: custom_components/vaillant_vsmart/entity.py:73
Integration: Vaillant vSMART (documentation, issues)
First occurred: 11:51:53 AM (1 occurrences)
Last logged: 11:51:53 AM

Unexpected error fetching vaillant_vsmart data: 'NoneType' object cannot be interpreted as an integer
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/vaillant_vsmart/entity.py", line 73, in _update_method
    devices = await self._client.async_get_thermostats_data()
  File "/usr/local/lib/python3.10/site-packages/vaillant_netatmo_api/thermostat.py", line 93, in async_get_thermostats_data
    return [Device(**device) for device in body["body"]["devices"]]
  File "/usr/local/lib/python3.10/site-packages/vaillant_netatmo_api/thermostat.py", line 93, in <listcomp>
    return [Device(**device) for device in body["body"]["devices"]]
  File "/usr/local/lib/python3.10/site-packages/vaillant_netatmo_api/thermostat.py", line 342, in __init__
    self.outdoor_temperature = OutdoorTemperature(**outdoor_temperature)
  File "/usr/local/lib/python3.10/site-packages/vaillant_netatmo_api/thermostat.py", line 564, in __init__
    self.ti = datetime.fromtimestamp(ti)
TypeError: 'NoneType' object cannot be interpreted as an integer

I had this issue, I set my location in the app and now it works. I think an outside temperature is required which I assume it gets from a weather service

1 Like

Hello samueldumont, can you send me the API key?

Many thanks

nice thank you. That actually fixed it. Setting location in erelax app on my phone :slight_smile:

Thanks for your efforts on the vSMART integration @MislavMandaric - I’m using it every day on my ecoFIT Pure combi boiler. Selecting a schedule from the Thermostat UI doesn’t work for me, but everything else is okay (changing temp, turning on/off etc). Something for me to get into the code and figure out one day - my guess is that some features of my boiler require a newer API version which probably has some slightly different functions you haven’t coded for yet in the integration. I’ve sent you a one-time donation via your Github page as a thank you.

Hi Samuel, can you tell me if this integration could work with the new Genia Airmax equipments using the MiControl app? in my case I have a MiproSense Thermostat and a Milink connected to the eBus to send the data to internet but the MiControl App is bulls**t and i´d like to integrate in my home assistant OS running in Rpi 4 .thanks in advance Migo and Migo Link are not supported in this equipments

1 Like

Hi, I have the exact same setup (genia airmax + miprosense + milinkv3 ebus + micontrol app).
I’v setup the vsmart integration, which is authenticating (no errors anymore with the right key + mail/mdp + version), but nothing is appearing in HA. Something does not work.

1 Like

Hi , Could you share the process to get the authentication parameters , I´m blocked with the secret key

Hi Samuel, a bit late but hope you are still online, can you help me with the key for the vaillaint app ? Jus go a vsmart installed and would like to add this to my HA dashboard ? thanks !

Hello,
please advise how to display separately the room temperature entities, the set temperature and the status of whether it is heating or not?
Pavel

Hi, I always get an Error:

[%key:common::config_flow::error::invalid_auth%]

I extracted the key and everything, but it won’t work…

What’s wrong ?

Thank you

Hi,

I’m using an automation to turn the temperature lower when I leave home. However, the default behavior in the vsmart app is that this only happens for 2 hours, and then it changes back to the regular schedule. Is there anyway to override this hour limit?

I’m not sure but I think that this hourly limit is set by the Vaillant eRELAX app. I have Vaillant’s WiFi thermostat and when I manually set the temperature, the setting last for a few hours (I can set the duration in the eRELAX app settings). If I remember correctly, I didn’t see the option not to reset manually configured temperature.

After some digging around, I found the difference between the profiles and the presets. I assume the following to work around this:

In my app schedule, create a profile and set Away to 13 degrees and Home to 19 degrees.
In HA, the specific program (Schedule A) is set to on. I assume that by changing the Profile A from Away to Home, the temperature should go to 19 degrees. However, this doesn’t seem to work. When changing the drop down menu from Away to Home, it just resets to Away again after a refresh. I will change by using State in Developer Tools, but still, the temperature does not change in the app.

Any ideas?

Hi , did you manage to have the integration working? could you share how to get the secret and the user id? I´m blocked, BTW I´ve got instructions from saunier to change from MI Control to Migo Link did you?

Hi, I have a Vaillant Therm and the login worked one time. now I gave HA a makeover and had to reinstall everything, now I am getting this message:

[%key:common::config_flow::error::invalid_auth%]

I extracted the key and I even put up the same user in my Vaillant APP and in HA but nothing works…

What can I do ?

Thank you

1 Like

Hi Samuel
Thanks for contrinuting and sahring with us
I am trying to add the vsmart and I hace already downloades and insatlled the HACS and associates Vaillant integartion.
It indicates that teh configuration has to be made through the UI but I do not know how to access it or how to modify the conf files.
If you can send me a link with a step bu stpe uide (if it exists) and the neccessary app key I will be grateful

Thanks ina dvnace for your help

same here, and I also got no reply :frowning:

Dear all,

I would like to add my Protherm MiGo thermostat to Home Assistant. I am not an IT expert. I am trying to add “Vaillant vSMART” integration and have no idea what should I fill-in for:

  • Client-ID
  • Client secret
  • User prefix
  • App version

Please help.

Thank you in advance

Hi TheMalkavien,

I have the same Genia Air Max than you. Did you manage to integrate it in HA?