Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"broken pipe" zu E3DC WR mit RSCP Protokoll #17446

Closed
1 task done
Dirk77777 opened this issue Nov 26, 2024 · 12 comments
Closed
1 task done

"broken pipe" zu E3DC WR mit RSCP Protokoll #17446

Dirk77777 opened this issue Nov 26, 2024 · 12 comments
Assignees
Labels
devices Specific device support enhancement New feature or request

Comments

@Dirk77777
Copy link

Describe the bug

Der Fehler in #17247 ist jetzt auch mit evcc als Service, d.h. ohne Docker aufgetreten.
Die Logs hänge ich hier nochmal an.

Steps to reproduce

Kann ich nicht sagen. Gefühlt tritt es einfach sporadisch irgendwann auf.

Configuration details

Alles was geht wurde über das UI konfiguriert, auch der E3DC WR, d.h. RSCP Protokoll mit Port 5033.
evcc läuft auf einem Raspberry Pi als Linux Service. Pi und E3DC sind im gleichen Subnet und über LAN verbunden.
Auto, WR etc. wurde über das UI konfiguriert.

192.168.1.18 = Raspberry mit evcc Service
192.168.1.16 = E3DC
192.168.1.30 = Wallbox (Tesla Wall Connector)

Log details

[site  ] ERROR 2024/11/25 19:59:38 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:38 pv power: 0W
time="2024-11-25T19:59:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:38 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:38 ----
[lp-1  ] DEBUG 2024/11/25 19:59:38 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 19:59:38 charge currents: [0.1 0 0.1]A
time="2024-11-25T19:59:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T19:59:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T19:59:39+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T19:59:39+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:39+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:39 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:39 pv power: 0W
time="2024-11-25T19:59:39+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:39 grid power: write tcp 192.168.1.18:32970->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:46 ----
[lp-1  ] DEBUG 2024/11/25 19:59:46 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 19:59:46 charge currents: [0.1 0 0.1]A
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:46 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:46 pv power: 0W
time="2024-11-25T19:59:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:46 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:56 ----
[lp-1  ] DEBUG 2024/11/25 19:59:56 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 19:59:56 charge currents: [0.1 0 0.1]A
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T19:59:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:56 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 19:59:56 pv power: 0W
time="2024-11-25T19:59:57+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 19:59:57 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:06 ----
[lp-1  ] DEBUG 2024/11/25 20:00:06 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:06 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:06 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:06 pv power: 0W
time="2024-11-25T20:00:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:07+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:07 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:16 ----
[lp-1  ] DEBUG 2024/11/25 20:00:16 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:16 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:16 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:16 pv power: 0W
time="2024-11-25T20:00:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:16 grid power: write tcp 192.168.1.18:32970->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:26 ----
[lp-1  ] DEBUG 2024/11/25 20:00:26 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:26 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:26 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:26 pv power: 0W
[site  ] ERROR 2024/11/25 20:00:26 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:36 ----
[lp-1  ] DEBUG 2024/11/25 20:00:36 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:36 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:37+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:37 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:37 pv power: 0W
[site  ] ERROR 2024/11/25 20:00:37 grid power: write tcp 192.168.1.18:32970->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:46 ----
[lp-1  ] DEBUG 2024/11/25 20:00:47 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:47 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:47 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:47 pv power: 0W
time="2024-11-25T20:00:47+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:47 grid power: write tcp 192.168.1.18:32970->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:56 ----
[lp-1  ] DEBUG 2024/11/25 20:00:56 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:00:56 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:00:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:56 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:00:56 pv power: 0W
time="2024-11-25T20:00:57+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:00:57 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:06 ----
[lp-1  ] DEBUG 2024/11/25 20:01:06 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:06 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:06 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:06 pv power: 0W
time="2024-11-25T20:01:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:06 grid power: write tcp 192.168.1.18:32970->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:16 ----
[lp-1  ] DEBUG 2024/11/25 20:01:16 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:16 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:16 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:16 pv power: 0W
time="2024-11-25T20:01:16+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:17+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:17 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:26 ----
[lp-1  ] DEBUG 2024/11/25 20:01:32 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:32 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:32+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:32+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:32+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:33+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:33+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:33 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:33 pv power: 0W
time="2024-11-25T20:01:33+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:33+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:33+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:33 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:36 ----
[lp-1  ] DEBUG 2024/11/25 20:01:36 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:36 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:36+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:36 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:36 pv power: 0W
[site  ] ERROR 2024/11/25 20:01:36 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:46 ----
[lp-1  ] DEBUG 2024/11/25 20:01:46 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:46 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:46+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:46 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:46 pv power: 0W
[site  ] ERROR 2024/11/25 20:01:46 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:56 ----
[lp-1  ] DEBUG 2024/11/25 20:01:56 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:01:56 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:56 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:01:56 pv power: 0W
time="2024-11-25T20:01:56+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:01:56 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:02:06 ----
[lp-1  ] DEBUG 2024/11/25 20:02:06 charge power: 0W
[lp-1  ] DEBUG 2024/11/25 20:02:06 charge currents: [0.1 0 0.1]A
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:06+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:07+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:02:07 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:02:07 pv power: 0W
[site  ] ERROR 2024/11/25 20:02:07 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:02:16 ----
[lp-1  ] ERROR 2024/11/25 20:02:26 charge power: Get "http://192.168.1.30/api/1/vitals": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
[lp-1  ] ERROR 2024/11/25 20:02:26 charge currents: Get "http://192.168.1.30/api/1/vitals": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
time="2024-11-25T20:02:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:02:26+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:27+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:27+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:27+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
[site  ] ERROR 2024/11/25 20:02:27 pv 1 power: write tcp 192.168.1.18:32982->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:02:27 pv power: 0W
time="2024-11-25T20:02:27+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
[site  ] ERROR 2024/11/25 20:02:27 battery 1 power: write tcp 192.168.1.18:32980->192.168.1.16:5033: write: broken pipe
[site  ] DEBUG 2024/11/25 20:02:27 ----
[lp-1  ] ERROR 2024/11/25 20:02:37 charge power: Get "http://192.168.1.30/api/1/vitals": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
[lp-1  ] ERROR 2024/11/25 20:02:38 charge currents: Get "http://192.168.1.30/api/1/vitals": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_BAT None <nil> }]"
time="2024-11-25T20:02:38+01:00" level=debug msg="write [{ EMS_REQ_POWER_GRID None <nil> }]"
time="2024-11-25T20:02:39+01:00" level=debug msg="write [{ EMS_REQ_POWER_PV None <nil> } { EMS_REQ_POWER_ADD None <nil> }]"

What type of operating system are you running?

Linux

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

0.1.31.6

@andig
Copy link
Member

andig commented Nov 26, 2024

Der WR schliesst die Netzwerkverbindung. Bitte Ticket beim Hersteller aufmachen.

@andig andig added devices Specific device support waiting for feedback Suspended progress labels Nov 26, 2024
@Dirk77777
Copy link
Author

Ok, das mach ich.
Aber kann man evcc an dieser Stelle nicht etwas robuster machen - Fehler fangen, und z.B. eine neue Connection aufmachen? Nach einem Neustart von evcc über das UI (Konfiguration -> Neustart) geht es meistens wieder.

@maikl-muc
Copy link

Hallo Zusammen,
bei mir kommt genau der selbe Fehler auch regelmässig (alle 3/4 Tage) & ein Neustart von evcc behebt den Fehler immer. Würde mich der Frage von @Dirk77777 anschließen, ob man nicht einfach eine neue Connection aufmachen könnte, wenn die aktuelle geschlossen wurde....

@Dirk77777
Copy link
Author

Ticket @ E3DC ist geöffnet.

@andig
Copy link
Member

andig commented Nov 29, 2024

@docolli sieht Du evtl. was in den Nachrichten oben falsch sein könnte? Sonst muss ich von Fehler bei e3dc ausgehen...

@andig
Copy link
Member

andig commented Nov 29, 2024

Aber kann man evcc an dieser Stelle nicht etwas robuster machen - Fehler fangen, und z.B. eine neue Connection aufmachen?

@Dirk77777 der Punkt ist gut. Willst Du damit sagen, dass nach einmaligem Fehler alle (?!) weiteren Zugriffe fehlschlagen?

/cc @spali falls Du das nicht in der Library machen willst müsste evcc nach jedem Fehler ein Disconnect machen? Siehe spali/go-rscp#67 für Probleme mit Disconnect.

@maikl-muc
Copy link

maikl-muc commented Nov 29, 2024

@andig Ja, danach schlagen alle weiteren Zugriffe fehl & es hilft nur evcc neu zu starten (falls man evcc nicht neu startet bleibt der Fehler - auch über Tage). Nach einem Neustart funktioniert der Zugriff dann wieder problemlos.

@andig
Copy link
Member

andig commented Nov 29, 2024

Das ist sehr unschön- mal schauen was @spali dazu sagt.

@spali
Copy link

spali commented Nov 30, 2024

Definitiv unschön. Denke würde Sinn machen dies im go-rscp Client zu lösen.
@andig Läuft der Client in EVCC wirklich die ganze Zeit ohne mal neu zu verbinden seitens EVCC... Falls ja, bin ich ehrlich gesagt positiv überrascht, da ich den Client nie "langzeit" getestet habe, sonder der immer nur währen CLI Aufrufen gelebt hat ;)
Ich schau mir deine PR's so schnell und gut ich kann an, komme aber vermutlich nicht so schnell dazu diese zu testen für mein Primär use-case mit der cli.

@andig
Copy link
Member

andig commented Dec 1, 2024

@spali ja- evcc ist "long-running". We need to handle connection drops. If you don't want to do this in the library we can do in evcc. Doing this in evcc has the disadvantage that we can no longer decide if the root cause was a TCP error or something else. Inside the library you'd only need to check during network activities, but not e.g. on CRC operations.

Here is a simple fix: spali/go-rscp#71

@andig andig self-assigned this Dec 1, 2024
@andig andig added enhancement New feature or request and removed waiting for feedback Suspended progress labels Dec 1, 2024
@spali
Copy link

spali commented Dec 1, 2024

fixed on my end and released 0.2.1.

@andig
Copy link
Member

andig commented Dec 2, 2024

Closed in 45169e5

@andig andig closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants