Viessmann Component

Indeed, this seems to be the problem. My device is new and with integrated WiFi, and now I see in the ViCare app that Heating and DHW are completely separated.

I can still set the DHW temperature, thank you and @Tommmii both, but when I try to toggle it on/off, I get the following error:

Failed to call service water_heater/turn_on. 'ViCareWater' object has no attribute 'async_turn_on'

For the heating it is kind of working (switching climate.vicare_heating from ‘auto’ to ‘off’), but a bit buggy (this may be also because I have disabled auto polling).

I’ll then try to find a workaround or maybe suggest a fix, but since I’m new to HA I guess you guys will figure it our quicker :slight_smile:

fwiw, i never bother to turn the DHW off, I use automations to change the temperature. Setting it to off, or setting the temp to 10°C has the same result in my mind.

2 Likes

True, thanks a lot. Most likely this is what I will be doing until it is fixed. I’ll just have to remove my schedules from the Vicare App so I’m not mistaken by the different data.

Hello,
What can I do with this? I did everything according to the description, but it keeps getting stuck here.
Do you need to generate an Access Token? I tried that too, but it doesn’t work. I did everything described here: Viessmann ViCare - Home Assistant

Logger: homeassistant.config_entries
Source: components/vicare/__init__.py:82
First occurred: 2:53:55 PM (1 occurrences)
Last logged: 2:53:55 PM

Error setting up entry ViCare for vicare
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 52, in async_setup_entry
    await hass.async_add_executor_job(setup_vicare_api, hass, entry)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 82, in setup_vicare_api
    device = vicare_api.devices[0]
IndexError: list index out of range

Could the problem be that I have a vitocom 100 lan and the system goes through the Vitotrol application and not ViCare?

very likely.
Fortunately you have this Viessmann Vitotrol2MQTT (Vitotrol/Vitodata100) , for Vitotrol.

2 Likes

@oischinger,
it would be very great if you can add the power consumption values for the heat pump Vitocal 250A. By the way, great work and a big Thank.

Hi, I’ve been using the original vicare integration for months with my vitodens and it has been working no problem. Today I added the wifi module vitoconnect to my heatpump vitocal 100-s and added it successfully to my vicare app. I can see everything from the app but the integration only sees the vitodens and not the vitocal. I tried rebooting, deleting the integration and readding it but no luck, it doesn’t see it. Do I need to do something different? Thank you
ps. I also tried the unofficial integration and it still doesn’t see the heatpump. If can only choose one of the two I would like the heatpump but It doesn’t appear, do I need to recreate the api key?

Multiple device support is currently under development by @oischinger and not yet finished.

Ok I see, thank you. Any way to choose the second device instead of the first one? I can only choose theo one I already had even deleting and recreating the integration

You could try using the unofficial integration by oischinger. In the filesystem navigate to the file

__init.py__

in custom_components/vicare/

Go to Line 82 and change

    # Currently we only support a single device
    device = vicare_api.devices[0]

to

    # Currently we only support a single device
    device = vicare_api.devices[1]

Then restart HA.

Thank you very much

Question - can the fuel - propane- use be tracked via the app & can in be incorporated into HA. I have a 200W -B2HB-125 model from 2020. It does not currently have Vitoconnect and I understand the lon module was an optional accessory.

Hey guys,

I’m a noob here since I only installed Home Assistant yesterday. I am a proficient Python Programmer and an Electronics engineer (just to give you some background). I have ViCare working on my phone and Home Assistant Discovered it. I tried to install the Viessman Vicare integration. As you know the message says:

Set up ViCare integration. To generate API key go to [https://developer.viessmann.com]

I know what an API key is since I have generated them for Confluence before now. However I could find no option to generate an API key on the Viessmann site. I tried a few things but honestly I was stabbing in the dark. Its clearly possible so can someone tell me (or better still tell everybody) exactly how to navigate the Viessman site to retrieve the key.

Thanks, I look forward to contributing to this group once I have my setup up and running. I get solar panels 1 week from now :slight_smile:

I managed to do it. As I said I am a Noob. I was thrown by the instructions:

  1. Register and login in the Viessmann Developer Portal. Use the same account as the one you registered your device with in ViCare.
  2. In the menu navigate to API Keys.
  3. Create a new OAuth client using the following data:

Item 2 is a bit misleading - you have to click on “My Dashboard” which then takes you to a page which shows a dialog box names “your clients”
Item 3 uses “OAuth” - this is not present on the web-page, but the “your clients box” is the correct place to enter the information. A screenshot would have helped here.
I entered the data PyViCare, vicare://oauth-callback/everest and disabled the reCAPTCHA using the switch provided and got a valid key.

As said I am a Noob but I am not stupid. I do recommend updating the documentation since according to the Zen of Python:

  • Explicit is better than Implicit
  • Simple is better than complex

The Viessmann dev page was recently updated. That’s probably why the directions are wrong. As you have the latest, and clearly know your way around, would you mind opening a pull request on the docs with the correct instructions? The community will thank you

I had a Viessmann combi boiler commissioned yesterday. I set up the app, I configured the API, and I set up the HA integration. I have a lot of new sensors (37 new entities)… but no water_heater entity. I’m interested in sending set_temperature commands for DHW, but I don’t have an entity to send them to.

Any ideas why?

EDIT: Does this entry need to be added to configuration.yaml to enable the water heater entity?

Go into Developer Tools / Services and select the service water_heater.set_temperature
From there onwards it should be pretty self-explanatory.

Oh yes… that’s where I started. The trouble is, I have no valid entity, device, or area as a target:

just to be certain : you did click on “Choose entity” , right ?

And do you have something similar in the Device config ?
image