Viessmann Component

Hello. Yesterday I copied github files to / config / custom_components / vicare but I can’t enter scan_interval: 120 because the system will write this message when scanning:
Invalid config for [vicare]: [scan_interval] is an invalid option for [vicare]. Check: vicare-> vicare-> scan_interval. (See /config/configuration.yaml, line 89).
Please, where can there be a mistake? Thanks Jiri

Can you check your log file if you see this line somewhere:
2020-04-04 09:48:39 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for vicare which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.

If not, you might have copied it to the wrong directory.

can you also post the output of: ls -l /config/custom_components/vicare

Thanks a lot. There were badly stored files. Google Chrome saved them as html and even though I rewrote the names the content was wrong. Now it works and I used the settings from Tommmie
I wonder if it is possible to see the boiler temperature. I only see it in Vicare on my phone or via Vitoguide.

Add a “Thermostat card” to your Lovelace.
You’ll get smt like this :
image
47 is boiler temp, 21 is requested temp.

Hi guys,
i’ve tried to set vicare integration with this configuration:

vicare:
  username: !secret vicare_mail
  password: !secret vicare_pass
  heating_type: gas
  scan_interval: 120
#
water_heater:
  platform: vicare

but without success.
Please, could you tell me how can i do to integrate vicare service?
Thanks in advance.
Regards,

Alessandro

@alessandro.bardi you need to install the custom component (for the time being) :

I’ve already put that directory in custom_compenents and restart hassio but nothig happens.

On startup did you get a log entry in Home Assistant that vicare is a custom component and might not have been tested ?

Yes, sure!

My entities:

Cattura

Cattura2

Does your smartphone Vicare app function ?

What a stupid, you’re right, i’ve no connected vitodens 100 to my wifi network.
Sorry, now it works as it should.
Regards,

Alessandro

hello together,
is it now possible to display a second heating circuit?

@Ruud2702 The docs seem to suggest so : https://www.home-assistant.io/integrations/vicare/#circuit

But they are perhaps wrong ?

Unfortunately not. I believe the rate limiting will further complicate this. Two circuits in parallel will cause twice the amount of requests.

Added is in lovely I have but shows 0Image 9

Not really. The single API call should return data for both circuits.

The only problem is the current structure of the component. The component would need to be implemented like other components which support multiple platforms. Then you can specify the circuit on the platform.

The configuration in the end would need to look like this:

vicare:
  username: !secret vicare_mail
  password: !secret vicare_pass

climate:
  - platform: vicare
    circuit: 0
    name: "First circuit"
  - platform: vicare
    circuit: 1
    name: "Second circuit"

In the current implementation its not possible to have multiple climate platforms because they are created from the hardcoded list of platforms.

In the Template editor, what is the output of :
{{ state_attr('climate.vicare_heating', 'current_temperature') }}

?

@crazyfx1
Doesn’t PyVicare have one cached service per circuit?
It seems like we need to move multiple circuits into one service in PyVicare as well

You are right. But since the PyViCare development is quite stale at the moment, people with 2 circuits should use 120 as scan_interval for the moment :wink: