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

Huawei R4850 CAN Kommunikation bricht ab #387

Closed
indie89 opened this issue Aug 16, 2023 · 7 comments
Closed

Huawei R4850 CAN Kommunikation bricht ab #387

indie89 opened this issue Aug 16, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@indie89
Copy link

indie89 commented Aug 16, 2023

What happened?

Seit der ersten Version im August (und seitdem bei allen weiteren) habe ich nach ein paar Minuten nach Start von openDTU, in denen die CAN Kommunikation mit dem Huawei R4850 gut funktioniert, einen Verbindungsabbruch. Und auf die "Sending Requests" kommt keine Antwort mehr.

Wenn ich wieder die letzte Version im Juli installiere (ist glaub die 24.7.23 Version) funktioniert alles wieder super. Ist mit der August Version etwas verändert worden, was dieses Verhalten hervorrufen kann? Log siehe unten (ist aber wenig aussagekräftig). Wichtig beim LOG: ich habe hinten raus mein Skript, das das Laden der Batterie steuert, pausiert, um zu schauen, ob es daran liegt. Daher kommt dann kein "Limit Voltage" und "Limit Current" mehr...

Grundsätzlich komme ich mit der Version 2023.07.24 gut zurecht, ich möchte nur nicht auf alle Ewigkeit von Weiterentwicklungen abgeschnitten sein ;-).

To Reproduce Bug

Ab den August Versionen bricht die CAN Kommunikation mit dem R4850 nach ein paar Minuten automatisch ab.

Expected Behavior

Die CAN Kommunikation sollte stabil aufrechterhalten werden.

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

seit 2023.08.01 bis inkl 2023.08.10.post1 (also der neuesten Version)

Relevant log/trace output

09:15:13.127 > [HUAWEI********************* Sending request
09:15:13.242 > [HuaweiCanClass::onReceive] In:  229.94V, 1.27A, 408.52W
09:15:13.242 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.95A of 5.90A, 315.96W
09:15:13.242 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 36.0C09:15:15.598 > Admin AP remaining seconds: 20 / 180
09:15:18.119 > [HUAWEI********************* Sending request
09:15:22.253 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:15:22.253 > Limit Voltage: 55.400002 V
09:15:22.342 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:15:22.342 > Limit Current: 6.000000 A
09:15:23.125 > [HUAWEI********************* Sending request
09:15:23.197 > [HuaweiCanClass::onReceive] In:  229.94V, 1.27A, 357.72W
09:15:23.197 > [HuaweiCanClass::onReceive] Out: 52.91V, 6.06A of 6.00A, 318.37W
09:15:23.197 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 36.0C09:15:25.621 > Admin AP remaining seconds: 30 / 180
09:15:28.132 > [HUAWEI********************* Sending request
09:15:28.286 > [HuaweiCanClass::onReceive] In:  229.94V, 1.27A, 361.84W
09:15:28.286 > [HuaweiCanClass::onReceive] Out: 52.91V, 6.02A of 6.00A, 318.37W
09:15:28.286 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 36.0C09:15:32.186 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:15:32.186 > Limit Voltage: 55.400002 V
09:15:32.354 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:15:32.354 > Limit Current: 6.000000 A
09:15:33.134 > [HUAWEI********************* Sending request
09:15:33.191 > [HuaweiCanClass::onReceive] In:  229.94V, 1.27A, 361.84W
09:15:33.191 > [HuaweiCanClass::onReceive] Out: 52.91V, 6.06A of 6.00A, 319.61W
09:15:33.191 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 36.0C09:15:35.627 > Admin AP remaining seconds: 40 / 180
09:15:38.139 > [HUAWEI********************* Sending request
09:15:38.223 > [HuaweiCanClass::onReceive] In:  229.31V, 1.27A, 363.25W
09:15:38.223 > [HuaweiCanClass::onReceive] Out: 52.91V, 6.11A of 6.00A, 325.61W
09:15:38.223 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 36.0C09:15:42.221 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:15:42.221 > Limit Voltage: 55.400002 V
09:15:42.372 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:15:42.372 > Limit Current: 6.100000 A
09:15:43.140 > [HUAWEI********************* Sending request
09:15:45.647 > Admin AP remaining seconds: 50 / 180
09:15:48.311 > [HUAWEI********************* Sending request
09:15:48.462 > [HuaweiCanClass::onReceive] In:  229.12V, 1.27A, 371.47W
09:15:48.462 > [HuaweiCanClass::onReceive] Out: 52.91V, 6.15A of 6.10A, 324.47W
09:15:48.462 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 37.0C09:15:52.166 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:15:52.167 > Limit Voltage: 55.400002 V
09:15:52.379 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:15:52.379 > Limit Current: 6.100000 A
09:15:53.292 > [HUAWEI********************* Sending request
09:15:55.663 > Admin AP remaining seconds: 60 / 180
09:15:58.297 > [HUAWEI********************* Sending request
09:16:02.142 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:16:02.142 > Limit Voltage: 55.400002 V
09:16:02.405 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:16:02.405 > Limit Current: 6.200000 A
09:16:03.309 > [HUAWEI********************* Sending request
09:16:05.678 > Admin AP remaining seconds: 70 / 180
09:16:10.308 > [HUAWEI********************* Sending request
09:16:12.150 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:16:12.151 > Limit Voltage: 55.400002 V
09:16:12.212 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:16:12.212 > Limit Current: 6.300000 A
09:16:15.960 > Websocket: [/batterylivedata][1] disconnect
09:16:16.029 > [HUAWEI********************* Sending request
09:16:19.130 > Admin AP remaining seconds: 80 / 180
09:16:21.105 > [HUAWEI********************* Sending request
09:16:22.157 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:16:22.157 > Limit Voltage: 55.400002 V
09:16:22.212 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:16:22.212 > Limit Current: 5.600000 A
09:16:24.632 > Websocket: [/huaweilivedata][1] disconnect
09:16:26.170 > [HUAWEI********************* Sending request
09:16:26.350 > [HuaweiCanClass::onReceive] In:  228.66V, 1.27A, 381.25W
09:16:26.350 > [HuaweiCanClass::onReceive] Out: 52.93V, 5.65A of 6.20A, 299.16W
09:16:26.350 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 37.0C09:16:29.645 > Admin AP remaining seconds: 90 / 180
09:16:31.175 > [HUAWEI********************* Sending request
09:16:31.268 > [HuaweiCanClass::onReceive] In:  228.66V, 1.27A, 340.00W
09:16:31.268 > [HuaweiCanClass::onReceive] Out: 52.93V, 5.65A of 5.60A, 297.97W
09:16:31.268 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 37.0C09:16:32.190 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:16:32.190 > Limit Voltage: 55.400002 V
09:16:32.254 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:16:32.254 > Limit Current: 6.100000 A
09:16:36.178 > [HUAWEI********************* Sending request
09:16:39.667 > Admin AP remaining seconds: 100 / 180
09:16:41.183 > [HUAWEI********************* Sending request
09:16:42.230 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:16:42.230 > Limit Voltage: 55.400002 V
09:16:42.293 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:16:42.293 > Limit Current: 5.000000 A
09:16:46.184 > [HUAWEI********************* Sending request
09:16:46.243 > [HuaweiCanClass::onReceive] In:  229.22V, 1.27A, 367.50W
09:16:46.243 > [HuaweiCanClass::onReceive] Out: 52.93V, 5.04A of 5.00A, 266.45W
09:16:46.243 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 38.0C09:16:51.108 > Admin AP remaining seconds: 110 / 180
09:16:51.186 > [HUAWEI********************* Sending request
09:16:56.217 > [HUAWEI********************* Sending request
09:16:56.285 > [HuaweiCanClass::onReceive] In:  229.06V, 1.27A, 305.58W
09:16:56.285 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.15A of 5.00A, 271.25W
09:16:56.285 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 38.0C09:16:59.713 > Admin AP remaining seconds: 120 / 180
09:17:01.238 > [HUAWEI********************* Sending request
09:17:02.650 > [HuaweiCanClass::onReceive] In:  229.06V, 1.27A, 308.28W
09:17:02.650 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.08A of 5.00A, 268.87W
09:17:02.650 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 38.0C09:17:07.873 > [HUAWEI********************* Sending request
09:17:12.198 > [HuaweiCanClass::onReceive] In:  229.06V, 1.27A, 305.58W
09:17:12.198 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.01A of 5.00A, 265.20W
09:17:12.198 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 38.0C09:17:15.563 > [HUAWEI********************* Sending request
09:17:16.171 > Admin AP remaining seconds: 130 / 180
09:17:20.468 > [HUAWEI********************* Sending request
09:17:25.660 > [HUAWEI********************* Sending request
09:17:26.475 > Admin AP remaining seconds: 140 / 180
09:17:29.412 > Websocket: [/huaweilivedata][2] connect
09:17:30.511 > [HUAWEI********************* Sending request
09:17:30.567 > [HuaweiCanClass::onReceive] In:  228.75V, 1.27A, 308.28W
09:17:30.567 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.13A of 5.00A, 271.25W
09:17:30.567 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 25.0C, Temp out: 38.0C09:17:32.323 > Websocket: [/batterylivedata][2] connect
09:17:35.527 > [HUAWEI********************* Sending request
09:17:36.530 > Admin AP remaining seconds: 150 / 180
09:17:40.662 > [HUAWEI********************* Sending request
09:17:45.853 > [HUAWEI********************* Sending request
09:17:46.065 > [HuaweiCanClass::onReceive] In:  229.06V, 1.33A, 305.58W
09:17:46.065 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.15A of 5.00A, 267.64W
09:17:46.065 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 38.0C09:17:49.238 > Admin AP remaining seconds: 160 / 180
09:17:50.774 > [HUAWEI********************* Sending request
09:17:50.831 > [HuaweiCanClass::onReceive] In:  229.06V, 1.33A, 309.69W
09:17:50.831 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.08A of 5.00A, 266.45W
09:17:50.831 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 38.0C09:17:56.107 > [HUAWEI********************* Sending request
09:17:56.969 > Admin AP remaining seconds: 170 / 180
09:18:02.453 > [HUAWEI********************* Sending request
09:18:02.513 > [HuaweiCanClass::onReceive] In:  229.03V, 1.33A, 301.41W
09:18:02.513 > [HuaweiCanClass::onReceive] Out: 52.91V, 4.99A of 5.00A, 264.02W
09:18:02.513 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 38.0C09:18:07.487 > [HUAWEI********************* Sending request
09:18:07.619 > [HuaweiCanClass::onReceive] In:  229.03V, 1.33A, 301.41W
09:18:07.619 > [HuaweiCanClass::onReceive] Out: 52.91V, 4.97A of 5.00A, 264.02W
09:18:07.619 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 38.0C09:18:08.404 > Admin AP remaining seconds: 180 / 180
09:18:09.435 > Admin mode disabled
09:18:12.408 > [HUAWEI********************* Sending request
09:18:12.531 > [HuaweiCanClass::onReceive] In:  229.03V, 1.33A, 302.82W
09:18:12.531 > [HuaweiCanClass::onReceive] Out: 52.91V, 4.97A of 5.00A, 264.02W
09:18:12.531 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 38.0C09:18:17.396 > [HUAWEI********************* Sending request
09:18:22.404 > [HUAWEI********************* Sending request
09:18:27.405 > [HUAWEI********************* Sending request
09:18:32.413 > [HUAWEI********************* Sending request
09:18:32.486 > [HuaweiCanClass::onReceive] In:  229.03V, 1.33A, 309.69W
09:18:32.486 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.17A of 5.00A, 272.49W
09:18:32.486 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:18:37.441 > [HUAWEI********************* Sending request
09:18:42.415 > [HUAWEI********************* Sending request
09:18:47.431 > [HUAWEI********************* Sending request
09:18:47.486 > [HuaweiCanClass::onReceive] In:  229.41V, 1.33A, 302.82W
09:18:47.486 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.08A of 5.00A, 272.49W
09:18:47.486 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:18:52.431 > [HUAWEI********************* Sending request
09:18:52.488 > [HuaweiCanClass::onReceive] In:  229.41V, 1.33A, 304.17W
09:18:52.488 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.15A of 5.00A, 272.49W
09:18:52.488 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:18:53.362 > Websocket: [/huaweilivedata][2] disconnect
09:18:53.362 > Websocket: [/batterylivedata][2] disconnect
09:18:53.503 > Websocket: [/livedata][1] disconnect
09:18:53.503 > Websocket: [/vedirectlivedata][1] disconnect
09:18:57.438 > [HUAWEI********************* Sending request
09:18:57.617 > [HuaweiCanClass::onReceive] In:  230.06V, 1.33A, 309.69W
09:18:57.617 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.17A of 5.00A, 272.49W
09:18:57.617 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:19:02.213 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:02.213 > Limit Voltage: 55.400002 V
09:19:02.320 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:02.320 > Limit Current: 6.900000 A
09:19:02.438 > [HUAWEI********************* Sending request
09:19:02.499 > [HuaweiCanClass::onReceive] In:  229.97V, 1.33A, 308.28W
09:19:02.499 > [HuaweiCanClass::onReceive] Out: 52.91V, 5.20A of 5.00A, 272.49W
09:19:02.499 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:19:07.478 > [HUAWEI********************* Sending request
09:19:12.251 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:12.251 > Limit Voltage: 55.400002 V
09:19:12.323 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:12.323 > Limit Current: 5.300000 A
09:19:12.446 > [HUAWEI********************* Sending request
09:19:12.503 > [HuaweiCanClass::onReceive] In:  229.97V, 1.33A, 418.50W
09:19:12.503 > [HuaweiCanClass::onReceive] Out: 52.95V, 6.22A of 5.30A, 272.49W
09:19:12.503 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 39.0C09:19:17.449 > [HUAWEI********************* Sending request
09:19:22.182 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:22.182 > Limit Voltage: 55.400002 V
09:19:22.337 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:22.337 > Limit Current: 6.900000 A
09:19:22.487 > [HUAWEI********************* Sending request
09:19:27.456 > [HUAWEI********************* Sending request
09:19:32.224 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:32.224 > Limit Voltage: 55.400002 V
09:19:32.347 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:32.347 > Limit Current: 7.100000 A
09:19:32.528 > [HUAWEI********************* Sending request
09:19:32.590 > [HuaweiCanClass::onReceive] In:  229.88V, 1.86A, 422.78W
09:19:32.590 > [HuaweiCanClass::onReceive] Out: 52.97V, 7.09A of 7.10A, 272.49W
09:19:32.590 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:19:37.460 > [HUAWEI********************* Sending request
09:19:42.166 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:42.166 > Limit Voltage: 55.400002 V
09:19:42.380 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:42.380 > Limit Current: 7.100000 A
09:19:42.459 > [HUAWEI********************* Sending request
09:19:42.561 > [HuaweiCanClass::onReceive] In:  229.81V, 1.86A, 436.54W
09:19:42.561 > [HuaweiCanClass::onReceive] Out: 52.97V, 7.25A of 7.10A, 382.91W
09:19:42.561 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:19:47.466 > [HUAWEI********************* Sending request
09:19:47.589 > [HuaweiCanClass::onReceive] In:  229.81V, 1.86A, 435.19W
09:19:47.589 > [HuaweiCanClass::onReceive] Out: 52.97V, 7.18A of 7.10A, 382.91W
09:19:47.589 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:19:52.185 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:19:52.185 > Limit Voltage: 55.400002 V
09:19:52.373 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:19:52.373 > Limit Current: 7.200000 A
09:19:52.488 > [HUAWEI********************* Sending request
09:19:52.600 > [HuaweiCanClass::onReceive] In:  229.84V, 1.86A, 432.36W
09:19:52.600 > [HuaweiCanClass::onReceive] Out: 52.97V, 7.21A of 7.10A, 378.05W
09:19:52.600 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:19:57.466 > [HUAWEI********************* Sending request
09:19:57.612 > [HuaweiCanClass::onReceive] In:  229.97V, 1.86A, 429.66W
09:19:57.612 > [HuaweiCanClass::onReceive] Out: 52.99V, 7.27A of 7.10A, 378.05W
09:19:57.612 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:20:02.150 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:02.150 > Limit Voltage: 55.400002 V
09:20:02.230 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:02.230 > Limit Current: 7.000000 A
09:20:02.483 > [HUAWEI********************* Sending request
09:20:07.509 > [HUAWEI********************* Sending request
09:20:07.709 > [HuaweiCanClass::onReceive] In:  229.91V, 1.85A, 424.29W
09:20:07.709 > [HuaweiCanClass::onReceive] Out: 52.99V, 7.04A of 7.00A, 378.05W
09:20:07.709 > [HuaweiCanClass::onReceive] Eff: 88.0%, Temp in: 26.0C, Temp out: 40.0C09:20:12.667 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:12.667 > Limit Voltage: 55.400002 V
09:20:12.667 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:12.667 > Limit Current: 7.100000 A
09:20:12.915 > [HUAWEI********************* Sending request
09:20:17.839 > [HUAWEI********************* Sending request
09:20:30.415 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:30.415 > Limit Voltage: 55.400002 V
09:20:30.415 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:30.415 > Limit Current: 7.100000 A
09:20:37.148 > [HUAWEI********************* Sending request
09:20:37.148 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:37.148 > Limit Voltage: 55.400002 V
09:20:37.148 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:37.148 > Limit Current: 7.100000 A
09:20:37.236 > [HUAWEI********************* Sending request
09:20:42.247 > [HUAWEI********************* Sending request
09:20:42.247 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:42.247 > Limit Voltage: 55.400002 V
09:20:42.247 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:42.247 > Limit Current: 7.200000 A
09:20:47.233 > [HUAWEI********************* Sending request
09:20:52.258 > [HUAWEI********************* Sending request
09:20:52.258 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:20:52.258 > Limit Voltage: 55.400002 V
09:20:52.258 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:20:52.258 > Limit Current: 7.100000 A
09:20:57.251 > [HUAWEI********************* Sending request
09:21:02.282 > [HUAWEI********************* Sending request
09:21:02.282 > Received MQTT message on topic: solar/huawei/cmd/limit_online_voltage
09:21:02.282 > Limit Voltage: 55.400002 V
09:21:02.282 > Received MQTT message on topic: solar/huawei/cmd/limit_online_current
09:21:02.282 > Limit Current: 7.200000 A
09:21:07.256 > [HUAWEI********************* Sending request
09:21:12.263 > [HUAWEI********************* Sending request
09:21:17.274 > [HUAWEI********************* Sending request
09:21:22.270 > [HUAWEI********************* Sending request
09:21:27.280 > [HUAWEI********************* Sending request
09:21:32.305 > [HUAWEI********************* Sending request
09:21:37.291 > [HUAWEI********************* Sending request
09:21:42.302 > [HUAWEI********************* Sending request
09:21:47.303 > [HUAWEI********************* Sending request
09:21:52.308 > [HUAWEI********************* Sending request
09:21:57.308 > [HUAWEI********************* Sending request
09:22:02.321 > [HUAWEI********************* Sending request
09:22:07.324 > [HUAWEI********************* Sending request
09:22:12.335 > [HUAWEI********************* Sending request

Anything else?

No response

@indie89 indie89 added the bug Something isn't working label Aug 16, 2023
@bf4ed
Copy link

bf4ed commented Aug 16, 2023

Kann ich bestätigen, ich hab das gleiche problem mit August Versionen.

@MalteSchm
Copy link

MalteSchm commented Aug 18, 2023

@indie89 @bf4ed
Wenn ihr möchtet könnt ihr mal diesen Branch bauen und testen: https://github.com/MalteSchm/OpenDTU-OnBattery/tree/huawei_interval_fix

In dieser Version läuft die Huawei CAN Bus Kommunikation in einem eigenen Thread. Damit werden bei mir typischerweise alle Daten empfangen. Ich habe beim Testen allerdings dieses Stabilitätsproblem festgestellt. #381
Ich habe damit normalerweise so Uptimes von mehreren Stunden aber es ist nicht so stabil wie vor der Änderung. Ich vermute das diese Abstürze mit der Anzeige des Webinterfaces zusammenhängen und damit irgendein Seiteneffekt sind
Ich konnte aber da noch nicht weiter machen.

Der Modus bei dem das Huawei Netzteil automatisch geregelt wird ist ungetestet. Allgemein habe ich nur das setzen von Werten über das Webinterface geprüft, per MQTT sollte aber auch gehen. Bitte nur unter Aufsicht nutzen.

@indie89
Copy link
Author

indie89 commented Aug 29, 2023

Danke, malte, ich probiere das gerne aus! Leider hab ich keine Ahnung, wie ich den branch baue / kompiliere... Hättest du da ne Link zu einer Erklärung/kurzem Tutorial? Ich nutze sonst immer die pre compiled versions... oder düwrdest du mir eine bin bauen :-)?

@MalteSchm
Copy link

MalteSchm commented Aug 30, 2023

firmware.zip
Ich habe das mal hier angehängt. Das ist meine aktuelle FW. Achtung: Diese unterstützt keine HTTPS requests beim Power Meter (nur HTTP). Weil: #381

Ich hatte damit in den letzten 3 Tagen einen Restart den ich leider nicht geloggt habe. Permanentes Logging läuft gerade.
Ist aber jetzt schon die stabilste Version die ich in den letzten 3 Monaten hatte.

@MalteSchm
Copy link

Fixed in #454
I think we can close this issue

@indie89
Copy link
Author

indie89 commented Oct 5, 2023

The combination of 3 actions fixed the problem (where action 3 might also work stand alone as a solution):

  1. Installing a capacitor 220yF to the power connection.
  2. Use Vin instead of USB-C to power the ESP (see Wifi stability solution (for ESP32 Wroom USB-C) #458)
  3. Move Huawei CAN communication to separate thread (see Move Huawei CAN bus communication to separate thread #454)

@indie89 indie89 closed this as completed Oct 5, 2023
Copy link

github-actions bot commented Apr 4, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants