Open Krzysztonek opened 1 week ago
Same here too.
+1
same here, I'm hoping that fckng Vaillant didn't close the API for 3rd party apps...
Same :( following
https://github.com/signalkraft/mypyllant-component/releases/tag/v0.8.15
This may fix the zone cooling issue, but it's a stab in the dark. Let me know how it goes. If it's still broken, someone needs to attach full test data.
@Krzysztonek https://github.com/signalkraft/mypyllant-component/releases/tag/v0.8.16 this should fix your original issue.
Same problem here. No Data in HA. Vaillant App works. v0.8.16 running
someone needs to attach full test data.
I already attached the result of full test data. Please, see my initial comment.
@Krzysztonek I know, but there's two issues going on in one ticket. Everyone else seems to have another problem. If yours is fixed, I would move everyone else over to this ticket for the cooling stuff: https://github.com/signalkraft/mypyllant-component/issues/216
v0.8.16 running but no data
v0.8.17 shows everything I expect to see. It looks (to me) that you've sorted it. Many thanks.
Works Like a Charme. Thank you 🤩
it's fixed, thanks
it works, very nice thanks !!!
it works again.. many thanks <3
it works. Thank you !!!
All good for me now! Many thanks.
This is my first experience with GitHub, and I'm thrilled with how you solve these problems. A big thank you to everyone who contributed to solving this issue! The Vaillant integration is fantastic and has taken (or will take ;) ) my heating optimization to the next level. Thank you, thank you, thank you!
v0.8.17 works perfect for me, many thx
v0.8.17 works perfect for me too, many thanks for that quick solution!!
v0.8.17 works great! Thanks @signalkraft!
many thanks to your quick support. Great Project.
Thanks for the quick fix!!
After update to 8.17 the problem is still available. All Sensors are not available in HA
All is good for me now. Thx
Thanks for the fix! Appreciate your work.
All good here too. Thanks very much!
Try https://github.com/signalkraft/mypyllant-component/releases/tag/v0.8.17 please
Unfortunately still not working..... The Integration stopped yesterday 9.10.2024 8:16 AM in Germany
Indeed, this 8.17 version worked fine for me yesterday evening (Poland) for a while. I was so happy. However, today morning this issue occurred again. Please see my full log file (sanitized): home-assistant_mypyllant_2024-10-10T06-44-49.989Z.log
Odd, its all still working for me in the UK, maybe something to do with different configs?
Also working in Denmark, i only updated this morning and used the app in the evening to set the heatpump to a happy avg. setting
not working here for me in Germany - I am on 8.17
Working in Austria on 8.17
@Krzysztonek maybe it would help @signalkraft to know which countries where it does not work?
which countries where it does not work
Sorry for such an off-topic, but so far I was pretty sure that I live in a Happy Country. Seems I was wrong.. 😄
Working for me in Germany: VRC700 + VR920 + EcoFit Exclusiv 226/4
V8.17 solved the problem from yesterday and still working for me as a charm in Germany: Arotherm plus with VRC700 and VR921
8.17 also solved the problem for me in Germany.
To all, who still have problems: Did your restart your HA after the update?
v0.8.17 fixed the problem in the UK.
8.17 also solved the problem for me in Germany.
To all, who still have problems: Did your restart your HA after the update?
Restarted the Integration and Also HA......NOT working 😭
Restarted the Integration and Also HA......NOT WORKING
no need to SHOUT
and you forgot to attach log file
full restart
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.mypyllant.coordinator
Quelle: helpers/update_coordinator.py:354
Integration: myVAILLANT (Dokumentation, Probleme)
Erstmals aufgetreten: 14:32:59 (2 Vorkommnisse)
Zuletzt protokolliert: 14:32:59
Unexpected error fetching myVAILLANT data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data
data = [
^
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 358, in get_systems
system = System.from_api(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 944, in from_api
Circuit.from_api(system_id=system.id, timezone=system.timezone, **c)
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 83, in from_api
return cls(**data)
^^^^^^^^^^^
File "pydantic/dataclasses.py", line 329, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init
File "pydantic/dataclasses.py", line 293, in pydantic.dataclasses._add_pydantic_validation_attributes.handle_extra_init
TypeError: Circuit.__init__() missing 1 required positional argument: 'circuit_state'
all is ok since the last version, very good joob and many thanks
I am still not able to get data in HA but I can create test data and then for example the temperature for hot water is shown as in the vaillant original app and its correct.
this is in the logs:
2024-10-10 20:12:26.483 ERROR (MainThread) [custom_components.mypyllant.coordinator] Unexpected error fetching myVAILLANT data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/coordinator.py", line 213, in _async_update_data async for system in await self.hass.async_add_executor_job( File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 358, in get_systems system = System.from_api( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 944, in from_api Circuit.from_api(system_id=system.id, timezone=system.timezone, c) File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 83, in from_api return cls(data) ^^^^^^^^^^^ File "pydantic/dataclasses.py", line 329, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init File "pydantic/dataclasses.py", line 293, in pydantic.dataclasses._add_pydantic_validation_attributes.handle_extra_init TypeError: Circuit.init() missing 1 required positional argument: 'circuit_state' 2024-10-10 20:12:26.515 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mypyllant.binary_sensor 2024-10-10 20:12:26.515 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors 2024-10-10 20:12:26.515 INFO (MainThread) [homeassistant.components.calendar] Setting up mypyllant.calendar 2024-10-10 20:12:26.515 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities 2024-10-10 20:12:26.515 INFO (MainThread) [homeassistant.setup] Setting up climate 2024-10-10 20:12:26.517 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.00 seconds 2024-10-10 20:12:26.517 INFO (MainThread) [homeassistant.components.climate] Setting up mypyllant.climate 2024-10-10 20:12:26.517 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate 2024-10-10 20:12:26.517 INFO (MainThread) [homeassistant.setup] Setting up datetime 2024-10-10 20:12:26.518 INFO (MainThread) [homeassistant.setup] Setup of domain datetime took 0.00 seconds 2024-10-10 20:12:26.518 INFO (MainThread) [homeassistant.components.datetime] Setting up mypyllant.datetime 2024-10-10 20:12:26.518 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities 2024-10-10 20:12:26.518 INFO (MainThread) [homeassistant.components.number] Setting up mypyllant.number 2024-10-10 20:12:26.518 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities 2024-10-10 20:12:26.518 INFO (MainThread) [homeassistant.components.sensor] Setting up mypyllant.sensor 2024-10-10 20:12:26.518 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors 2024-10-10 20:12:26.518 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors 2024-10-10 20:12:26.518 INFO (MainThread) [homeassistant.components.switch] Setting up mypyllant.switch 2024-10-10 20:12:26.518 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities
Unexpected error fetching myVAILLANT data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data data = [ ^ File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 358, in get_systems system = System.from_api( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 944, in from_api Circuit.from_api(system_id=system.id, timezone=system.timezone, c) File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 83, in from_api return cls(data) ^^^^^^^^^^^ File "pydantic/dataclasses.py", line 329, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init File "pydantic/dataclasses.py", line 293, in pydantic.dataclasses._add_pydantic_validation_attributes.handle_extra_init TypeError: Circuit.init() missing 1 required positional argument: 'circuit_state'
I updated my system to version 0.8.17, but I still unable to fetch myVAILLANT data.
Here is the traceback:
2024-10-10 07:46:42.998 ERROR (MainThread) [custom_components.mypyllant.coordinator] Unexpected error fetching myVAILLANT data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data
data = [
^
File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 358, in get_systems
system = System.from_api(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 944, in from_api
Circuit.from_api(system_id=system.id, timezone=system.timezone, **c)
File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 83, in from_api
return cls(**data)
^^^^^^^^^^^
File "pydantic/dataclasses.py", line 329, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init
File "pydantic/dataclasses.py", line 293, in pydantic.dataclasses._add_pydantic_validation_attributes.handle_extra_init
TypeError: Circuit.__init__() missing 1 required positional argument: 'circuit_state'
Here is the output of mypyllant.generate_test_data
system:
state:
system:
outdoorTemperature: 14.125
outdoorTemperatureAverage24h: 11.0703125
systemFlowTemperature: 29.8125
systemWaterPressure: 1.3
legionellaProtectionStartWeekday: MONDAY
energyManagerState: HEATING
systemOff: false
zones:
- index: 0
desiredRoomTemperatureSetpointHeating: 0
desiredRoomTemperatureSetpoint: 0
currentRoomTemperature: 29.8125
currentRoomHumidity: 31
currentSpecialFunction: NONE
circuits:
- index: 0
circuitState: STANDBY
currentCircuitFlowTemperature: 29.8125
heatingCircuitFlowSetpoint: 0
calculatedEnergyManagerState: HEATING_STANDBY
- index: 2
circuitState: STANDBY
heatingCircuitFlowSetpoint: 0
calculatedEnergyManagerState: HEATING_STANDBY
- index: 1
calculatedEnergyManagerState: HEATING_STANDBY
domesticHotWater:
- index: 255
currentSpecialFunction: NONE
currentDomesticHotWaterTemperature: 47.5
ventilations: []
properties:
system:
controllerType: VRC700
controllerRevision: R4
systemScheme: 1
backupHeaterType: CONDENSING
backupHeaterAllowedFor: DOMESTIC_HOT_WATER_AND_HEATING
temporaryAllowBackupHeater: DISABLED
moduleConfigurationVR71: 3
energyProvidePowerCutBehavior: DISABLE_HEATPUMP
smartPhotovoltaicBufferOffset: 10
externalEnergyManagementActivation: false
operationModeEffect: ALL
zones:
- index: 0
isActive: true
zoneBinding: CENTRAL_CONTROL
associatedCircuitIndex: 0
circuits:
- index: 0
mixerCircuitTypeExternal: HEATING
heatingCircuitType: DIRECT_HEATING_CIRCUIT
isCoolingAllowed: false
- index: 2
- index: 1
mixerCircuitTypeExternal: FIX_VALUE
heatingCircuitType: DIRECT_HEATING_CIRCUIT
isCoolingAllowed: false
domesticHotWater:
- index: 255
minSetpoint: 35
maxSetpoint: 65
ventilations: []
Indeed, here is a circuit with index 1, which has no state and other properties data. I don't know what is this.
I made circuit_state
positional argument optional, and now it works like a charm!
@dataclass(config=MyPyllantConfig)
class Circuit(MyPyllantDataClass):
system_id: str
index: int
circuit_state: CircuitState | None = None
mixer_circuit_type_external: str | None = None
set_back_mode_enabled: bool | None = None
zones: list = field(default_factory=list)
is_cooling_allowed: bool | None = None
current_circuit_flow_temperature: float | None = None
heating_curve: float | None = None
heating_flow_temperature_minimum_setpoint: float | None = None
heating_flow_temperature_maximum_setpoint: float | None = None
min_flow_temperature_setpoint: float | None = None
calculated_energy_manager_state: str | None = None
I updated my system to version 0.8.17, but I still unable to fetch myVAILLANT data.
Here is the traceback:
2024-10-10 07:46:42.998 ERROR (MainThread) [custom_components.mypyllant.coordinator] Unexpected error fetching myVAILLANT data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/coordinator.py", line 177, in _async_update_data data = [ ^ File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 358, in get_systems system = System.from_api( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 944, in from_api Circuit.from_api(system_id=system.id, timezone=system.timezone, **c) File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 83, in from_api return cls(**data) ^^^^^^^^^^^ File "pydantic/dataclasses.py", line 329, in pydantic.dataclasses._add_pydantic_validation_attributes.new_init File "pydantic/dataclasses.py", line 293, in pydantic.dataclasses._add_pydantic_validation_attributes.handle_extra_init TypeError: Circuit.__init__() missing 1 required positional argument: 'circuit_state'
Here is the output of
mypyllant.generate_test_data
system: state: system: outdoorTemperature: 14.125 outdoorTemperatureAverage24h: 11.0703125 systemFlowTemperature: 29.8125 systemWaterPressure: 1.3 legionellaProtectionStartWeekday: MONDAY energyManagerState: HEATING systemOff: false zones: - index: 0 desiredRoomTemperatureSetpointHeating: 0 desiredRoomTemperatureSetpoint: 0 currentRoomTemperature: 29.8125 currentRoomHumidity: 31 currentSpecialFunction: NONE circuits: - index: 0 circuitState: STANDBY currentCircuitFlowTemperature: 29.8125 heatingCircuitFlowSetpoint: 0 calculatedEnergyManagerState: HEATING_STANDBY - index: 2 circuitState: STANDBY heatingCircuitFlowSetpoint: 0 calculatedEnergyManagerState: HEATING_STANDBY - index: 1 calculatedEnergyManagerState: HEATING_STANDBY domesticHotWater: - index: 255 currentSpecialFunction: NONE currentDomesticHotWaterTemperature: 47.5 ventilations: [] properties: system: controllerType: VRC700 controllerRevision: R4 systemScheme: 1 backupHeaterType: CONDENSING backupHeaterAllowedFor: DOMESTIC_HOT_WATER_AND_HEATING temporaryAllowBackupHeater: DISABLED moduleConfigurationVR71: 3 energyProvidePowerCutBehavior: DISABLE_HEATPUMP smartPhotovoltaicBufferOffset: 10 externalEnergyManagementActivation: false operationModeEffect: ALL zones: - index: 0 isActive: true zoneBinding: CENTRAL_CONTROL associatedCircuitIndex: 0 circuits: - index: 0 mixerCircuitTypeExternal: HEATING heatingCircuitType: DIRECT_HEATING_CIRCUIT isCoolingAllowed: false - index: 2 - index: 1 mixerCircuitTypeExternal: FIX_VALUE heatingCircuitType: DIRECT_HEATING_CIRCUIT isCoolingAllowed: false domesticHotWater: - index: 255 minSetpoint: 35 maxSetpoint: 65 ventilations: []
Indeed, here is a circuit with index 1, which has no state and other properties data. I don't know what is this.
I made
circuit_state
positional argument optional, and now it works like a charm!@dataclass(config=MyPyllantConfig) class Circuit(MyPyllantDataClass): system_id: str index: int circuit_state: CircuitState | None = None mixer_circuit_type_external: str | None = None set_back_mode_enabled: bool | None = None zones: list = field(default_factory=list) is_cooling_allowed: bool | None = None current_circuit_flow_temperature: float | None = None heating_curve: float | None = None heating_flow_temperature_minimum_setpoint: float | None = None heating_flow_temperature_maximum_setpoint: float | None = None min_flow_temperature_setpoint: float | None = None calculated_energy_manager_state: str | None = None
Where did you change that?
Anything we can do about it?
Anything we can do about it?
Anybody looking into this? Some feedback would be nice ,😀
Before submitting a new issue
Problem description
Unexpected error fetching myVAILLANT data
Logs
The app works fine for me. And what is strange, I'm able to run
TEST DATA
action from HA: