evcc modbusproxy + Solaranzeige

Solaranzeige und Docker
Alles was mit der Docker Version zu tun hat.

Moderatoren: Ulrich, DeBaschdi

Tratonis
Beiträge: 5
Registriert: Mo 2. Jan 2023, 18:41
Danksagung erhalten: 1 Mal

evcc modbusproxy + Solaranzeige

Beitrag von Tratonis »

Moin,

ich habe folgendes Setup:

evcc (0.118.10) mit Modbusproxy und Solaranzeige (# Running Solaranzeige Software Version 4.8.3b [32Bit] update Juni 2023 #) als Docker, beide mit macvlan (Problem auch ohne macvlan vorhanden).

Solaranzeige bekommt nicht immer die Daten vom Wechselrichter

Code: Alles auswählen

23.07. 16:13:01 |----------------   Start  huawei_LAN.php  ----------------------------- 
23.07. 16:13:01    -Huawei: 192.168.7.228 Port: 5021 GeräteID: 1
23.07. 16:13:04 >  -Gerätetyp: SUN2000-10KTL-M  Modell ID: 429
23.07. 16:13:10 *  -Daten zur lokalen InfluxDB [ solaranzeige ] gesendet. 
23.07. 16:13:10    -OK. Datenübertragung erfolgreich.
23.07. 16:13:10 |----------------   Stop   huawei_LAN.php    --------------------------- 
23.07. 16:14:02 |----------------   Start  huawei_LAN.php  ----------------------------- 
23.07. 16:14:02    -Huawei: 192.168.7.228 Port: 5021 GeräteID: 1
23.07. 16:14:06 >  -Gerätetyp: SUN2000-10KTL-M  Modell ID: 429
23.07. 16:14:20    -Fehler! Keine gültigen Daten empfangen. 
23.07. 16:14:28 >  -Gerätetyp:   Modell ID: 0
23.07. 16:14:55 *  -Daten zur lokalen InfluxDB [ solaranzeige ] gesendet. 
23.07. 16:14:55    -OK. Datenübertragung erfolgreich.
23.07. 16:14:55 |----------------   Stop   huawei_LAN.php    --------------------------- 
23.07. 16:15:01 |----------------   Start  huawei_LAN.php  ----------------------------- 
23.07. 16:15:01    -Huawei: 192.168.7.228 Port: 5021 GeräteID: 1
23.07. 16:15:13    -Fehler! Keine gültigen Daten empfangen. 
23.07. 16:15:25 >  -Gerätetyp:   Modell ID: 0
23.07. 16:15:26    -Fehler! Gerät antwortet nicht.
23.07. 16:15:26    -
23.07. 16:15:26 |----------------   Stop   huawei_LAN.php    --------------------------- 
23.07. 16:16:01 |----------------   Start  huawei_LAN.php  ----------------------------- 
23.07. 16:16:01    -Huawei: 192.168.7.228 Port: 5021 GeräteID: 1
23.07. 16:16:05 >  -Gerätetyp: SUN2000-10KTL-M  Modell ID: 429
23.07. 16:16:19    -Fehler! Keine gültigen Daten empfangen. 
23.07. 16:16:31 >  -Gerätetyp:   Modell ID: 0
23.07. 16:16:32    -Fehler! Gerät antwortet nicht.
23.07. 16:16:32    -
23.07. 16:16:32 |----------------   Stop   huawei_LAN.php    ---------------------------
im Fehlerfall folgendes im evcc Modbusproxy Log, da gibt es einen "connection reset by peer":

Code: Alles auswählen

[proxy-5021] TRACE 2023/07/23 19:45:03 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:05 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:05 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:10 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:10 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:12 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:12 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:14 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:14 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:16 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:16 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:22 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:22 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:27 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] TRACE 2023/07/23 19:45:27 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:28 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] DEBUG 2023/07/23 19:45:28 failed to write response: write tcp 192.168.7.228:5021->192.168.7.231:37804: write: connection reset by peer
[proxy-5021] TRACE 2023/07/23 19:45:28 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:31 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] DEBUG 2023/07/23 19:45:31 failed to write response: write tcp 192.168.7.228:5021->192.168.7.231:37804: write: broken pipe
[proxy-5021] TRACE 2023/07/23 19:45:31 read holding: id 1 addr 30000 qty 81
[proxy-5021] TRACE 2023/07/23 19:45:36 read holding: 53554e323030302d31304b544c2d4d310000000053554e323030302d3132425432324330303236323834000000000000000030313037343331312d303036000000000000000056313030523030312d3032000000000000000000000000000000000000005631303052303031433030535043313533000000000000000000000000000000000000000005000001ad000200020000271000002af800002af8000019c8
[proxy-5021] DEBUG 2023/07/23 19:45:36 failed to write response: write tcp 192.168.7.228:5021->192.168.7.231:37804: write: broken pipe
Die Zeitstempel bitte nicht beachten das ganze stammt aus mehreren Beiträgen im Allgemeinen Forum.

Ullrich hat mich hierher verwiesen, wobei ich mir nicht sicher bin, ob das überhaupt ein Problem vom Docker ist.

Tratonis
Beiträge: 5
Registriert: Mo 2. Jan 2023, 18:41
Danksagung erhalten: 1 Mal

Re: evcc modbusproxy + Solaranzeige

Beitrag von Tratonis »

Die Lösung war $Timebase = 500000; in huawei_LAN.php.

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste