Skip to content
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

Cannot connect to Vaillant Integration anymore #250

Open
3 tasks
PaulC1965 opened this issue Dec 28, 2024 · 13 comments
Open
3 tasks

Cannot connect to Vaillant Integration anymore #250

PaulC1965 opened this issue Dec 28, 2024 · 13 comments

Comments

@PaulC1965
Copy link

Before submitting a new issue

  • I'm using the latest version of myPyllant: YES V0.8.22
  • I've checked known issues: YES
  • I'm sure this problem is about the myPyllant library. For issues with the home assistant component, open an issue here

Problem description

Since this morning 6 am my Vaillant app is not connecting anymore. The straight myVaillant app is still working fine as is my thermostat, so no problem there. Only issue is the Integration of Vaillant app through HACS in Homeassistant Green.
I see in my HACS integration there is something wrong with the Vaillant app:
Vaillant - Integration
It shows it needs attention.

In the configuration all seems OK however there is no hub connection. So I try to reconnect that one:
Vaillant - Login

When trying to enter a wrong username or passcode I get a clear message there is something wrong with either of the two. When entering the correct username and passcode I just get below message saying there is an unexpected error. There is no explanation what the error is.
Vaillant - Error

One thing I must say: yesterday evening I had for some reason to change the passcode of the myVaillant app itself. That one is working fine as I mentioned but the integration is not... even though I am using the new passcode correctly.

I have been using the Vaillant integration since July 2024 and it works flawlessly. It is the first time I encounter this issue and I do not seem to be able to fix it.
I already reinstalled a full back-up this morning.... without success... the problem is still there.
I did not try to remove the Vaillant integration yet as then I will lose all of my automations, scripts, ... as well that make use of one or more of the entities. So I'm careful here.

Any suggestions of what I may try next to fix this?

Thanks much and kindest regards,

Paul

@Xerbo
Copy link

Xerbo commented Dec 28, 2024

Same issue here in UK:

2024-12-28 11:56:15.037 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry xxx for mypyllant
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 102, in async_setup_entry
    await api.login()
  File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 141, in login
    code, code_verifier = await self.get_code()
                          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/myPyllant/api.py", line 202, in get_code
    raise AuthenticationFailed("Login failed")
myPyllant.http_client.AuthenticationFailed: Login failed

@PaulC1965
Copy link
Author

PaulC1965 commented Dec 28, 2024 via email

@tvhouwel
Copy link

Thanks for this solution.
I had exactly the same problem. Yesterday evening my password changed. No problem fine
This afternoon a HA restart, all the myVAILLANT entitys lost.
Reconnect, nothing worked had the same unexpected error.
Done what PaulC1965 wrote, a complete reinstal. Everything works fine.

@Joska59
Copy link

Joska59 commented Jan 2, 2025

Wie kann ich komplett neuinstallieren?
How is it possible, to get a complete new installation?

@PaulC1965
Copy link
Author

PaulC1965 commented Jan 2, 2025 via email

@Joska59
Copy link

Joska59 commented Jan 2, 2025

@PaulC1965 Ja, das hatte ich versucht, HA meldete aber, ich müsse erst die Config löschen, das wiederum funktionierte nicht, weil die entsprechenden Ordner unter custom-components nicht leer waren......

Nach x-Versuchen ist es mir aber gerade gelungen, sowohl, die Config, als auch MyVaillant zu löschen. Bei der Neuinstalltion hatte ich aber wieder die gleichen Probleme. Werde es jetzt noch einmal mit mehreren Neustarts versuchen.
Danke für die Rückmeldung.

@PaulC1965
Copy link
Author

PaulC1965 commented Jan 2, 2025 via email

@Joska59
Copy link

Joska59 commented Jan 2, 2025

@PaulC1965 Ja, ich habe HA immer wieder neu gestartet, teilweise zwischen Jedem Schritt. ich bekomme aber regelmäßiges folgende Fehlermeldung im Log-file:
Dieser Fehlerstammt von einer benutzerdefinierten Integration Logger: custom_components.mypyllant.config_flowQuelle: custom_components/config_flow.py:260Integration: mypyllant (Dokumentation, Probleme)Erstconflow3:8comment/ In async_step_user await self.async_set_unique_id (Benutzername) Datei "/usr/src/homeassistant/homeassistant/config_entries.py", Zeile 2685, in async_set_unique_id raise data_entry_flow.AbortFlow ("already_in_progress")homeassistant.data_entry_flow.AbortFlow: Flow aborted: early_in_progress

@PaulC1965
Copy link
Author

PaulC1965 commented Jan 2, 2025 via email

@Joska59
Copy link

Joska59 commented Jan 2, 2025

Tja, habe gerade nochmals alles deinstalliert, HA neu gestartet, MyVaillant download durchgeführt, HA neu gestartet, Integration MyVaillant gestartet, login-Daten eingegeben, -> Alles weiter wie oben. Ich komme nicht weiter, habe aber auch erst 5 Stunden damit verbracht ;-) Bleiben noch 43

@Joska59
Copy link

Joska59 commented Jan 2, 2025

Die Lösung: ich hatte noch eine ausgeblendete, erfolglose, Integration von MyVaillant. Nachdem dieser wieder aktiviert und deinstalliert wurde, funktionierte obiger Lösungsansatz.
Danke

@bernd32457
Copy link

Hallo Vaillant Freunde,
seit einigen Tagen läuft meine Vaillant Integration nicht mehr und ich bin auf eure Hilfe angewiesen.
Das Problem ist nach dem letzten Update von HA aufgetaucht.

Hat jemand einen Tipp für mich ?

Vielen Dank vorab

Protokolldetails (FEHLER)
Logger: homeassistant.util.package
Quelle: util/package.py:159
Erstmals aufgetreten: 21:21:01 (3 Vorkommnisse)
Zuletzt protokolliert: 21:21:04

Unable to install package myPyllant==0.8.36: × No solution found when resolving dependencies: ╰─▶ Because mypyllant==0.8.36 depends on pydantic<1.11.0 and pydantic==2.10.4, we can conclude that mypyllant==0.8.36 cannot be used. And because you require mypyllant==0.8.36, we can conclude that your requirements are unsatisfiable.

@PaulC1965
Copy link
Author

PaulC1965 commented Jan 6, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants