RaspberryMatic als HA-AddOn - Langsame WebUI #2503
-
Hallo zusammen, ich habe vor etwa 2 Jahren einen Raspberry Pi 3B+ zur Installation einer CCU-Umgebung bzw. RaspberryMatic gekauft und eingerichtet, was bisher auch prima funktioniert hat. Vor kurzem bin ich dann auf "HomeAssistant" aufmerksam geworden und bin von dieser Umgebung restlos begeistert. Natürlich war es dann kaum eine Überlegung, HA und das passende RaspberryMatic-AddOn zu installieren. Das Ganze ging einigermaßen gut von der Hand und funktioniert auch soweit prima, nur bin ich ehrlich gesagt ein bisschen schockiert von der entsprechenden "Performance". Die Anmeldung an RaspberryMatic dauert mitunter 2 bis 3 Minuten, einige Komponenten melden zeitweise, dass sie nicht erreichbar sind (das war vorher nie der Fall) und das ganze wirkt doch irgendwie extrem "zäh" und "wackelig". Habe ich bei der Installation (in meinem HA sind noch nicht wirklich viele Komponenten installiert) etwas grob falsch gemacht oder kommt der Pi 3B+ mit beidem dann doch mal an seine Grenzen? Ich bin gern bereit, in einen 4er zu investieren, wäre mir aber vorher gern "sicher", dass das die Performance-Probleme auch nachhaltig beseitigt. Habt Ihr Erfahrungen damit? LG Micha |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
Nun, es kommt natürlich als erstes darauf an was du so alles inzwischen unter HomeAssistant "schönes" machst bzw. wieviel verschiedene Integrationen du da so parallel sonst noch so betreibst. Dann kann es inzwischen mit einem Pi3 schon mitunter etwas knapp werden. Und das ehrlich gesagt weniger bzgl. CPU, sondern mehr anhand des maximal 1GB RAM das dann mitunter schon sehr eng werden kann mit mehrerer Anwendungen innerhalb von HA. Deshalb ist die Default-RaspberryPi Platform für HomeAssistant ja inzwischen ein Pi4. Auch musst du bedenken das im Falle des RaspberryMatic HA Addons, du die RaspberryMatic quasi innerhalb von HomeAssistant zu einem virtuellen System degradiert hast und auch das natürlich ein gewissen Performanceengpass nun ergeben kann. Um das ganze jedoch zu "debuggen" könntest du erst einmal im RaspberyMatic HA-Addon den Port 80/443 nach aussen freigeben damit du z.B. nicht innerhalb von HomeAssistant dann auf die WebUI von RaspberryMatic zugreifst, sondern mal schaust wie sich das System verhält wenn du dann quasi direkt auf die WebUI via durchgeleitetem Port 80/443 zugreifst. Vielleicht liegt es ja nur an der Ingress durchleitung das die WebUI sich "zäh" anfühlt. Ein versuch wäre es wert. Ansonsten musst du natürlich gerade beim RaspberryPi4 etwas aufpassen bzgl. parallele Nutzung des RPI-RF-MOD / HM-MOD-RPI-PCB Funkmodules, denn wenn man dieses an einem Pi4 betreibt rennt man da mitunter schnell in ein Funkproblem, denn der Pi4 ist dafür gekannt das dieser eine recht große Funkstörwolke um sich herum generiert und dann gerade das RPI-RF-MOD oder das HM-MOD-RPI-PCB HomeMatic Funkmodul dann seine Geräte gar nicht mehr erreichen kann. Best practice wäre ehrlich gesagt z.B. HomeAssistant auf einem separaten Pi4 zu betreiben und RaspberryMatic dann auf dem Pi3 zu belassen oder noch besser beide Systeme via Proxmox gänzlich z.B auf einem intel NUC System zu virtualisieren und ganz davon abzurücken dafür ein RaspberryPi zu verwenden. Das bringt die meiste Performance und Flexibilität. |
Beta Was this translation helpful? Give feedback.
-
Ich rate auch dazu RM "woauchimmer" separat zu betreiben. Muss es wirklich all-in-one auf einem SBC sein dann mindestens Pi4B-4GB und mit SSD-Boot. Wobei letzteres auch häufig Probleme macht (Adapter abhängig). Oder halt den Yellow mit SSD und abgesetztem Funkmodul. Oder halt alternative SBC's (z.B. Odroid) die mehr RAM haben und von SSD oder EMMC booten können. |
Beta Was this translation helpful? Give feedback.
-
Schaue Dir einmal das Argon One Gehäuse mit M.2 Slot an (Achtung SSD darf nicht vom Typ NVME sein). Ich habe damit keine Probleme, allerdings verwende ich das abgesetze HB-RF-ETH Funkmodul. |
Beta Was this translation helpful? Give feedback.
-
Hallo zusammen, heute habe ich dann doch wieder das beschriebene Performance-Problem, auch bei dem direkten Zugriff über den Port 8080. Das Ganze wirkt sehr "zäh" und "wacklig", auch hat der HA teilweise gezickt und das default-dashboard nicht angezeigt. Bei dem "bisschen" an Integrationen, die ich bisher implementiert habe, macht mich das Ganze doch irgendwie ein bisschen stutzig. Vielleicht ist auch die SD-Karte nicht mehr die fitteste und ich sollte doch auf einen Pi4 mit SSD/m.2 umsteigen? LG Micha |
Beta Was this translation helpful? Give feedback.
Nun, es kommt natürlich als erstes darauf an was du so alles inzwischen unter HomeAssistant "schönes" machst bzw. wieviel verschiedene Integrationen du da so parallel sonst noch so betreibst. Dann kann es inzwischen mit einem Pi3 schon mitunter etwas knapp werden. Und das ehrlich gesagt weniger bzgl. CPU, sondern mehr anhand des maximal 1GB RAM das dann mitunter schon sehr eng werden kann mit mehrerer Anwendungen innerhalb von HA. Deshalb ist die Default-RaspberryPi Platform für HomeAssistant ja inzwischen ein Pi4.
Auch musst du bedenken das im Falle des RaspberryMatic HA Addons, du die RaspberryMatic quasi innerhalb von HomeAssistant zu einem virtuellen System degradiert hast und auch da…