Which system do you use?
I am using a Vitodens 300-W.
Vitodens 222-W
Hi,
ViCare not working for me since two days. Someone else has the same Problem?
All good here. Anything in the logs?
I have deleted ViCare and reinstalled it shortly before I requested the log. No entities are detected
Coming from the debug log.
ā2023-08-21 22:44:53.651 ERROR (SyncWorker_4) [ViCare] Missing ādataā property when fetching installations
2023-08-21 22:44:53.745 ERROR (MainThread) [custom_components.pyscript.file.vicare_manual_set] Exception in </config/pyscript/vicare_manual_set.py> line 27:
circuit = circuit_factory()
^
PyViCareInvalidDataError: {āviErrorIdā: āreq-29e446af2a174e8e81d5c65af7b57f29ā, āstatusCodeā: 401, āerrorTypeā: āUNAUTHORIZEDā, āmessageā: āRequest contain invalid tokenā, āerrorā: āNO TOKEN AVAILABLEā}
2023-08-21 22:44:55.339 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up vicare platform for sensor
ā¦ā
And many more lines with pyvicare
The *Token.save file I have deleted.
Embarrassingā¦ I think the reason is that my vitocal lost the WiFi connection. Also no connection with viessmann App. I am not at home the next days therefore not possible to solve it remote.
Does the ha_vicare custom component add anything to the official Viessmann integration? Or is the original one sufficient at the moment?
It supports multiple devices and has a few other changes which are not in the official integration.
I couldnāt find the time to properly contribute this back to HA Core unfortunately
Thanks for your efforts. I have been reading through this big old thread, thereās been a lot of discussion over the last few years!
Am I right in thinking that if I want to run some automations to adjust the temperature on the device at various times, itās better to disable auto polling and then run vicare every 70 seconds or so I donāt risk exceeding the Viessmann API limits?
There is only small room for additional calls. Each call you make on top during the day will lead to your api not responding anymore before the limit gets reset (e.g. at 0:00).
The actual limits are documented on the vicare integration documentation
@oischinger May I ask a direct question:
I searching a way to not only get the power consumtion of my heatpump (Vitocal-A250), I also like to know the production eg. 20kWh consumtion results in 80kWh of gas heating. Or acutual electric power 750W resutls in 3,4kWh heating power.
The Viessmann mobile app provide this data, also i seaching the API calls and found somthing maybe for fuelcell / heatpump? BUT itās marked āadvancedā.
In the official repo in āsensors.pyā I found entries like this:
ViCareSensorEntityDescription(
key="power_production_today",
name="Energy production today",
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
value_getter=lambda api: api.getPowerProductionToday(),
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
I upgraded to ViCare Plus (testing 30 Days trail) but still get no additional entities in my integration.
As Creator of the inofficial intigration, you may have a better understanding why this is not working and not available.
I would like to set the schedule for my circulation pump using PyViCare. I noticed that a method has already been implemented: https://github.com/somm15/PyViCare/blob/8ba411483a865e074d1146fd1b8b7a8c4f4be122/PyViCare/PyViCareHeatingDevice.py#L286
How can I expose this method as Home Assistant service?
Thanks in advance!
Hi there,
I am trying to control my 200A heatpump with home assistant and nodered. Struggling changing the preset_modes, always get an API error. Does anybody know what might be wrong at my side.
Thanks JJ
I have the same situation for 200W gas boiler. Those modes are listed as available but cannot be activated via the API. You can check which features are really available for your system.
Btw, are you receiving any error message when trying to activate those preset_modes
?
You can also follow instructions on this git repo to get entire scope of whatās available for your device: GitHub - somm15/PyViCare: Python Library to access Viessmann ViCare API The result of the step 3 will show you all available data and active features.
You would need to implement a respective service in the vicare integration and submit a PR.
You can have a look at this PR: Add set_heating_curve service by adorobis Ā· Pull Request #117 Ā· oischinger/ha_vicare Ā· GitHub in which Iāve implemented a service to set heating curve. Yours will be a bit more complicated though
Edit:
Btw, Iāve found it quite easy to manage schedule via the ViCare app so not bothered to implement it in the HA integration.
Hope itās fine if I crosspost it here. Was curious if anyone has any success with getting rid of cloud on their Viessmann boilers: community.home-assistant.io/t/controlling-viessmann-vitodens-gas-heater-boilers-locally-100w-111w-200w
I might be willing to sponsor such development.
Regarding getting rid of the cloud : If you have a new device there is an awesome project utilizing the can bus.
Info in German forum:
Source code:
I have it running on Vitocal 250a an works great.
Cheers
SanMiggel
And for the devices running the optolink interface there is already a solution on esphome. In PR stage at the moment but should be soon added as official integration:
Works great, super reliable for me.
adorobis, I found such information:
- Use above data to replace
{installationId}
,{gatewaySerial}
and{deviceId}
in this URL to investigate the Viessmann API:https://api.viessmann.com/iot/v1/features/installations/{installationId}/gateways/{gatewaySerial}/devices/{deviceId}/features
And then I used this link:
https://api.viessmann.com/iot/v1/equipment/installations?includeGateways=true
But there is no deviceId. .
installationId and gatewaySerial are OK.
So if there is no deviceId, I canāt use this address:
https://api.viessmann.com/iot/v1/features/installations/{installationId}/gateways/{gatewaySerial}/devices/{deviceId}/features
What type of device do you have? Does it show up when adding the integration to HA?