signalkraft / mypyllant-component

Home Assistant component for the myVAILLANT API, controls Vaillant devices such as aroTHERM heatpumps and ecoTEC boilers
https://signalkraft.com/mypyllant-component/
MIT License
142 stars 22 forks source link

Warning: No daily data, skipping sensors #209

Open mzaufl opened 2 months ago

mzaufl commented 2 months ago

Before submitting a new issue

Problem description

During HA-start, the following warning will be logged:

Logger: custom_components.mypyllant.sensor Quelle: custom_components/mypyllant/sensor.py:223 Integration: myVAILLANT (Dokumentation, Probleme) Erstmals aufgetreten: 07:20:35 (1 Vorkommnisse) Zuletzt protokolliert: 07:20:35

No daily data, skipping sensors

Logs

2024-09-12 08:24:06.133 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to listdir with args ('/config/deps/lib/python3.12/site-packages',) inside the event loop by custom integration 'mypyllant' at custom_components/mypyllant/__init__.py, line 90: version("myPyllant"), (offender: /usr/local/lib/python3.12/importlib/metadata/__init__.py, line 680: return os.listdir(self.root or '.')), please create a bug report at https://github.com/signalkraft/mypyllant-component/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#listdir
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
result = await _async_setup_component(hass, domain, config)
File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
create_eager_task(
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
return Task(coro, loop=loop, name=name, eager_start=True)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
await self.async_setup(hass, integration=integration)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mypyllant/__init__.py", line 90, in async_setup_entry
version("myPyllant"),
2024-09-12 08:24:06.170 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to read_text with args (PosixPath('/usr/local/lib/python3.12/site-packages/mypyllant-0.8.26.dist-info/METADATA'),) inside the event loop by custom integration 'mypyllant' at custom_components/mypyllant/__init__.py, line 90: version("myPyllant"), (offender: /usr/local/lib/python3.12/importlib/metadata/__init__.py, line 819: return self._path.joinpath(filename).read_text(encoding='utf-8')), please create a bug report at https://github.com/signalkraft/mypyllant-component/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#read_text
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
result = await _async_setup_component(hass, domain, config)
File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
create_eager_task(
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
return Task(coro, loop=loop, name=name, eager_start=True)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
await self.async_setup(hass, integration=integration)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mypyllant/__init__.py", line 90, in async_setup_entry
version("myPyllant"),
2024-09-12 08:24:06.208 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args (PosixPath('/usr/local/lib/python3.12/site-packages/mypyllant-0.8.26.dist-info/METADATA'),) inside the event loop by custom integration 'mypyllant' at custom_components/mypyllant/__init__.py, line 90: version("myPyllant"), (offender: /usr/local/lib/python3.12/pathlib.py, line 1027: with self.open(mode='r', encoding=encoding, errors=errors) as f:), please create a bug report at https://github.com/signalkraft/mypyllant-component/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
result = await _async_setup_component(hass, domain, config)
File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
create_eager_task(
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
return Task(coro, loop=loop, name=name, eager_start=True)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
await self.async_setup(hass, integration=integration)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mypyllant/__init__.py", line 90, in async_setup_entry
version("myPyllant"),
2024-09-12 08:24:06.234 DEBUG (MainThread) [custom_components.mypyllant] Starting mypyllant component v0.8.13 (library 0.8.26) with homeassistant 2024.9.1, pydantic 1.10.17, and aiohttp 3.10.5
2024-09-12 08:24:06.235 DEBUG (MainThread) [custom_components.mypyllant] Creating API and logging in with  in realm austria
2024-09-12 08:24:06.239 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/protocol/openid-connect/auth?response_type=code&client_id=myvaillant&code=code_challenge&redirect_uri=enduservaillant.page.link://login&code_challenge_method=S256&code_challenge=iJIUII4BUK9GiR002WVORTGkn-fgFsSfzaWbMsUKvbw
2024-09-12 08:24:06.882 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/protocol/openid-connect/auth?response_type=code&client_id=myvaillant&code=code_challenge&redirect_uri=enduservaillant.page.link://login&code_challenge_method=S256&code_challenge=iJIUII4BUK9GiR002WVORTGkn-fgFsSfzaWbMsUKvbw: <!DOCTYPE html>
<html class="" lang="de-AT">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<script>
if (document.documentElement && document.documentElement.style && document.documentElement.style.setProperty) {
document.documentElement.style.setProperty('--vh', '' + (window.innerHeight * 0.01) + 'px');
}
</script><title>Anmeldung bei Vaillant Österreich</title>
<link rel="apple-touch-icon" sizes="180x180" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/favicon-16x16.png">
<link rel="manifest" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/site.webmanifest">
<link rel="mask-icon" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/safari-pinned-tab.svg"
color="#00917e">
<link rel="shortcut icon" href="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/favicon.ico">
<meta name="msapplication-TileColor" content="#00917e">
<meta name="msapplication-config" content="/auth/resources/wsjm9/login/vaillant-austria-b2c/favicons/va/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link href="/auth/resources/wsjm9/login/vaillant-austria-b2c/3742/css/login.css" rel="stylesheet" />
<link href="/auth/resources/wsjm9/login/vaillant-austria-b2c/3742/css/brand-vaillant-b2c.css" rel="stylesheet" />
<script src="/auth/resources/wsjm9/login/vaillant-austria-b2c/3742/js/login.js" type="text/javascript"></script>
<script src="/auth/resources/wsjm9/login/vaillant-austria-b2c/js/menu-button-links.js" type="module"></script>
<script type="module">
import { checkCookiesAndSetTimer } from "/auth/resources/wsjm9/login/vaillant-austria-b2c/js/authChecker.js";
checkCookiesAndSetTimer(
"fb13dc45-f998-4edb-9641-d88b42d2e2d9",
"fxH-oPhnCoE",
"/auth/realms/vaillant-austria-b2c/login-actions/restart?client_id=myvaillant&tab_id=fxH-oPhnCoE&skip_logout=true"
);
</script>
</head>
<body class="vaillant-austria-b2c theme-b2c">
<div class="main-content">
<div id="kc-header" class="">
<div id="kc-header-wrapper"
class="">Vaillant Österreich</div>
</div>
<div class="main-box">
<header class="">
<h1 id="kc-page-title">
Mit Ihrem Login anmelden
</h1>
</header>
<div id="kc-content">
<div id="kc-content-wrapper">
<div id="kc-form">
<div id="kc-form-wrapper">
<form id="kc-form-login" onsubmit="login.disabled = true; return true;" action="https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/login-actions/authenticate?session_code=mjnMExOoxH2baa6p1L63D8q0JDsRAWvK5vuFN1MtMZU&amp;execution=19d6f099-6748-4e29-9821-cedac4a268ab&amp;client_id=myvaillant&amp;tab_id=fxH-oPhnCoE" method="post">
<div class="form-group">
<label for="username" class="">E-Mail</label>
<input tabindex="2" id="username" placeholder="" class="" name="username" value="" type="email" autofocus autocomplete="username"
aria-invalid=""
/>
</div>
<div class="form-group">
<label for="password" class="">Passwort</label>
<div class="">
<input tabindex="3" id="password" placeholder="" class="" name="password" type="password" autocomplete="current-password"
aria-invalid=""
/>
<button class="show-password" type="button" aria-label="Show password"
aria-controls="password" data-password-toggle tabindex="4"
data-icon-show="opened-eye" data-icon-hide="closed-eye"
data-label-show="Show password" data-label-hide="Hide password">
<i class="opened-eye" aria-hidden="true"></i>
</button>
</div>
</div>
<div class="form-group form-settings">
<div id="kc-form-options">
</div>
<div class="form-options-wrapper">
<span><a id="reset-password" tabindex="6"
href="/auth/realms/vaillant-austria-b2c/login-actions/reset-credentials?client_id=myvaillant&amp;tab_id=fxH-oPhnCoE">Passwort zurücksetzen</a></span>
</div>
</div>
<div id="kc-form-buttons" class="form-group">
<input type="hidden" id="id-hidden-input" name="credentialId" />
<input tabindex="7" class=" " name="login" id="kc-login" type="submit" value="Anmelden"/>
</div>
</form>
</div>
</div>
<script type="module" src="/auth/resources/wsjm9/login/vaillant-austria-b2c/js/passwordVisibility.js"></script>
</div>
</div>
</div>
<div class="cookie-notice"><div>Cookie konnte nicht gefunden werden. Bitte stellen Sie sicher, dass Cookies in Ihrem Browser aktiviert sind.</div></div>
<footer>
<ul>
<li>
<a href='https://myvaillant.com/vaillant-pp.html?lang=de_AT' target="_blank">Datenschutzerklärung</a>
</li>
<li>
<a href='https://myvaillant.com/vaillant-tac.html?lang=de_AT' target="_blank">Nutzungsbedingungen und Konditionen</a>
</li>
</ul>
<span class="support-id">Support ID: 92760bd7e9b2f90a312567806640276d</span>
</footer>
</div></body>
</html>
2024-09-12 08:24:06.883 DEBUG (MainThread) [myPyllant.api] Got login url https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/login-actions/authenticate?session_code=mjnMExOoxH2baa6p1L63D8q0JDsRAWvK5vuFN1MtMZU&execution=19d6f099-6748-4e29-9821-cedac4a268ab&client_id=myvaillant&tab_id=fxH-oPhnCoE
2024-09-12 08:24:06.884 DEBUG (MainThread) [myPyllant.http_client] Starting POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/login-actions/authenticate?session_code=mjnMExOoxH2baa6p1L63D8q0JDsRAWvK5vuFN1MtMZU&execution=19d6f099-6748-4e29-9821-cedac4a268ab&client_id=myvaillant&tab_id=fxH-oPhnCoE
2024-09-12 08:24:06.886 DEBUG (MainThread) [myPyllant.http_client] Sending POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/login-actions/authenticate?session_code=mjnMExOoxH2baa6p1L63D8q0JDsRAWvK5vuFN1MtMZU&execution=19d6f099-6748-4e29-9821-cedac4a268ab&client_id=myvaillant&tab_id=fxH-oPhnCoE with b'username=&credentialId='
2024-09-12 08:24:08.743 DEBUG (MainThread) [myPyllant.http_client] Got response for POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/login-actions/authenticate?session_code=mjnMExOoxH2baa6p1L63D8q0JDsRAWvK5vuFN1MtMZU&execution=19d6f099-6748-4e29-9821-cedac4a268ab&client_id=myvaillant&tab_id=fxH-oPhnCoE:
2024-09-12 08:24:08.743 DEBUG (MainThread) [myPyllant.api] Got login response headers <CIMultiDictProxy('Date': 'Thu, 12 Sep 2024 06:24:08 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'Set-Cookie': 'INGRESSCOOKIE=1726122247.918.709.983279|688ad7bf33e0f65c8d5d0fc7a4cb047c; Path=/auth(?!/(admin|metrics|realms/master|realms/[^\\/]+/user-account/clean-up|realms/[^\\/]+/activation/.*).*)/; HttpOnly', 'Cache-Control': 'no-store, must-revalidate, max-age=0', 'Set-Cookie': 'KC_RESTART=;Version=1;Path=/auth/realms/vaillant-austria-b2c/;Max-Age=0', 'Set-Cookie': 'KEYCLOAK_IDENTITY=eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3MThmMjg4NC1jNjJhLTQ0NjQtOGFmZS0yOWY5MDZjMWM3NjcifQ.eyJleHAiOjE3MjYxNTgyNDgsImlhdCI6MTcyNjEyMjI0OCwianRpIjoiYzlhMDU5ZjYtNzAxNy00Mjk2LThlODgtZjQ0ZTAyNTMwNDc3IiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS52YWlsbGFudC1ncm91cC5jb20vYXV0aC9yZWFsbXMvdmFpbGxhbnQtYXVzdHJpYS1iMmMiLCJzdWIiOiI3ZTc0MjdkNS00NzFkLTQyZTgtOTQyOC1kNmUzYWUzYTEwZjYiLCJ0eXAiOiJTZXJpYWxpemVkLUlEIiwic2Vzc2lvbl9zdGF0ZSI6ImZiMTNkYzQ1LWY5OTgtNGVkYi05NjQxLWQ4OGI0MmQyZTJkOSIsInNpZCI6ImZiMTNkYzQ1LWY5OTgtNGVkYi05NjQxLWQ4OGI0MmQyZTJkOSIsInN0YXRlX2NoZWNrZXIiOiJTUkVfb2ZlQ2RNUTdTSEg5aHhDaFliS2ktZHU1cF96ZzRiR19Lc0w5emF3In0._Qk69QGYgIp9LUbApb5ida0AyCG9tCPw6LGcaU2s_9_u13fHX0EupThiY0NYnKifKU0cFitQvQbwhaYW6rut2w;Version=1;Path=/auth/realms/vaillant-austria-b2c/;Secure;HttpOnly;SameSite=None', 'Set-Cookie': 'KEYCLOAK_IDENTITY_LEGACY=eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI3MThmMjg4NC1jNjJhLTQ0NjQtOGFmZS0yOWY5MDZjMWM3NjcifQ.eyJleHAiOjE3MjYxNTgyNDgsImlhdCI6MTcyNjEyMjI0OCwianRpIjoiYzlhMDU5ZjYtNzAxNy00Mjk2LThlODgtZjQ0ZTAyNTMwNDc3IiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS52YWlsbGFudC1ncm91cC5jb20vYXV0aC9yZWFsbXMvdmFpbGxhbnQtYXVzdHJpYS1iMmMiLCJzdWIiOiI3ZTc0MjdkNS00NzFkLTQyZTgtOTQyOC1kNmUzYWUzYTEwZjYiLCJ0eXAiOiJTZXJpYWxpemVkLUlEIiwic2Vzc2lvbl9zdGF0ZSI6ImZiMTNkYzQ1LWY5OTgtNGVkYi05NjQxLWQ4OGI0MmQyZTJkOSIsInNpZCI6ImZiMTNkYzQ1LWY5OTgtNGVkYi05NjQxLWQ4OGI0MmQyZTJkOSIsInN0YXRlX2NoZWNrZXIiOiJTUkVfb2ZlQ2RNUTdTSEg5aHhDaFliS2ktZHU1cF96ZzRiR19Lc0w5emF3In0._Qk69QGYgIp9LUbApb5ida0AyCG9tCPw6LGcaU2s_9_u13fHX0EupThiY0NYnKifKU0cFitQvQbwhaYW6rut2w;Version=1;Path=/auth/realms/vaillant-austria-b2c/;Secure;HttpOnly', 'Set-Cookie': 'KEYCLOAK_SESSION="vaillant-austria-b2c/7e7427d5-471d-42e8-9428-d6e3ae3a10f6/fb13dc45-f998-4edb-9641-d88b42d2e2d9";Version=1;Path=/auth/realms/vaillant-austria-b2c/;Max-Age=36000;Secure;SameSite=None', 'Set-Cookie': 'KEYCLOAK_SESSION_LEGACY="vaillant-austria-b2c/7e7427d5-471d-42e8-9428-d6e3ae3a10f6/fb13dc45-f998-4edb-9641-d88b42d2e2d9";Version=1;Path=/auth/realms/vaillant-austria-b2c/;Max-Age=36000;Secure', 'Content-Security-Policy': "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", 'Location': 'enduservaillant.page.link://login?session_state=fb13dc45-f998-4edb-9641-d88b42d2e2d9&iss=https%3A%2F%2Fidentity.vaillant-group.com%2Fauth%2Frealms%2Fvaillant-austria-b2c&code=4a21c65c-8dd3-4749-9ec4-85a2e62edaaf.fb13dc45-f998-4edb-9641-d88b42d2e2d9.3c97156b-2891-41f0-b86e-6b7592073b5b', 'Referrer-Policy': 'no-referrer', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Robots-Tag': 'none', 'X-XSS-Protection': '1; mode=block')>
2024-09-12 08:24:08.744 DEBUG (MainThread) [myPyllant.api] Got location from authorize endpoint: enduservaillant.page.link://login?session_state=fb13dc45-f998-4edb-9641-d88b42d2e2d9&iss=https%3A%2F%2Fidentity.vaillant-group.com%2Fauth%2Frealms%2Fvaillant-austria-b2c&code=4a21c65c-8dd3-4749-9ec4-85a2e62edaaf.fb13dc45-f998-4edb-9641-d88b42d2e2d9.3c97156b-2891-41f0-b86e-6b7592073b5b
2024-09-12 08:24:08.746 DEBUG (MainThread) [myPyllant.http_client] Starting POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/protocol/openid-connect/token
2024-09-12 08:24:08.747 DEBUG (MainThread) [myPyllant.http_client] Sending POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/protocol/openid-connect/token with b'grant_type=authorization_code&client_id=myvaillant&code=4a21c65c-8dd3-4749-9ec4-85a2e62edaaf.fb13dc45-f998-4edb-9641-d88b42d2e2d9.3c97156b-2891-41f0-b86e-6b7592073b5b&code_verifier=0JZCkra4knZ2myKiPBwc1ht80RnRHbk0Ces8fv7RP2CXzDvo4OrHN8LJEoW3ehDkqdk2I35717CKYk1QZJvX4vFh9rALNqv9YhsxfHFh4ZJTuNlSm862RoBcPsjiBxzQ&redirect_uri=enduservaillant.page.link%3A%2F%2Flogin'
2024-09-12 08:24:08.967 DEBUG (MainThread) [myPyllant.http_client] Got response for POST to https://identity.vaillant-group.com/auth/realms/vaillant-austria-b2c/protocol/openid-connect/token: {"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJSc1g3YkJrZjNuTk5rX2taYzBac2RoSXJsOU5sR2pUTlh2Q0NNbVpOeVZVIn0.eyJleHAiOjE3MjYxMjI1NDgsImlhdCI6MTcyNjEyMjI0OCwiYXV0aF90aW1lIjoxNzI2MTIyMjQ4LCJqdGkiOiI2NTUyYzlkNy0xZjNkLTRmNjEtOWJjMy05ZDJkMjQzMDcyMDciLCJpc3MiOiJodHRwczovL2lkZW50aXR5LnZhaWxsYW50LWdyb3VwLmNvbS9hdXRoL3JlYWxtcy92YWlsbGFudC1hdXN0cmlhLWIyYyIsInN1YiI6IjdlNzQyN2Q1LTQ3MWQtNDJlOC05NDI4LWQ2ZTNhZTNhMTBmNiIsInR5cCI6IkJlYXJlciIsImF6cCI6Im15dmFpbGxhbnQiLCJzZXNzaW9uX3N0YXRlIjoiZmIxM2RjNDUtZjk5OC00ZWRiLTk2NDEtZDg4YjQyZDJlMmQ5IiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwczovL2VuZHVzZXJ2YWlsbGFudC5wYWdlLmxpbmsiLCJodHRwczovL3ZnLWlvdC1maXJlYmFzZS53ZWIuYXBwIl0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsImRlZmF1bHQtcm9sZXMtdmFpbGxhbnQtYXVzdHJpYS1iMmMiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwic2NvcGUiOiJvZmZsaW5lX2FjY2VzcyBlbWFpbCBwcm9maWxlIiwic2lkIjoiZmIxM2RjNDUtZjk5OC00ZWRiLTk2NDEtZDg4YjQyZDJlMmQ5Iiwic2FsZXNmb3JjZUNvbnRhY3RJZCI6IjAwMz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AuY29tL2F1dGgvcmVhbG1zL3ZhaWxsYW50LWF1c3RyaWEtYjJjIiwiYXVkIjoiaHR0cHM6Ly9pZGVudGl0eS52YWlsbGFudC1ncm91cC5jb20vYXV0aC9yZWFsbXMvdmFpbGxhbnQtYXVzdHJpYS1iMmMiLCJzdWIiOiI3ZTc0MjdkNS00NzFkLTQyZTgtOTQyOC1kNmUzYWUzYTEwZjYiLCJ0eXAiOiJPZmZsaW5lIiwiYXpwIjoibXl2YWlsbGFudCIsInNlc3Npb25fc3RhdGUiOiJmYjEzZGM0NS1mOTk4LTRlZGItOTY0MS1kODhiNDJkMmUyZDkiLCJzY29wZSI6Im9mZmxpbmVfYWNjZXNzIGVtYWlsIHByb2ZpbGUiLCJzaWQiOiJmYjEzZGM0NS1mOTk4LTRlZGItOTY0MS1kODhiNDJkMmUyZDkifQ.lJoJaXcLxAhll3_dq1t3wahP3um9zBGZDb31AECwYU7aQExtOR2VkHSvIqxnRXx-d3ciTS26ng263CXCU0m3RQ","token_type":"Bearer","not-before-policy":0,"session_state":"fb13dc45-f998-4edb-9641-d88b42d2e2d9","scope":"offline_access email profile"}
2024-09-12 08:24:08.967 DEBUG (MainThread) [myPyllant.api] Got session {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJSc1g3YkJrZjNuTk5rX2taYzBac2RoSXJsOU5sR2pUTlh2Q0NNbVpOeVZVIn0.eyJleHAiOjE3MjYxMjI1NDgsImlhdCI6MTcyNjEyMjI0OCwiYXV0aF90aW1lIjoxNzI2MTIyMjQ4LCJqdGkiOiI2NTUyYzlkNy0xZjNkLTRmNjEtOWJjMy05ZDJkMjQzMDcyMDciLCJpc3MiOiJodHRwczovL2lkZW50aXR5LnZhaWxsYW50LWdyb3VwLmNvbS9hdXRoL3JlYWxtcy92YWlsbGFudC1hdXN0cmlhLWIyYyIsInN1YiI6IjdlNzQyN2Q1LTQ3MWQtNDJlOC05NDI4LWQ2ZTNhZTNhMTBmN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d3ciTS26ng263CXCU0m3RQ', 'token_type': 'Bearer', 'not-before-policy': 0, 'session_state': 'fb13dc45-f998-4edb-9641-d88b42d2e2d9', 'scope': 'offline_access email profile'}
2024-09-12 08:24:08.968 DEBUG (MainThread) [myPyllant.api] Session expires in 2024-09-12 06:29:08.968091+00:00
2024-09-12 08:24:08.969 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator
2024-09-12 08:24:08.970 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for SystemCoordinator
2024-09-12 08:24:08.970 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh for 
2024-09-12 08:24:08.973 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes
2024-09-12 08:24:22.694 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error requesting myVAILLANT data: Cannot connect to host api.vaillant-group.com:443 ssl:default [Connection reset by peer]
2024-09-12 08:24:22.694 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 13.724 seconds (success: False)
2024-09-12 08:24:22.694 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator
2024-09-12 08:24:22.694 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for DailyDataCoordinator
2024-09-12 08:24:22.694 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 106s until token refresh for 
2024-09-12 08:24:22.698 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes
2024-09-12 08:24:26.661 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes: [{"homeName":"Home","address":,"serialNumber":"21241180000155010933035695N3","systemId":"6a1a3de5-3854-4c78-8d5e-12d9fd32a124","productMetadata":{"productType":"VR940F","productionYear":"24","productionWeek":"11","articleNumber":"8000015501"},"state":"CLAIMED","migrationState":null,"migrationFinishedAt":null,"onlineState":"ONLINE","firmware":{"version":"0404.01.21","connectedToOldIoTPlatform":null,"updateEnabled":true,"updateRequired":false},"nomenclature":"VR 940f","cag":true,"countryCode":"AT","productInformation":"VR940F","firmwareVersion":"0404.01.21"}]
2024-09-12 08:24:26.663 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/meta-info/time-zone
2024-09-12 08:24:26.734 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/meta-info/time-zone: {"timeZone":"Europe/Vienna"}
2024-09-12 08:24:26.736 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/meta-info/control-identifier
2024-09-12 08:24:26.799 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/meta-info/control-identifier: {"controlIdentifier":"tli"}
2024-09-12 08:24:26.800 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/tli
2024-09-12 08:24:26.883 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/tli: {"state":{"system":{"systemWaterPressure":1.3,"energyManagerState":"STANDBY","systemOff":false},"zones":[{"index":0,"desiredRoomTemperatureSetpointHeating":0.0,"desiredRoomTemperatureSetpoint":0.0,"currentRoomTemperature":24.5625,"currentSpecialFunction":"NONE","heatingState":"IDLE"}],"circuits":[{"index":0,"circuitState":"STANDBY","currentCircuitFlowTemperature":25.5,"heatingCircuitFlowSetpoint":0.0,"calculatedEnergyManagerState":"HEATING_STANDBY"}],"dhw":[{"index":255,"currentSpecialFunction":"REGULAR","currentDhwTemperature":25.0}]},"properties":{"system":{"controllerType":"VRT380","systemScheme":1,"backupHeaterType":"CONDENSING","backupHeaterAllowedFor":"DHW_AND_HEATING","temporaryAllowBackupHeater":"DISABLED","moduleConfigurationVR71":3,"energyProvidePowerCutBehavior":"DISABLE_HEATPUMP_AND_BACKUP_HEATER","smartPhotovoltaicBufferOffset":10.0,"externalEnergyManagementActivation":false},"zones":[{"index":0,"isActive":true,"zoneBinding":"CENTRAL_CONTROL","isCoolingAllowed":false,"associatedCircuitIndex":0}],"circuits":[{"index":0,"mixerCircuitTypeExternal":"HEATING","heatingCircuitType":"DIRECT_HEATING_CIRCUIT"}],"dhw":[{"index":255,"minSetpoint":35.0,"maxSetpoint":65.0}]},"configuration":{"system":{"continuousHeatingStartSetpoint":-26.0,"alternativePoint":-21.0,"heatingCircuitBivalencePoint":0.0,"dhwBivalencePoint":-7.0,"adaptiveHeatingCurve":false,"dhwMaximumLoadingTime":60,"dhwHysteresis":5.0,"dhwFlowSetpointOffset":25.0,"continuousHeatingRoomSetpoint":20.0,"hybridControlStrategy":"TRIVAI","maxFlowSetpointHpError":25.0,"dhwMaximumTemperature":80.0,"maximumPreheatingTime":0,"paralellTankLoadingAllowed":false},"zones":[{"index":0,"general":{"name":"Zone 1","holidayStartDateTime":"2024-02-25T18:00:00+00:00","holidayEndDateTime":"2024-02-26T18:00:00+00:00","holidaySetpoint":15.0},"heating":{"operationModeHeating":"OFF","setBackTemperature":17.0,"manualModeSetpointHeating":20.0,"timeProgramHeating":{"metaInfo":{"minSlotsPerDay":0,"maxSlotsPerDay":12,"setpointRequiredPerSlot":true},"monday":[{"startTime":320,"endTime":1320,"setpoint":20.0}],"tuesday":[{"startTime":320,"endTime":1320,"setpoint":20.0}],"wednesday":[{"startTime":320,"endTime":1320,"setpoint":20.0}],"thursday":[{"startTime":320,"endTime":1320,"setpoint":20.0}],"friday":[{"startTime":320,"endTime":1320,"setpoint":20.0}],"saturday":[{"startTime":450,"endTime":1320,"setpoint":20.0}],"sunday":[{"startTime":450,"endTime":1320,"setpoint":20.0}]}}}],"circuits":[{"index":0,"heatingCurve":1.2,"heatingFlowTemperatureMinimumSetpoint":15.0,"heatingFlowTemperatureMaximumSetpoint":90.0,"heatDemandLimitedByOutsideTemperature":21.0,"heatingCircuitFlowSetpointExcessOffset":0.0,"setBackModeEnabled":false,"roomTemperatureControlMode":"NON","epsilon":2.0}],"dhw":[{"index":255,"operationModeDhw":"TIME_CONTROLLED","tappingSetpoint":50.0,"holidayStartDateTime":"2019-01-01T00:00:00+00:00","holidayEndDateTime":"2019-01-01T00:00:00+00:00","timeProgramDhw":{"metaInfo":{"minSlotsPerDay":0,"maxSlotsPerDay":3,"setpointRequiredPerSlot":false},"monday":[{"startTime":320,"endTime":1320}],"tuesday":[{"startTime":320,"endTime":1320}],"wednesday":[{"startTime":320,"endTime":1320}],"thursday":[{"startTime":320,"endTime":1320}],"friday":[{"startTime":320,"endTime":1320}],"saturday":[{"startTime":450,"endTime":1320}],"sunday":[{"startTime":450,"endTime":1320}]},"timeProgramCirculationPump":{"metaInfo":{"minSlotsPerDay":0,"maxSlotsPerDay":3,"setpointRequiredPerSlot":false},"monday":[{"startTime":320,"endTime":1320}],"tuesday":[{"startTime":320,"endTime":1320}],"wednesday":[{"startTime":320,"endTime":1320}],"thursday":[{"startTime":320,"endTime":1320}],"friday":[{"startTime":320,"endTime":1320}],"saturday":[{"startTime":450,"endTime":1320}],"sunday":[{"startTime":450,"endTime":1320}]}}]}}
2024-09-12 08:24:26.885 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/emf/v2/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/currentSystem
2024-09-12 08:24:26.970 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/emf/v2/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/currentSystem: {"system_type":"UNKNOWN","has_emf_capable_devices":false,"primary_heat_generator":null,"secondary_heat_generators":[],"electric_backup_heater":null,"solar_station":null,"ventilation":null,"gateway":null}
2024-09-12 08:24:26.971 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/api/v1/ambisense/facilities/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/capability
2024-09-12 08:24:27.053 DEBUG (MainThread) [myPyllant.http_client] Got response for GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/api/v1/ambisense/facilities/6a1a3de5-3854-4c78-8d5e-12d9fd32a124/capability: {"rbrCapable":false}
2024-09-12 08:24:27.055 DEBUG (MainThread) [myPyllant.models] Creating related models from state: {'brand': 'vaillant', 'home': Home(extra_fields={'online_state': 'ONLINE', 'migration_finished_at': None}, country_code='AT', timezone=zoneinfo.ZoneInfo(key='Europe/Vienna'), nomenclature='VR 940f', serial_number='21241180000155010933035695N3', state='CLAIMED', system_id='6a1a3de5-3854-4c78-8d5e-12d9fd32a124', home_name='Home', address=, product_information='VR940F', migration_state=None, cag=True, firmware_version='0404.01.21', firmware={'version': '0404.01.21', 'connected_to_old_io_t_platform': None, 'update_enabled': True, 'update_required': False}, product_metadata={'product_type': 'VR940F', 'production_year': '24', 'production_week': '11', 'article_number': '8000015501'}), 'timezone': zoneinfo.ZoneInfo(key='Europe/Vienna'), 'control_identifier': <ControlIdentifier.TLI: 'tli'>, 'connected': None, 'diagnostic_trouble_codes': None, 'rts': None, 'mpc': None, 'current_system': {'system_type': 'UNKNOWN', 'has_emf_capable_devices': False, 'primary_heat_generator': None, 'secondary_heat_generators': [], 'electric_backup_heater': None, 'solar_station': None, 'ventilation': None, 'gateway': None}, 'ambisense_capability': False, 'energy_management': None, 'eebus': None, 'state': {'system': {'system_water_pressure': 1.3, 'energy_manager_state': 'STANDBY', 'system_off': False}, 'zones': [{'index': 0, 'desired_room_temperature_setpoint_heating': 0.0, 'desired_room_temperature_setpoint': 0.0, 'current_room_temperature': 24.5625, 'current_special_function': 'NONE', 'heating_state': 'IDLE'}], 'circuits': [{'index': 0, 'circuit_state': 'STANDBY', 'current_circuit_flow_temperature': 25.5, 'heating_circuit_flow_setpoint': 0.0, 'calculated_energy_manager_state': 'HEATING_STANDBY'}], 'dhw': [{'index': 255, 'current_special_function': 'REGULAR', 'current_dhw_temperature': 25.0}]}, 'properties': {'system': {'controller_type': 'VRT380', 'system_scheme': 1, 'backup_heater_type': 'CONDENSING', 'backup_heater_allowed_for': 'DHW_AND_HEATING', 'temporary_allow_backup_heater': 'DISABLED', 'module_configuration_v_r71': 3, 'energy_provide_power_cut_behavior': 'DISABLE_HEATPUMP_AND_BACKUP_HEATER', 'smart_photovoltaic_buffer_offset': 10.0, 'external_energy_management_activation': False}, 'zones': [{'index': 0, 'is_active': True, 'zone_binding': 'CENTRAL_CONTROL', 'is_cooling_allowed': False, 'associated_circuit_index': 0}], 'circuits': [{'index': 0, 'mixer_circuit_type_external': 'HEATING', 'heating_circuit_type': 'DIRECT_HEATING_CIRCUIT'}], 'dhw': [{'index': 255, 'min_setpoint': 35.0, 'max_setpoint': 65.0}]}, 'configuration': {'system': {'continuous_heating_start_setpoint': -26.0, 'alternative_point': -21.0, 'heating_circuit_bivalence_point': 0.0, 'dhw_bivalence_point': -7.0, 'adaptive_heating_curve': False, 'dhw_maximum_loading_time': 60, 'dhw_hysteresis': 5.0, 'dhw_flow_setpoint_offset': 25.0, 'continuous_heating_room_setpoint': 20.0, 'hybrid_control_strategy': 'TRIVAI', 'max_flow_setpoint_hp_error': 25.0, 'dhw_maximum_temperature': 80.0, 'maximum_preheating_time': 0, 'paralell_tank_loading_allowed': False}, 'zones': [{'index': 0, 'general': {'name': 'Zone 1', 'holiday_start_date_time': '2024-02-25T18:00:00+00:00', 'holiday_end_date_time': '2024-02-26T18:00:00+00:00', 'holiday_setpoint': 15.0}, 'heating': {'operation_mode_heating': 'OFF', 'set_back_temperature': 17.0, 'manual_mode_setpoint_heating': 20.0, 'time_program_heating': {'meta_info': {'min_slots_per_day': 0, 'max_slots_per_day': 12, 'setpoint_required_per_slot': True}, 'monday': [{'start_time': 320, 'end_time': 1320, 'setpoint': 20.0}], 'tuesday': [{'start_time': 320, 'end_time': 1320, 'setpoint': 20.0}], 'wednesday': [{'start_time': 320, 'end_time': 1320, 'setpoint': 20.0}], 'thursday': [{'start_time': 320, 'end_time': 1320, 'setpoint': 20.0}], 'friday': [{'start_time': 320, 'end_time': 1320, 'setpoint': 20.0}], 'saturday': [{'start_time': 450, 'end_time': 1320, 'setpoint': 20.0}], 'sunday': [{'start_time': 450, 'end_time': 1320, 'setpoint': 20.0}]}}}], 'circuits': [{'index': 0, 'heating_curve': 1.2, 'heating_flow_temperature_minimum_setpoint': 15.0, 'heating_flow_temperature_maximum_setpoint': 90.0, 'heat_demand_limited_by_outside_temperature': 21.0, 'heating_circuit_flow_setpoint_excess_offset': 0.0, 'set_back_mode_enabled': False, 'room_temperature_control_mode': 'NON', 'epsilon': 2.0}], 'dhw': [{'index': 255, 'operation_mode_dhw': 'TIME_CONTROLLED', 'tapping_setpoint': 50.0, 'holiday_start_date_time': '2019-01-01T00:00:00+00:00', 'holiday_end_date_time': '2019-01-01T00:00:00+00:00', 'time_program_dhw': {'meta_info': {'min_slots_per_day': 0, 'max_slots_per_day': 3, 'setpoint_required_per_slot': False}, 'monday': [{'start_time': 320, 'end_time': 1320}], 'tuesday': [{'start_time': 320, 'end_time': 1320}], 'wednesday': [{'start_time': 320, 'end_time': 1320}], 'thursday': [{'start_time': 320, 'end_time': 1320}], 'friday': [{'start_time': 320, 'end_time': 1320}], 'saturday': [{'start_time': 450, 'end_time': 1320}], 'sunday': [{'start_time': 450, 'end_time': 1320}]}, 'time_program_circulation_pump': {'meta_info': {'min_slots_per_day': 0, 'max_slots_per_day': 3, 'setpoint_required_per_slot': False}, 'monday': [{'start_time': 320, 'end_time': 1320}], 'tuesday': [{'start_time': 320, 'end_time': 1320}], 'wednesday': [{'start_time': 320, 'end_time': 1320}], 'thursday': [{'start_time': 320, 'end_time': 1320}], 'friday': [{'start_time': 320, 'end_time': 1320}], 'saturday': [{'start_time': 450, 'end_time': 1320}], 'sunday': [{'start_time': 450, 'end_time': 1320}]}}]}, 'id': '6a1a3de5-3854-4c78-8d5e-12d9fd32a124'}
2024-09-12 08:24:27.062 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Getting daily data for 6a1a3de5-3854-4c78-8d5e-12d9fd32a124 from 2024-09-12 00:00:00+02:00 to 2024-09-13 00:00:00+02:00
2024-09-12 08:24:27.062 DEBUG (MainThread) [custom_components.mypyllant.coordinator] No devices in 6a1a3de5-3854-4c78-8d5e-12d9fd32a124
2024-09-12 08:24:27.062 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 4.368 seconds (success: True)
2024-09-12 08:24:27.078 WARNING (MainThread) [custom_components.mypyllant.binary_sensor] No system data, skipping binary sensors
2024-09-12 08:24:27.079 WARNING (MainThread) [custom_components.mypyllant.calendar] No system data, skipping calendar entities
2024-09-12 08:24:27.079 WARNING (MainThread) [custom_components.mypyllant.climate] No system data, skipping climate
2024-09-12 08:24:27.079 WARNING (MainThread) [custom_components.mypyllant.datetime] No system data, skipping date time entities
2024-09-12 08:24:27.080 WARNING (MainThread) [custom_components.mypyllant.number] No system data, skipping number entities
2024-09-12 08:24:27.080 WARNING (MainThread) [custom_components.mypyllant.sensor] No system data, skipping sensors
2024-09-12 08:24:27.080 DEBUG (MainThread) [custom_components.mypyllant.sensor] Daily data: {}
2024-09-12 08:24:27.080 WARNING (MainThread) [custom_components.mypyllant.sensor] No daily data, skipping sensors
2024-09-12 08:24:27.080 WARNING (MainThread) [custom_components.mypyllant.switch] No system data, skipping switch entities
2024-09-12 08:24:27.080 WARNING (MainThread) [custom_components.mypyllant.water_heater] No system data, skipping water heater
Krzysztonek commented 1 month ago

Same issue here, unfortunately. Seem, this may be some access/communication error.

Any idea how to solve this issue?

signalkraft commented 1 month ago

Are you getting energy usage data in the app? If yes, it's a difference in how your setup queries the API. It would require reverse engineering to find out how your system is getting energy data.

If you're not getting any energy data in the app, then this log message is expected.

Krzysztonek commented 1 month ago

Are you getting energy usage data in the app?

No, my app does NOT work also since then. The following message is being displayed on my smartphone:

Unknown Error: Unknown error occured while loading data from you heating system. Try again in couple of minutes.

I tried to logout/login back but it doesn't help.

mzaufl commented 1 month ago

My App works fine and I'm getting no energy data in the App. I'll check it again after starting heating. Just now my device only provides hot water.

Krzysztonek commented 1 month ago

Actually all the sensors of myVAILLANT integration are being skipped (remain unavailable) What can I do to fix it? Please, advise.

Logs

2024-10-04 10:32:55.909 DEBUG (MainThread) [custom_components.mypyllant] Refreshing SystemCoordinator
2024-10-04 10:32:55.909 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Starting async update data for SystemCoordinator
2024-10-04 10:32:55.910 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Waiting 119s until token refresh
2024-10-04 10:32:55.924 DEBUG (MainThread) [myPyllant.http_client] Starting GET to https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes
2024-10-04 10:32:56.140 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Quota was hit 0s ago on 2024-10-04 08:32:56.140637+00:00
Traceback (most recent call last):
  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 337, in get_systems
    async for home in homes:
  File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 294, in get_homes
    async with self.aiohttp_session.get(
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1355, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 787, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.12/site-packages/myPyllant/http_client.py", line 73, in on_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Quota Exceeded', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes'
2024-10-04 10:32:56.168 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes, skipping update of myVAILLANT data for another 10800s
2024-10-04 10:32:56.168 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.259 seconds (success: False)
2024-10-04 10:32:56.169 DEBUG (MainThread) [custom_components.mypyllant] Refreshing DailyDataCoordinator
2024-10-04 10:32:56.169 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Quota was hit 0s ago on 2024-10-04 08:32:56.140637+00:00
Traceback (most recent call last):
  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 337, in get_systems
    async for home in homes:
  File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 294, in get_homes
    async with self.aiohttp_session.get(
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1355, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 787, in _request
    await raise_for_status(resp)
  File "/usr/local/lib/python3.12/site-packages/myPyllant/http_client.py", line 73, in on_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1121, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Quota Exceeded', url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes'
2024-10-04 10:32:56.197 ERROR (MainThread) [custom_components.mypyllant.coordinator] Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes, skipping update of myVAILLANT data for another 10800s
2024-10-04 10:32:56.197 DEBUG (MainThread) [custom_components.mypyllant.coordinator] Finished fetching myVAILLANT data in 0.028 seconds (success: False)

When checking the url url='https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/homes' from the log above I'm getting this:


{ "statusCode": 401, "message": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API." }
'''
Pigotka commented 3 weeks ago

Yeah have the same together with another quota error: Error fetching myVAILLANT data: Quota Exceeded on https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/emf/v2/ac07dd0a-01cc-4f25-a8e4-a13d7103dc7e/devices/21aebf05-1ded-5859-a968-020f41de8103/buckets?resolution=HOUR&operationMode=COOLING&energyType=CONSUMED_ELECTRICAL_ENERGY&startDate=2024-10-24T00:00:00.000%2B02:00&endDate=2024-10-25T00:00:00.000%2B02:00, skipping update of myVAILLANT data for another 10761s

Tobboss commented 1 week ago

I am getting the same error since a few weeks. I also don't get energy data in the app. When i deactivate the integration for some hours the app is working again. After activating it again i get values once and then the Quota is exceeded again. Using standard polling settings.