SMA Home Manager 2.0 in Home Assistant

Danke Euch für die ausführlichen Antworten. Ich versuche noch den Tripower X einzubinden, dann sollte ich ja alles haben was ich brauche.

Deine SMA Devices App ist übrigens spitze @little.yoda

Noch eine Idee warum der Discovery Modus bei mir nicht klappt?

Ohne Logfiles kann ich dazu nichts sagen.
Ich möchte dir als Anfänger aber nicht zumuten, dich durch die Logfiles zu wühlen.

Das hier hab ich auf die Schnelle gefunden

ValueError: list.index(x): x not in list

2026-06-14 08:49:53.083 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration ‘pysmaplus’ passes a non-string value of type int as model to the device registry at custom_components/pysmaplus/sensor.py, line 987: async_add_entities(entities). This will stop working in Home Assistant 2026.12.0, please create a bug report at Issues · littleyoda/ha-pysmaplus · GitHub

2026-06-14 08:53:04.722 ERROR (MainThread) [pysmaplus.device_ennexos] Request to https://192.168.178.162/api/v1/token did not return a valid json. Code 400

2026-06-14 09:00:16.242 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 09:00:16.745 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 09:00:17.248 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 09:00:17.750 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 09:00:18.264 WARNING (MainThread) [pymodbus.logging] Repeating…

2026-06-14 09:00:18.330 WARNING (MainThread) [pysmaplus.device_webconnect] Request to /dyn/login.json did not return a valid json.

2026-06-14 09:00:18.331 ERROR (MainThread) [pysmaplus.device_webconnect] Could not start session: Session ID expected [result.sid]

2026-06-14 09:00:21.926 ERROR (MainThread) [aiohttp.server] Error handling request from 192.168.178.146

Traceback (most recent call last):

Und das hier

  File "/usr/local/lib/python3.14/site-packages/aiohttp/_websocket/writer.py", line 151, in _write_websocket_frame
raise ClientConnectionResetError("Cannot write to closing transport")

aiohttp.client_exceptions.ClientConnectionResetError: Cannot write to closing transport

2026-06-13 18:48:31.487 WARNING (SyncWorker_5) [py.warnings] /usr/local/lib/python3.14/site-packages/rich/segment.py:547: SyntaxWarning: ‘return’ in a ‘finally’ block

return

2026-06-13 18:48:52.662 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (task: None)

2026-06-13 18:48:52.673 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (task: None)

2026-06-13 19:00:31.708 WARNING (MainThread) [pysma.sma_webconnect] Request to /dyn/login.json did not return a valid json.

2026-06-13 19:00:31.709 ERROR (MainThread) [pysma.sma_webconnect] Could not start session: Session ID expected [result.sid]

2026-06-14 08:48:07.123 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 08:48:07.626 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 08:48:08.128 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 08:48:08.630 WARNING (MainThread) [pysmaplus.discovery] Sending Discovery Request

2026-06-14 08:48:09.144 WARNING (MainThread) [pymodbus.logging] Failed to connect [Errno 111] Connect call failed (‘192.168.178.162’, 502)

2026-06-14 08:48:09.222 WARNING (MainThread) [pysmaplus.device_webconnect] Request to /dyn/login.json did not return a valid json.

2026-06-14 08:48:09.222 ERROR (MainThread) [pysmaplus.device_webconnect] Could not start session: Session ID expected [result.sid]

2026-06-14 08:48:13.099 ERROR (MainThread) [aiohttp.server] Error handling request from 192.168.178.146

Traceback (most recent call last):

Noch mal danke für eure hilfreichen Antworten.

Hier noch die Auflösung meines Problems:

Unser Intallateur hat für den STP X einen anderen Benutzernamen gewählt, mit dem richtigen Benutzer hat es dann auf Anhieb geklappt.

Ich habe jetzt alle SMA Geräte über den SMA Devices integriert, ich hatte auch alle mit der normalen Integration eingebunden, im großen und ganzen hatte ich mit der Devices Plus insgesamt 5 oder 6 Entitäten mehr (kann mich nicht mehr genau erinnern) ob das jetzt Entitäten von den geräten oder der Integration waren kann ich nicht sagen.