Gelöst: E3/DC reagiert nicht auf MODBUS-Anfragen aus fremden Subnetzen #13569
Replies: 2 comments 1 reply
-
Mal so in die Luft geschossen: Vielleicht mal mit netstat schauen, welche und wieviele tcp-Verbindungen Windows und der RASPI jeweils zum E3/DC halten. Modbus (RTU) kennt eigentlich nur genau einen abfragenden Master. Mehr werden durch den TCP-Adapter gehandelt. Da gibt es auf der Slave/Geräteseite unterschiedliche Implementierungen, wie viele Verbindungen zugelassen werden. Es könnte sein, dass beim RASPI / WLAN die Verbindungen länger stehen bleiben. |
Beta Was this translation helpful? Give feedback.
-
Vielen Dank für die Antworten. |
Beta Was this translation helpful? Give feedback.
-
Bei mir läuft EVCC auf einem RaspBerry im WLAN. Ein Sungrow Wechselrichter der über LAN verbunden ist, liefert per ModBus Daten. Das E3/DC Kraftwerk, das im gleichen LAN erreichbar ist, liefert RaspBerry-IP:WechselndePorts -> E3/DC-IP:502 connection reset by peer.
Verwende ich den gleichen Versionsstand (0.125.0) von EVCC mit einer identischen Kopie der evcc.yaml auf einem Windowsrechner, der sich im gleichen LAN wie das E3/DC Hauskraftwerk befindet, funktioniert die Kommunikation ohne Probleme, auch mit dem Sungrow Wechselrichter.
Schalte ich beim E3/DC ModBus ab, erhalte ich erwartungsgemäß den Fehler: connection refused.
Trace auf dem RaspBerry;
Trace unter Windows:
Kann mir jemand einen Tipp geben, wo ich weitersuchen kann?
Beta Was this translation helpful? Give feedback.
All reactions