Nulleinspeisung script läuft, aber es funktioniert nicht

Moin,

ich komme nicht weiter.

Ich verwende das script zur Nulleinspeisung von hier

Habe bei github auch schon nachgefragt, aber bisher keine Reaktion bekommen.

Inzwischen läuft das Sricpt und spricht den Inverter an und bekommt auch Rückmeldungen.
Nur übernimmt der Inverter nicht die Daten, die der Shelly liefert, sondern speist stumpf irgendetwas ein.

Konfiguration

Raspi 3B 1 GB mit USB-SSD (boot) im LAN über ethernet
Python 3.13.5
wird nur für den script genutzt, keine anderen Anwendungen

Hoymiles HM-1500

openDTU 0.1.30
firmware v26.3.30
generic_esp32
mit nRF24

LiFePo4 Akku 48 V 10 kWh

Habe im script override die IP der openDTU (+user und passw) und des shelly eingetragen.

Ebenso Typ des WR, Leistungsdaten hatte ich zwischenzeitlich verändert, daher die 800 W im journal.

Füge hier mal das aktuelle journal bei.

Vielleicht kann mir jemand einen Tip geben.

Meine Python-Kenntnisse gehen noch gegen 0, mit Linux fange ich auch gerade erst wieder an.

Danke!


sudo journalctl
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO OpenD>
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO power>
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO Inver>
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO setti>
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO OpenD>
Apr 10 01:30:30 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:30 INFO OpenD>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenD>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Avera>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Retry>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenD>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO power>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Inver>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO setti>
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenD>
Apr 10 01:31:01 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:01 INFO OpenD>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenD>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Avera>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Retry>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenD>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO power>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Inver>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO setti>
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenD>
lines 1-23...skipping...
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.2 degC
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO powermeter Shelly3EMPro: 458 Watt
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO setting new limit to 800 Watt
Apr 10 01:30:19 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:19 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:30:30 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:30 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.3 degC
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO powermeter Shelly3EMPro: 457 Watt
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO setting new limit to 800 Watt
Apr 10 01:30:50 Raspi3B-64Bit python3[5536]: 2026-04-10 01:30:50 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:31:01 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:01 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.2 degC
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO powermeter Shelly3EMPro: 333 Watt
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO setting new limit to 800 Watt
Apr 10 01:31:21 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:21 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:31:31 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:31 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.3 degC
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO powermeter Shelly3EMPro: 229 Watt
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO setting new limit to 800 Watt
Apr 10 01:31:51 Raspi3B-64Bit python3[5536]: 2026-04-10 01:31:51 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:32:02 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:02 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.3 degC
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO powermeter Shelly3EMPro: 225 Watt
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO setting new limit to 800 Watt
Apr 10 01:32:22 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:22 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:32:32 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:32 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.3 degC
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO powermeter Shelly3EMPro: 232 Watt
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO Inverterlimit 800 Watt was previously not accepted by at least one inverter, trying again...
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO setting new limit to 800 Watt
Apr 10 01:32:52 Raspi3B-64Bit python3[5536]: 2026-04-10 01:32:52 INFO OpenDTU: Inverter "HM-1500-2": setting new limit from 800 Watt to 800 Watt
Apr 10 01:32:54 Raspi3B-64Bit wpa_supplicant[673]: wlan0: WPA: Group rekeying completed with 0c:c5:74:d3:5c:00 [GTK=CCMP]
Apr 10 01:33:03 Raspi3B-64Bit python3[5536]: 2026-04-10 01:33:03 INFO OpenDTU: Inverter "HM-1500-2": Limit timeout!
Apr 10 01:33:23 Raspi3B-64Bit python3[5536]: 2026-04-10 01:33:23 INFO OpenDTU: Inverter "HM-1500-2" reachable: True
Apr 10 01:33:23 Raspi3B-64Bit python3[5536]: 2026-04-10 01:33:23 INFO Average min-panel voltage, inverter "HM-1500-2": 53.1 Volt
Apr 10 01:33:23 Raspi3B-64Bit python3[5536]: 2026-04-10 01:33:23 INFO Retry Counter exceeded: Inverter PowerStatus already ON
Apr 10 01:33:23 Raspi3B-64Bit python3[5536]: 2026-04-10 01:33:23 INFO OpenDTU: Inverter "HM-1500-2" temperature: 20.3 degC
lines 1-56

Das schaut für mich so aus , dass der Wechselrichter die Befehle nicht annimmt. Es wird versucht den Wechselrichter zu steuern, der sagt aber "ich kann mit dem was du willst/schickst" nix anfangen.
Dann kommt noch Time Out. Das Zeitfenster, in dem man dem Wechselrichter was schickten kann und der zurück meldet, dass das so OK ist , läuft ab.

Du musst gucken, warum der Wechselrichter das nicht annimmt.
Daten vom Wechselrichter werden geschickt, es kommen Werte an. Was bedeutet, dass die Kommunikation in Ordnung sein sollte. Die Befehlssyntax beim senden würde ich überprüfen
Das sagt die ki:


Und das:

Du kannst das mit Hilfe von ki weiter eingrenzen. Gebe der ki weitere fehlermendungen vor, mache das, was die ki vorschlägt an Fehlerbeseitigung

Wäre schön, wenn es so einfach wäre.

Die time limits und Abfrageparameter habe ich schon in beide Richtungen geändert.

Das der HM-1500 die Befehle nicht versteht, ist unwahrscheinlich, da es bei jemand mit der ähnlichen Konfiguration gut läuft.

Wer jetzt mal die openDTU in die Nähe vom WR setzen und beobachten was passiert.

Danke erstmal für die Hinweise!

Bist du denn mal hingegangen direkt im OpenDTU Webinterface und dort ein Limit gesetzt und geprüft ob das übernommen wird?

Ja, klappt einwandfrei.

Die Änderung der Distanz hat auch nix gebracht.

Hallo, ich hatte auch viel mit dem Skript rumexperimentiert. Leider wurde waren die Ergebnisse sie wirklich zufriedenstellend. Speicher hatte ich 2 Anker Solix je an einem HMS800.
Dann habe ich den Smart Micro Solar gekauft. Hat direkt geklappt. Momentan habe ich die Anker Solix wieder verkauft und nutze 2 MS-A2 in kombination mit dem SMS.

Wollte nur mal melden, dass ich mangels Zeit noch nicht weitergekommmen bin.

Gibt es nen Grund warum du nicht openDTU-onBattery nutzt?

Mit dem Script kann man theoretisch diverse Wechselrichter ansteuern, wenn es funktionieren würde.

Wenn ich nicht weiterkomme, werde ich es mit OpenDTU-onbattery versuchen.