I just installed the newest beta and sadly no change.
File “/config/custom_components/mypyllant/init.py”, line 173, in _async_update_data
data = [
^
File “/config/custom_components/mypyllant/init.py”, line 173, in
data = [
^
File “/usr/local/lib/python3.11/site-packages/myPyllant/api.py”, line 283, in get_systems
system = System.from_api(
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 206, in from_api
system.zones = [
^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 207, in
Zone.from_api(system_id=system.id, **z)
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 145, in from_api
return super().from_api(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 86, in from_api
return from_dict(
^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/dacite/core.py”, line 68, in from_dict
if config.check_types and not is_instance(value, field_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dacite.exceptions.WrongTypeError: wrong value type for field “quick_veto_start_date_time” - should be “datetime.datetime | None” instead of value “2023-10-08T05:30:29Z” of type “str”
2023-10-08 18:13:54.485 ERROR (MainThread) [custom_components.mypyllant] Unexpected error fetching myVAILLANT data: wrong value type for field “quick_veto_start_date_time” - should be “datetime.datetime | None” instead of value “2023-10-08T05:30:29Z” of type “str”
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/mypyllant/init.py”, line 197, in _async_update_data
async for system in await self.hass.async_add_executor_job(
File “/usr/local/lib/python3.11/site-packages/myPyllant/api.py”, line 283, in get_systems
system = System.from_api(
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 206, in from_api
system.zones = [
^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 207, in
Zone.from_api(system_id=system.id, **z)
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 145, in from_api
return super().from_api(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/myPyllant/models.py”, line 86, in from_api
return from_dict(
^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/dacite/core.py”, line 68, in from_dict
if config.check_types and not is_instance(value, field_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dacite.exceptions.WrongTypeError: wrong value type for field “quick_veto_start_date_time” - should be “datetime.datetime | None” instead of value “2023-10-08T05:30:29Z” of type “str”
2023-10-08 18:13:54.522 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors
2023-10-08 18:13:54.522 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors
2023-10-08 18:13:54.522 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors
2023-10-08 18:13:54.522 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate
2023-10-08 18:13:54.522 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater
Thanks for testing! At least the last error seems fixed now, but there’s a new one related to quick_veto_start_date_time. I have a testcase for parsing that. But your setup and in particular the dacite library I’m using seems to behave differently from mine (and the automated tests running on Github) - which is unexpected?
Just to be safe, I just spun up a new Home Assistant instance with my integration, and I’m not seeing that error with the quick veto set.
It would help if you could post the output of pip freeze | grep -i "dacite\|myPyllant\|homeassistant==" from your home assistant installation. It should be:
dacite==1.8.1
# Editable install with no version control (homeassistant==2023.10.1)
myPyllant==0.5.9
Sadly I can’t run that command on my HA system since I am running hassos…
Edit: For some reason it appears to be working now…I reinstalled the same version again (by accident) and now the entities are all there as far as I can tell. I will keep monitoring and see if it stays stable…
Morning @pdd, thanks for a great integration which is actually give me some level of performance monitoring that would be otherwise unavailable out omy expensive arotherm plus.
I have a myVaillant Connect gateway, I can only see these services but can read data for Heating/HW/Zone 0…
So when I hit the boost button on the Hot Water control I get a message saying “can’t find url…” similarly on the Heating control. Is there anything I can do to automate my heating controls through HA?
Hey @pdd I upgraded to 0.5.1, lost connection to the 4 devices I had (arotherm +, Zone 0, Zone 1 and HW), I tried re-loading then deleted the hub account and signed in again to check. A bit stumped now.
@willenic try the first beta of 0.5.0 (need to enable prerelases when redownloading) - that seems to be working for @CommanderROR at least. When you get a chance again to test the latest versions, I would appreciate if you could post logs. Otherwise I have nothing to go by and can’t really help.
I’m trying to make use of the Water Heater: Set operation mode service to stick my hot water into Boost mode. I used the UI to generate the service call as below but it fails in the trace as it looks like the service isn’t expecting a device_id despite that being set as part of the automation UI? Any suggestions?
Edit: Still on 0.5.0b1
Edit 2: Tryed using entities of sensor.current_special_function_domestic_hot_water_255 and sensor.operation_mode_domestic_hot_water_255 without success too.
Hi @CommanderROR, how are you setting your Legionella cycle? Just by setting the temperature set point or are you changing the mode on the Hot Water device? Thanks.
I am just increasing the temperature. In my case to 62°C on a specific day for a set amount of time. This seems more sensible than the 75°C Vaillant uses.
The app that the Technician installed in my phone to control the system is called “Mi Control”, my gateway is the MILINKV3.
I try to login in your integration trying all the brand options and selecting may country (Spain), but it says my credentials are not correct.
So I tried to install the Vailliant APP and Mi GO App, created an account on both of them and logged correctly on your HACS integration, but when I try to add my device on that APPs in order to see my system info, it says the following message:
"Gateway Not Supported. Your installation in not ready to be controlled with this app yet. Please Return to your previous app (sensoApp or Multimatic app). "
Is something that I can do to connect to the MI CONTROL app?
You need to wait until your system has been moved over to the new Platform. There is nothing that can be done by the end user to speed up that process.
@CommanderROR,
Thanks a lot for your answer.
I will wait until they “migrate” me to the new platform. I have read that is a normal and gradual process to improve the connectivity solution. Idea is to move everyone gradually in order to deprecate MiControl app.
@pdd should I be able to use the HW Control in an automation to change the mode of my HW?
I have an arotherm +. Ideally I’d like to be able to stick it into Cylinder boost at specific times of the day based on my energy tariff (which varies by 1/2 hour), likewise with the heating once the HW is sorted, but if I’m stuck with temperature controls so be it.
Success with the code below on v0.5.2 the entity of the device did the trick. Can switch between ‘Time Controlled’, ‘Cylinder Boost’ and presumably ‘Off’ if I wanted though haven’t got a need to test that.
service: water_heater.set_operation_mode
data:
operation_mode: Time Controlled
target:
entity_id: water_heater.domestic_hot_water_0
Hi All
Just wanted to give some feedback on the latest version of this integration.
I’ve been using the first beta of 0.5.0 for a few weeks and held off updating due to the issues reported by others in this thread. However, as of yesterday I’ve updated to the latest version (v0.5.2) and have had no issues in the last 24 hours. I’m using the integration to automate my central heating between Auto, Manual & Off as well as monitoring data for both heating and hot water.
Components:
aroTHERM plus
VR921 Gateway
SensoComfort 720