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

HA-AddOn - braucht aus Sicht von HA zu lange für einen Start #2604

Open
Baxxy13 opened this issue Jan 11, 2024 · 5 comments
Open

HA-AddOn - braucht aus Sicht von HA zu lange für einen Start #2604

Baxxy13 opened this issue Jan 11, 2024 · 5 comments
Labels
🐛 bug-report Something isn't working platform/ha-addon Home Assistant Add-on platform

Comments

@Baxxy13
Copy link
Contributor

Baxxy13 commented Jan 11, 2024

Describe the issue you are experiencing

Das HA-AddOn braucht auf "langsameren Systemen" (bis Pi4B) aus Sicht von HA zu lange zum Starten.
Der Supervisor gibt eine Warnung aus.
24-01-11 16:14:42 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon RaspberryMatic CCU (snapshot) to start, took more than 120 seconds

Ich habe mal die Stoppuhr bemüht und die Zeit(en) gemessen.
Startzeit war nach dem Klick in der Seitenleiste von HA auf RaspberryMatic und anschließendem "Start AddOn".
Zeit bis die WebUI über Ingress verfügbar war: ~ 02:37
Zeit bis die WebUI extern verfügbar war: ~ 00:48

Auf schnelleren Systemen (Pi5 / Proxmox) liegt die Ingress-Zeit unter 2 Minuten und es wird entsprechend keine Warnung ausgegeben. Die externe Zeit verändert sich nicht signifikant, liegt aber weiterhin deutlich unter der Ingress-Zeit.

Describe the behavior you expected

Schwer zu sagen.
Mir kommt die Zeit, vom Start über Ingress bis zur Verfügbarkeit, ungewöhnlich lange vor.
Aus der Erinnerung würde ich sagen... das ging mal deutlich schneller.

Steps to reproduce the issue

  1. RaspberryMatic als AddOn auf SBC (Pi3B / Pi4B mit HA-OS) installieren
  2. AddOn über Ingress starten
  3. Zeit stoppen
  4. Supervisor-Log ansehen
    ...

What is the version this bug report is based on?

3.73.9.20240111 - Nightly

Which base platform are you running?

rpi4 (RaspberryPi4)

Which HomeMatic/homematicIP radio module are you using?

HmIP-RFUSB

Anything in the logs that might be useful for us?

Jan 11 15:14:42 homeassistant hassio_supervisor[524]: 24-01-11 16:14:42 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon RaspberryMatic CCU (snapshot) to start, took more than 120 seconds

Additional information

Ich kann nicht sagen ob das ein RaspberryMatic oder Homeassistant Problem ist.
Auch weiß ich nicht ab wann das auftrat.
Ich weiß aber das das AddOn "früher" definitiv viel schneller über Ingress nach dem Start verfügbar war.

HA-OS / Pi4B-2GB
Core 2024.1.2
Supervisor 2023.12.1
Operating System 11.4
Frontend 20240104.0

@jens-maus
Copy link
Owner

Bitte nochmal probieren. Hab das Timeout Limit nun einmal auf 240 Sekunden gesetzt für das experimentelle HomeAssistant Addon. Die Änderung sollte auch sofort aktiv sein. D.h. einfach die snapshot version des HA-Addons mal deinstallieren, den Store aktualisieren und dann wieder installieren. Danach sollte dann das Timeout von 240 Sekunden aktiv sein.

@Baxxy13
Copy link
Contributor Author

Baxxy13 commented Jan 11, 2024

Muss ich morgen nochmal probieren.
Aktuell hat eine Deinstallation des AddOns / Reboot HA Hostsystem / Neuinstallation des AddOns nichts geändert.

@jens-maus jens-maus added the platform/ha-addon Home Assistant Add-on platform label Jan 11, 2024
@jens-maus jens-maus added this to the future release milestone Jan 11, 2024
@Baxxy13
Copy link
Contributor Author

Baxxy13 commented Jan 14, 2024

Inzwischen hatte ich das RaspberryMatic-Snapshot AddOn entfernt, das Repo aus dem AddOn-Store gelöscht und den HA-Host neu gestartet.
Anschließend alles retour.

Hat sich nichts geändert.
Jan 14 18:04:40 homeassistant hassio_supervisor[537]: 24-01-14 19:04:40 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon RaspberryMatic CCU (snapshot) to start, took more than 120 seconds

@jens-maus
Copy link
Owner

Hattest du auch das development/snapshot addon verwendet? Weil nur dafür hab ich ja die config.yaml angepasst..

@Baxxy13
Copy link
Contributor Author

Baxxy13 commented Jan 14, 2024

Ja sicher.

RaspberryMatic-Snapshot AddOn

Ich meide das AddOn eigentlich, da es aber quasi "unkaputtbar" ist darf es ab und zu mal für Spielereien herhalten.
Das "Stable-AddOn" nutze ich nie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working platform/ha-addon Home Assistant Add-on platform
Projects
None yet
Development

No branches or pull requests

2 participants