-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected error #56
Comments
It seems there is a problem with http to https redirect
|
I have the same issue. |
I guess this is a full log, so I hope someone finds it useful in helping to troubleshoot it. I'm sorry for the formatting of the log which starts here til the end of the post. `2023-11-29 07:18:10.640 DEBUG (MainThread) [myPyllant.api] Starting request TraceRequestStartParams(method='GET', url=URL('https://identity.vaillant-group.com/auth/realms/vaillant-czechrepublic-b2c/protocol/openid-connect/auth'), headers=<CIMultiDict()>)
if (document.documentElement && document.documentElement.style && document.documentElement.style.setProperty) { Vaillant Česká republika
Přihlásit k vašemu účtu
Soubor cookie nenalezen. Ujistěte se prosím, že máte v prohlížeči povolené cookies.
2023-11-29 07:18:10.858 DEBUG (MainThread) [myPyllant.api] Got login url https://identity.vaillant-group.com/auth/realms/vaillant-czechrepublic-b2c/login-actions/authenticate?session_code=**token_removed**&client_id=myvaillant&tab_id=**token_removed** |
I have the same issue. |
Could you please test if everything works in v0.6.0? That would help narrow it down. |
I have the same problem |
Same problem with v0.6.1 here. Went back to v0.6.0 and it works. |
|
Yes, v0.6.0 works. |
Hi, |
For me v0.6.1 did not work anymore after restart. I'm still back on v0.6.0. |
This should be fixed in https://github.com/signalkraft/mypyllant-component/releases/tag/v0.6.2 |
Great, it works! Many thanks! |
This error originated from a custom integration. Logger: custom_components.mypyllant.config_flow Unexpected exception |
Hello, i've got exactly the same ( In Dutch) as mariandodu: Deze fout is ontstaan door een aangepaste integratie. Logger: custom_components.mypyllant.config_flow Unexpected exception |
Could you test with the latest release and let me know if this persists? Also, does this error affect the functionality at all? Or does everything work despite the error? |
HI, thank you, however did not help, still an Unexpected Error came.
|
I looked at the code again, that should only happen if you've previously configured the integration with the same username. Is that the case? Can you maybe delete it and try again if it is? |
Are you still facing this issue? |
Hello! I still can't use the integration! I tried a thousand times to reinstall!! Even if I succeed, at the first restart everything disappears! I only see "No devices or entities"! However, if I go to the Developer tool and give services "myVAILLANT: Generate Test Data" data appears!!homes: - homeName: 00e8b403e3af809c2ec2aa7012bba544b3ebb79b serialNumber: dfaae875bb38e5aa0f64d0bf4c8655e4cd74fab5 systemId: fb485db081728b63bf9edaa18fdff2782505ee9a productMetadata: productType: VR921 productionYear: "21" productionWeek: "29" articleNumber: "0020260964" state: CLAIMED migrationState: FINISHED onlineState: ONLINE firmware: version: 0357.40.33 updateEnabled: true updateRequired: false nomenclature: VR 921 cag: false countryCode: RO productInformation: VR921 firmwareVersion: 0357.40.33fb485db081728b63bf9edaa18fdff2782505ee9a: control_identifier: controlIdentifier: tli time_zone: timeZone: Asia/Dubai diagnostic_trouble_codes: - serialNumber: 419c91567a9162e7ffa7bb60c47a082c6986de52 articleNumber: "0020262191" codes: [] - serialNumber: 798cb3c32cf26f955235a359c6f80ee0a8d602f3 articleNumber: "0010024601" codes: [] - serialNumber: dfaae875bb38e5aa0f64d0bf4c8655e4cd74fab5 articleNumber: "0020260964" codes: [] connection_status: connected: true system: state: system: outdoorTemperature: 2.25 systemWaterPressure: 1.6 outdoorTemperatureAverage24h: 0 zones: - index: 0 desiredRoomTemperatureSetpointHeating: 20 desiredRoomTemperatureSetpoint: 20 currentRoomTemperature: 20.1875 currentSpecialFunction: NONE heatingState: IDLE circuits: - index: 0 circuitState: HEATING currentCircuitFlowTemperature: 61 heatingCircuitFlowSetpoint: 47.017685 calculatedEnergyManagerState: HEATING_ACTIVE dhw: - index: 255 currentSpecialFunction: REGULAR currentDhwTemperature: 49.5 properties: system: controllerType: VRT380 systemScheme: 1 backupHeaterType: CONDENSING backupHeaterAllowedFor: DHW_AND_HEATING moduleConfigurationVR71: 3 energyProvidePowerCutBehavior: DISABLE_HEATPUMP_AND_BACKUP_HEATER zones: - index: 0 isActive: true zoneBinding: CENTRAL_CONTROL isCoolingAllowed: false associatedCircuitIndex: 0 circuits: - index: 0 mixerCircuitTypeExternal: HEATING heatingCircuitType: DIRECT_HEATING_CIRCUIT isCoolingAllowed: false dhw: - index: 255 minSetpoint: 35 maxSetpoint: 70 configuration: system: continuousHeatingStartSetpoint: -26 alternativePoint: -21 heatingCircuitBivalencePoint: 0 dhwBivalencePoint: -7 automaticCoolingOnOff: false adaptiveHeatingCurve: false dhwMaximumLoadingTime: 60 dhwHysteresis: 5 dhwFlowSetpointOffset: 25 continuousHeatingRoomSetpoint: 20 hybridControlStrategy: TRIVAI maxFlowSetpointHpError: 25 dhwMaximumTemperature: 80 maximumPreheatingTime: 0 paralellTankLoadingAllowed: false zones: - index: 0 general: name: Zone 1 holidayStartDateTime: "2019-01-01T00:00:00Z" holidayEndDateTime: "2019-01-01T00:00:00Z" heating: operationModeHeating: MANUAL setBackTemperature: 25 manualModeSetpointHeating: 20 timeProgramHeating: metaInfo: minSlotsPerDay: 0 maxSlotsPerDay: 12 setpointRequiredPerSlot: true monday: - startTime: 360 endTime: 540 setpoint: 21 - startTime: 1080 endTime: 1260 setpoint: 21 tuesday: - startTime: 360 endTime: 540 setpoint: 21 - startTime: 1080 endTime: 1260 setpoint: 21 wednesday: - startTime: 360 endTime: 540 setpoint: 21 - startTime: 1080 endTime: 1260 setpoint: 21 thursday: - startTime: 360 endTime: 540 setpoint: 21 - startTime: 1080 endTime: 1260 setpoint: 21 friday: - startTime: 360 endTime: 540 setpoint: 21 - startTime: 1080 endTime: 1260 setpoint: 21 saturday: - startTime: 480 endTime: 660 setpoint: 21 sunday: - startTime: 480 endTime: 660 setpoint: 21 circuits: - index: 0 heatingCurve: 1.2 heatingFlowTemperatureMinimumSetpoint: 15 heatingFlowTemperatureMaximumSetpoint: 90 heatDemandLimitedByOutsideTemperature: 21 heatingCircuitFlowSetpointExcessOffset: 0 coolingFlowTemperatureMinimumSetpoint: 20 setBackModeEnabled: false roomTemperatureControlMode: NON dhw: - index: 255 operationModeDhw: MANUAL tappingSetpoint: 50 holidayStartDateTime: "2019-01-01T00:00:00Z" holidayEndDateTime: "2019-01-01T00:00:00Z" timeProgramDhw: metaInfo: minSlotsPerDay: 0 maxSlotsPerDay: 3 setpointRequiredPerSlot: false monday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 tuesday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 wednesday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 thursday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 friday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 saturday: - startTime: 480 endTime: 660 sunday: - startTime: 480 endTime: 660 timeProgramCirculationPump: metaInfo: minSlotsPerDay: 0 maxSlotsPerDay: 3 setpointRequiredPerSlot: false monday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 tuesday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 wednesday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 thursday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 friday: - startTime: 360 endTime: 540 - startTime: 1080 endTime: 1260 saturday: - startTime: 480 endTime: 660 sunday: - startTime: 480 endTime: 660 current_system: system_type: BOILER_OR_ELECTRIC_HEATER has_emf_capable_devices: true primary_heat_generator: device_uuid: b0d3caa5a33bbf447a6a801e34b6d890621021ac ebus_id: BAI00 spn: 376 bus_coupler_address: 0 article_number: "0010024601" emfValid: true device_serial_number: 798cb3c32cf26f955235a359c6f80ee0a8d602f3 device_type: BOILER first_data: "2020-02-23T23:20:49Z" last_data: "2024-02-24T01:06:54Z" data: - operation_mode: DOMESTIC_HOT_WATER value_type: CONSUMED_ELECTRICAL_ENERGY calculated: false from: "2020-02-23T23:20:49Z" to: "2024-02-24T01:06:54Z" - operation_mode: HEATING value_type: CONSUMED_ELECTRICAL_ENERGY calculated: false from: "2020-02-23T23:20:49Z" to: "2024-02-24T01:06:54Z" - operation_mode: DOMESTIC_HOT_WATER value_type: CONSUMED_PRIMARY_ENERGY calculated: false from: "2020-02-23T23:20:49Z" to: "2024-02-24T01:06:54Z" - operation_mode: HEATING value_type: CONSUMED_PRIMARY_ENERGY calculated: false from: "2020-02-23T23:20:49Z" to: "2024-02-24T01:06:53Z" product_name: VU 30CS/1-5 (N-INT2) ecoTEC plus secondary_heat_generators: [] electric_backup_heater: null solar_station: null ventilation: null gateway: null mpc: devices: [] rts: statistics: [] device_buckets: startDate: "2024-02-23T00:00:00Z" endDate: "2024-02-24T00:00:00Z" resolution: HOUR operationMode: DOMESTIC_HOT_WATER energyType: CONSUMED_ELECTRICAL_ENERGY totalConsumption: 348.58799551524726 data: - startDate: "2024-02-23T00:00:00Z" endDate: "2024-02-23T01:00:00Z" value: 11.87369864024729 - startDate: "2024-02-23T01:00:00Z" endDate: "2024-02-23T02:00:00Z" value: 11.940000000000001 - startDate: "2024-02-23T02:00:00Z" endDate: "2024-02-23T03:00:00Z" value: 12.162343750000002 - startDate: "2024-02-23T03:00:00Z" endDate: "2024-02-23T04:00:00Z" value: 22.931953125 - startDate: "2024-02-23T04:00:00Z" endDate: "2024-02-23T05:00:00Z" value: 13.694296875 - startDate: "2024-02-23T05:00:00Z" endDate: "2024-02-23T06:00:00Z" value: 10.90203125 - startDate: "2024-02-23T06:00:00Z" endDate: "2024-02-23T07:00:00Z" value: 15.613906249999998 - startDate: "2024-02-23T07:00:00Z" endDate: "2024-02-23T08:00:00Z" value: 12.447265625 - startDate: "2024-02-23T08:00:00Z" endDate: "2024-02-23T09:00:00Z" value: 23.637890625 - startDate: "2024-02-23T09:00:00Z" endDate: "2024-02-23T10:00:00Z" value: 14.107578125 - startDate: "2024-02-23T10:00:00Z" endDate: "2024-02-23T11:00:00Z" value: 12.364626427554846 - startDate: "2024-02-23T11:00:00Z" endDate: "2024-02-23T12:00:00Z" value: 12.040380757600753 - startDate: "2024-02-23T12:00:00Z" endDate: "2024-02-23T13:00:00Z" value: 11.115383439844402 - startDate: "2024-02-23T13:00:00Z" endDate: "2024-02-23T14:00:00Z" value: 11.152109375 - startDate: "2024-02-23T14:00:00Z" endDate: "2024-02-23T15:00:00Z" value: 21.0728125 - startDate: "2024-02-23T15:00:00Z" endDate: "2024-02-23T16:00:00Z" value: 13.216027514058595 - startDate: "2024-02-23T16:00:00Z" endDate: "2024-02-23T17:00:00Z" value: 13.112377229446546 - startDate: "2024-02-23T17:00:00Z" endDate: "2024-02-23T18:00:00Z" value: 15.214017131494861 - startDate: "2024-02-23T18:00:00Z" endDate: "2024-02-23T19:00:00Z" value: 18.815156249999998 - startDate: "2024-02-23T19:00:00Z" endDate: "2024-02-23T20:00:00Z" value: 21.503984375 - startDate: "2024-02-23T20:00:00Z" endDate: "2024-02-23T21:00:00Z" value: 15.809296875000001 - startDate: "2024-02-23T21:00:00Z" endDate: "2024-02-23T22:00:00Z" value: 11.643359375 - startDate: "2024-02-23T22:00:00Z" endDate: "2024-02-23T23:00:00Z" value: 11.133984375 - startDate: "2024-02-23T23:00:00Z" endDate: "2024-02-24T00:00:00Z" value: 11.083515625Trimis de pe iPad‑ul meuPe 23 feb. 2024, la 23:22, signalkraft ***@***.***> a scris:
Are you still facing this issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
This error originated from a custom integration.Logger: custom_components.mypyllantSource: helpers/update_coordinator.py:313Integration: myVAILLANT (documentation, issues)First occurred: 5:21:43 AM (2 occurrences)Last logged: 5:21:43 AMUnexpected error fetching myVAILLANT data: 'types.UnionType' object has no attribute '__origin__'Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 22, in extract_origin_collection return collection.__extra__ ^^^^^^^^^^^^^^^^^^^^AttributeError: 'types.UnionType' object has no attribute '__extra__'. Did you mean: '__str__'?During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/__init__.py", line 350, in _async_update_data data = [ ^ File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 327, in get_systems async for home in homes: File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 301, in get_homes yield Home.from_api(timezone=timezone, **home_json) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 69, in from_api return from_dict( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 64, in from_dict value = _build_value(type_=field_type, data=field_data, config=config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 101, in _build_value if is_subclass(type_, cast_type): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 168, in is_subclass if is_generic_collection(sub_type): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 147, in is_generic_collection origin = extract_origin_collection(type_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 24, in extract_origin_collection return collection.__origin__ ^^^^^^^^^^^^^^^^^^^^^AttributeError: 'types.UnionType' object has no attribute '__origin__'Trimis de pe iPad‑ul meuPe 23 feb. 2024, la 23:22, signalkraft ***@***.***> a scris:
Are you still facing this issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Check #54 please |
Hi
when I enter the myVaillant credentials
I got this error
Could you help me, please?
myPyllant v0.6.1
The text was updated successfully, but these errors were encountered: