mypyllant-component icon indicating copy to clipboard operation
mypyllant-component copied to clipboard

Unexpected error fetching myVAILLANT data

Open Krzysztonek opened this issue 1 year ago • 4 comments

Before submitting a new issue

Problem description

Unexpected error fetching myVAILLANT data

Logs

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 954, in from_api
    DomesticHotWater.from_api(
  File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 575, in from_api
    data["current_special_function"] = DHWCurrentSpecialFunctionVRC700(
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 757, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 1171, in __new__
    raise ve_exc
ValueError: 'ONE_DAY_BANK_HOLIDAY' is not a valid DHWCurrentSpecialFunctionVRC700

Krzysztonek avatar Oct 08 '24 22:10 Krzysztonek

I am also experiencing the exact same issue.

dcw77 avatar Oct 09 '24 07:10 dcw77

I have the same issue as well just different variables.

electricfire avatar Oct 09 '24 07:10 electricfire

same problem

rhgiter avatar Oct 09 '24 07:10 rhgiter

Same Here

aurelieng2009 avatar Oct 09 '24 08:10 aurelieng2009

Same here - all entities became unavailable since 7.16am UK time this morning. myVaillant App is still working fine.

Seliaks65 avatar Oct 09 '24 08:10 Seliaks65

2024-10-09 07:17:21.644 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: 404, message='Not Found', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/____/tli'
2024-10-09 07:23:22.242 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 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
    Zone.from_api(
  File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 430, in from_api
    data["cooling"] = ZoneCooling.from_api(
                      ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/myPyllant/models.py", line 326, in from_api
    **data["time_program_cooling"]
      ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'time_program_cooling'

Seemingly same here but with a slightly different error

Xerbo avatar Oct 09 '24 09:10 Xerbo

KeyError: 'time_program_cooling'


Seemingly same here but with a slightly different error

same error here. Looks like it started today at 08:30

jan666 avatar Oct 09 '24 09:10 jan666

Same here. Maybe an api issue on Vaillant side… both app and thermostats are up and running.

ecranbleu27 avatar Oct 09 '24 09:10 ecranbleu27

Exactly the same here.

nakedfoot avatar Oct 09 '24 09:10 nakedfoot

The same here

dardennejf avatar Oct 09 '24 09:10 dardennejf

I'll join the list too!

Merseybear avatar Oct 09 '24 09:10 Merseybear

Me too

mgiesl2s avatar Oct 09 '24 09:10 mgiesl2s

Same here since 08:15..

R1200G avatar Oct 09 '24 09:10 R1200G

me too

Richardstables avatar Oct 09 '24 10:10 Richardstables

same here since 8:16 CET but official phone app is starting but if i click on 1 VR50, i get "unknown error, please try again later"

lecocqe avatar Oct 09 '24 10:10 lecocqe

Ditto - looks to me like a possible change to the API as MyVailliant App is still functioning as expected today

jstott1070 avatar Oct 09 '24 10:10 jstott1070

now app is back. but intregation not yet

lecocqe avatar Oct 09 '24 10:10 lecocqe

Same issue here

hkcrainer avatar Oct 09 '24 10:10 hkcrainer

same here :( app is working fine thow.

h4wk1234 avatar Oct 09 '24 10:10 h4wk1234

the most strange is that i could do "call service" test data image

lecocqe avatar Oct 09 '24 10:10 lecocqe

Since 8:16 no more data (Netherlands)

sgbossinga avatar Oct 09 '24 11:10 sgbossinga

I also have the same problem. Interestingly, at the same time, Home Assistant recognised MyVaillant Connect Gateway as a HomeKit device. Could be a coincidence, since I also update Home Assistant yesteday.

grahamsparrow-8451 avatar Oct 09 '24 11:10 grahamsparrow-8451

Does someone already try to contact [API-support@vaillant-group,com] ?

ecranbleu27 avatar Oct 09 '24 11:10 ecranbleu27

Same here

MSGH11 avatar Oct 09 '24 11:10 MSGH11

same here...

Voyager08 avatar Oct 09 '24 12:10 Voyager08

Ditto, same errors here, app still working fine.

Cameleon99 avatar Oct 09 '24 12:10 Cameleon99

Push...same

Acey-yo avatar Oct 09 '24 12:10 Acey-yo

Same problem here i DK 08:17:06

Shortykiller avatar Oct 09 '24 13:10 Shortykiller

Same issue from my side no Data i deinstall install the latest vesion again. NO Data can grab. Android App is already working...

nady2804 avatar Oct 09 '24 13:10 nady2804

Paging @signalkraft as this seems pretty major as this integration goes. Guessing Vaillant has changed some data on their side.

I can also call the service/action - Generate Test Data - and it returns what looks to be the correct data, I assume parsing it is failing somewhere now?

Cameleon99 avatar Oct 09 '24 13:10 Cameleon99