Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity.py", line 220, in async_update_ha_state
await self.async_device_update()
File "/usr/src/app/homeassistant/helpers/entity.py", line 379, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/vicare/climate.py", line 95, in update
_room_temperature = self._api.getRoomTemperature()
File "/config/deps/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 338, in getRoomTemperature
return self.getProperty("heating.circuits." + str(self.circuit) + ".sensors.temperature.room")["properties"]["value"]["value"]
File "/config/deps/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 212, in getProperty
j=self.__get(url)
File "/config/deps/lib/python3.7/site-packages/PyViCare/PyViCare.py", line 145, in __get
r=self.oauth.get(url).json()
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 425, in request
headers=headers, data=data, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Seems you resolved your installation problems except for that error.
Does the custom component deliver proper data despite that error?
These ConnectionErrors are unfortunately happening due to various network or server reasons but most the next update usually succeeds.
By the way: I updated the custom component to word with Home Assistant 0.92.
any possibility to have the climate component activate the dhw instead of the dhwAndHeating? I mean any option to make this configurable? Like during summer I would only like dhw to be active and dhwAndHeating only when it’s cold…
I have a Vitocal 333 G heat pump and the Vitoconnect 100.
In the Vitoguide web there is the following information below of which I only see the outside temperature in Home Assistant with the Vicare integration.
Is there a way to monitor these other attributes as well?
Yeah, the default HASS climate component has been reworked, so the Viessmann component needs to be updated as well. I have been wanting to do an ‘official’ home assistant integration for some time, but I’ve been having some medical issues. I’ll see if I can make some time this week to update the custom component to a working state, but I can’t make any guarantees…
A configuration value could do that I guess. I’ll look into it.
The components is broken since the last home assistant update. I’ll try to fix it asap.
Did you check the sensors created by the custom component?
Some things like outside temperature should already be there.
Since I don’t have the same heater I don’t know what to look for.
You could try to look for it yourself by digging through the parameters in the API. e.g. run this to get the gas consumption on your home assistant python venv:
Have you noticed that there is a new Version for ViCare (0.1.0 https://github.com/somm15/PyViCare ) released, which also supports heat pumps? When doing your adjustments, it might make sense to also incorporate this new version / changes as well?
The PR is now merged. Vicare component on master branch is now compatible with HA 0.96+.
The handling of the different modes and programs has now changed quite a bit:
Basically the three hvac modes off, heat and auto now map to the Viessmann modes ForcedReduced, ForcedNormal and DHWandHeating.
The presets eco and comfort are a 1:1 mapping to the respective Viessmann programs.