Closed exo1987 closed 8 months ago
Hast du mehrere DTUs zum auslesen?
Guter Punkt... ich habe noch eine Hoymiles DTU im Einsatz. Das war aber bei 0.7.36 gar kein Thema. Da liefen beide parallel ohne Meldungen oder verlorene Pakete.
Das ist aber das Problem die Fehler 2 sind Zeitfehler - dh Pakete mit falschem Timestamp daher kommt das- in den älteren Versionen war das noch nicht drin bzw nicht ausgewertet. Immer nur eine DTU laufen lassen oder mit den Fehlern leben. Habe den auch wenn ich mal wieder was teste.
Ok, danke für den wertvollen Tipp. Dann schalte ich mal die HM DTU ab...
The description "Time calibration" for Event ID 2 was found in the Hoymiles S-Miles Installer application.
We have therefor renamed Event 2 from "DTU command failed" to "Time calibration" here https://github.com/lumapu/ahoy/commit/49ef94cb7a1435821816807697addb0108e1d00e in hmInverter.h
as described in https://github.com/tbnobody/OpenDTU/issues/121#issuecomment-1752124208.
We still do not know for sure when / why this event occurs, but it most likely has something to do with the timing of request / responses between the AhoyDTU and your inverter (think of a heartbeat request). Some of the requests we send do have a timestamp included and bad reception between DTU and inverter can cause retransmission of the request or part of the message. Maybe in such cases the timestamp has to be updated / validated ?
If you are using two DTUs the collision of such timed messages are to be expected. Hence you likely get a lot of Error / Events in such cases.
hat es Besserung gezeigt?
Ja, es sind fast keine Meldungen mehr vorhanden... trotzdem aktualisiert er bei einem 5 Sekundenintervall weitaus weniger oft als bei der 0.7.36. Bei der 0.8.51 sind es ca. 45 Sekunden.
hast du hierzu nochmal ein Log, um es zu nachzuvollziehen?
Sorry, hat etwas länger gedauert... hier das Log:
11:20:20.242 I: (#0) RX 37ms | 27 CH03 | 95 01 11:20:20.244 I: (#0) RX 151ms | 27 CH03 | 95 03 11:20:20.244 I: (#0) RX 194ms | 27 CH03 | 95 84 11:20:20.497 I: (#0) RX 11ms | 27 CH03 | 95 02 11:20:20.498 I: (#0) Payload (62) 11:20:20.500 ----- 11:20:20.501 I: com loop duration: 501ms 11:20:20.501 ----- 11:20:25.069 I: (#0) RX 22ms | 17 CH03 | 95 81 11:20:25.071 I: (#0) Payload (4) 11:20:25.071 I: (#0) Inv loss: 0 of 20, DTU loss: 10 of 47. ACKs: 20 11:20:25.072 ----- 11:20:25.073 I: com loop duration: 73ms 11:20:25.073 ----- 11:20:30.227 I: (#0) RX 22ms | 27 CH03 | 95 01 11:20:30.229 I: (#0) RX 76ms | 27 CH03 | 95 02 11:20:30.229 I: (#0) RX 180ms | 27 CH03 | 95 84 11:20:30.482 I: (#0) RX 32ms | 27 CH03 | 95 03 11:20:30.483 I: (#0) Payload (62) 11:20:30.485 ----- 11:20:30.486 I: com loop duration: 486ms 11:20:30.486 ----- 11:20:35.233 I: (#0) RX 28ms | 27 CH03 | 95 01 11:20:35.235 I: (#0) RX 82ms | 27 CH03 | 95 02 11:20:35.235 I: (#0) RX 185ms | 27 CH03 | 95 84 11:20:35.488 I: (#0) RX 35ms | 27 CH03 | 95 03 11:20:35.489 I: (#0) Payload (62) 11:20:35.491 ----- 11:20:35.492 I: com loop duration: 492ms 11:20:35.492 ----- 11:20:40.237 I: (#0) RX 34ms | 27 CH03 | 95 01 11:20:40.239 I: (#0) RX 138ms | 27 CH03 | 95 03 11:20:40.239 I: (#0) RX 189ms | 27 CH03 | 95 84 11:20:40.492 I: (#0) RX 32ms | 27 CH03 | 95 02 11:20:40.493 I: (#0) Payload (62) 11:20:40.495 ----- 11:20:40.496 I: com loop duration: 496ms 11:20:40.496 ----- 11:20:45.251 I: (#0) RX 38ms | 27 CH03 | 95 01 11:20:45.253 I: (#0) RX 100ms | 27 CH03 | 95 02 11:20:45.253 I: (#0) RX 203ms | 27 CH03 | 95 84 11:20:45.506 I: (#0) RX 24ms | 27 CH03 | 95 03 11:20:45.507 I: (#0) Payload (62) 11:20:45.509 ----- 11:20:45.510 I: com loop duration: 510ms 11:20:45.510 ----- 11:20:50.223 I: (#0) RX 18ms | 27 CH03 | 95 01 11:20:50.225 I: (#0) RX 72ms | 27 CH03 | 95 02 11:20:50.225 I: (#0) RX 176ms | 27 CH03 | 95 84 11:20:50.478 I: (#0) RX 33ms | 27 CH03 | 95 03 11:20:50.479 I: (#0) Payload (62) 11:20:50.481 ----- 11:20:50.482 I: com loop duration: 482ms 11:20:50.482 -----
Habe das selbe problem. Habe auch eine original HM DTU noch im einsatz..
10:18:59.128 I: (#0) RX 31ms | 27 CH03 | 95 01 10:18:59.262 I: (#0) RX 35ms | 27 CH03 | 95 04 10:18:59.526 I: (#0) RX 31ms | 27 CH03 | 95 05 10:18:59.660 I: (#0) RX 32ms | 27 CH03 | 95 06 10:18:59.662 ----- 10:18:59.663 I: com loop duration: 1551ms 10:18:59.663 ----- 10:19:13.863 I: (#0) RX 88ms | 27 CH03 | 95 02 10:19:13.865 I: (#0) RX 149ms | 27 CH03 | 95 03 10:19:13.866 I: (#0) RX 194ms | 27 CH75 | 95 04 10:19:13.867 I: (#0) RX 256ms | 27 CH75 | 95 05 10:19:13.868 I: (#0) RX 297ms | 27 CH75 | 95 06 10:19:13.869 I: (#0) RX 340ms | 27 CH61 | 95 07 10:19:13.871 I: (#0) RX 400ms | 13 CH61 | 95 88 10:19:13.007 I: (#0) RX 31ms | 27 CH03 | 95 01 10:19:13.009 I: (#0) Payload (112) 10:19:13.010 ----- 10:19:13.010 I: com loop duration: 899ms 10:19:13.010 ----- 10:19:28.613 ----- 10:19:28.614 I: com loop duration: 503ms 10:19:28.614 ----- 10:19:43.613 I: (#0) RX 76ms | 27 CH03 | 95 02 10:19:43.615 I: (#0) RX 141ms | 23 CH03 | 95 83 10:19:43.750 I: (#0) RX 37ms | 27 CH03 | 95 01 10:19:43.751 I: (#0) Payload (42) 10:19:43.752 I: alarm ID incremented to 1953 10:19:43.753 ----- 10:19:43.754 I: com loop duration: 643ms 10:19:43.754 ----- 10:19:58.863 I: (#0) RX 111ms | 27 CH03 | 95 02 10:19:58.865 I: (#0) RX 152ms | 27 CH03 | 95 03 10:19:58.866 I: (#0) RX 259ms | 27 CH75 | 95 05 10:19:58.867 I: (#0) RX 300ms | 27 CH75 | 95 06 10:19:58.868 I: (#0) RX 362ms | 27 CH75 | 95 07 10:19:58.869 I: (#0) RX 405ms | 27 CH61 | 95 08 10:19:58.871 I: (#0) RX 445ms | 27 CH61 | 95 09 10:19:58.874 I: (#0) RX 507ms | 27 CH61 | 95 0a 10:19:58.877 I: (#0) RX 550ms | 27 CH40 | 95 0b 10:19:58.881 I: (#0) RX 611ms | 19 CH40 | 95 8c 10:19:59.412 I: (#0) RX 31ms | 27 CH03 | 95 01 10:19:59.679 I: (#0) RX 37ms | 27 CH03 | 95 04 10:19:59.681 I: (#0) Payload (182) 10:19:59.683 ----- 10:19:59.683 I: com loop duration: 1572ms 10:19:59.684 ----- 10:20:13.613 I: (#0) RX 38ms | 27 CH03 | 95 01 10:20:13.615 I: (#0) RX 103ms | 27 CH03 | 95 02 10:20:14.979 I: (#0) RX 31ms | 23 CH03 | 95 83 10:20:14.981 I: (#0) Payload (42) 10:20:14.982 I: alarm ID incremented to 1958 10:20:14.983 ----- 10:20:14.983 I: com loop duration: 872ms 10:20:14.984 ----- 10:20:28.863 I: (#0) RX 79ms | 27 CH03 | 95 02 10:20:29.996 I: (#0) RX 31ms | 27 CH03 | 95 01 10:20:29.133 I: (#0) RX 32ms | 27 CH03 | 95 03 10:20:29.268 I: (#0) RX 32ms | 27 CH03 | 95 04 10:20:29.502 I: (#0) RX 34ms | 23 CH03 | 95 85 10:20:29.504 I: (#0) Payload (74) 10:20:29.505 ----- 10:20:29.505 I: com loop duration: 1395ms 10:20:29.506 ----- 10:20:43.613 I: (#0) RX 73ms | 27 CH03 | 95 02 10:20:43.615 I: (#0) RX 138ms | 23 CH03 | 95 83 10:20:43.751 I: (#0) RX 33ms | 27 CH03 | 95 01 10:20:43.753 I: (#0) Payload (42) 10:20:43.754 I: alarm ID incremented to 1961 10:20:43.755 ----- 10:20:43.755 I: com loop duration: 645ms 10:20:43.756 ----- 10:20:58.863 I: (#0) RX 68ms | 27 CH03 | 95 02 10:20:58.865 I: (#0) RX 131ms | 27 CH03 | 95 03 10:20:58.866 I: (#0) RX 177ms | 27 CH75 | 95 84 10:20:59.999 I: (#0) RX 31ms | 27 CH03 | 95 01 10:20:58.000 W: (#0) CRC Error -> complete retransmit 10:20:58.001 ----- 10:20:58.001 I: com loop duration: 891ms 10:20:58.002 ----- 10:21:13.863 I: (#0) RX 87ms | 27 CH03 | 95 02 10:21:13.865 I: (#0) RX 148ms | 27 CH03 | 95 03 10:21:14.262 I: (#0) RX 32ms | 27 CH03 | 95 01 10:21:14.365 I: (#0) RX 31ms | 23 CH03 | 95 83 10:21:14.366 W: (#0) CRC Error -> complete retransmit 10:21:14.367 ----- 10:21:14.367 I: com loop duration: 1256ms 10:21:14.368 ----- 10:21:28.863 I: (#0) RX 81ms | 27 CH03 | 95 02 10:21:28.865 I: (#0) RX 143ms | 27 CH03 | 95 03 10:21:28.866 I: (#0) RX 249ms | 27 CH75 | 95 05 10:21:28.867 I: (#0) RX 290ms | 27 CH75 | 95 06 10:21:28.868 I: (#0) RX 333ms | 27 CH61 | 95 87 10:21:29.135 I: (#0) RX 32ms | 27 CH03 | 95 01 10:21:29.238 I: (#0) RX 31ms | 23 CH03 | 95 83 10:21:29.240 W: (#0) CRC Error -> complete retransmit 10:21:29.240 ----- 10:21:29.241 I: com loop duration: 1130ms 10:21:29.241 ----- 10:21:43.863 ----- 10:21:43.864 I: com loop duration: 753ms 10:21:43.864 ----- 10:21:58.863 I: (#0) RX 40ms | 27 CH03 | 95 01 10:21:59.393 I: (#0) RX 32ms | 27 CH03 | 95 02 10:21:59.527 I: (#0) RX 32ms | 27 CH03 | 95 03 10:21:59.662 I: (#0) RX 32ms | 27 CH03 | 95 04 10:21:59.796 I: (#0) RX 32ms | 27 CH03 | 95 05 10:22:00.931 I: (#0) RX 32ms | 27 CH03 | 95 06 10:22:00.932 ----- 10:22:00.933 I: com loop duration: 1822ms 10:22:00.933 ----- 10:22:13.863 ----- 10:22:13.864 I: com loop duration: 753ms 10:22:13.864 ----- 10:22:28.863 I: (#0) RX 78ms | 27 CH03 | 95 02 10:22:29.998 I: (#0) RX 32ms | 27 CH03 | 95 01 10:22:29.265 I: (#0) RX 32ms | 27 CH03 | 95 03 10:22:29.399 I: (#0) RX 31ms | 27 CH03 | 95 04 10:22:29.532 I: (#0) RX 34ms | 27 CH03 | 95 05 10:22:29.666 I: (#0) RX 32ms | 27 CH03 | 95 06 10:22:29.800 I: (#0) RX 32ms | 27 CH03 | 95 07 10:22:30.935 I: (#0) RX 32ms | 27 CH03 | 95 08 10:22:30.936 ----- 10:22:30.937 I: com loop duration: 1826ms 10:22:30.937 ----- 10:22:43.863 I: (#0) RX 72ms | 27 CH03 | 95 02 10:22:43.865 I: (#0) RX 136ms | 27 CH03 | 95 03 10:22:43.866 I: (#0) RX 182ms | 27 CH75 | 95 04 10:22:43.867 I: (#0) RX 222ms | 27 CH75 | 95 05 10:22:43.868 I: (#0) RX 286ms | 27 CH61 | 95 06 10:22:43.869 I: (#0) RX 327ms | 27 CH61 | 95 07 10:22:43.871 I: (#0) RX 389ms | 27 CH61 | 95 08 10:22:43.874 I: (#0) RX 432ms | 27 CH40 | 95 09 10:22:43.878 I: (#0) RX 472ms | 27 CH40 | 95 0a 10:22:43.881 I: (#0) RX 534ms | 27 CH40 | 95 0b 10:22:43.884 I: (#0) RX 577ms | 19 CH23 | 95 8c 10:22:43.019 I: (#0) RX 32ms | 27 CH03 | 95 01 10:22:43.021 I: (#0) Payload (182) 10:22:43.023 ----- 10:22:43.023 I: com loop duration: 912ms 10:22:43.024 ----- 10:22:58.613 I: (#0) RX 38ms | 17 CH03 | 95 81 10:22:58.615 I: (#0) Payload (4) 10:22:58.616 ----- 10:22:58.616 I: com loop duration: 505ms 10:22:58.617 ----- 10:23:13.613 I: (#0) RX 86ms | 27 CH03 | 95 02 10:23:13.615 I: (#0) RX 146ms | 23 CH03 | 95 83 10:23:13.748 I: (#0) RX 31ms | 27 CH03 | 95 01 10:23:13.750 I: (#0) Payload (42) 10:23:13.751 I: alarm ID incremented to 1977 10:23:13.752 ----- 10:23:13.752 I: com loop duration: 641ms 10:23:13.753 ----- 10:23:28.863 I: (#0) RX 80ms | 27 CH03 | 95 02 10:23:28.866 I: (#0) RX 142ms | 27 CH03 | 95 03 10:23:28.867 I: (#0) RX 249ms | 27 CH75 | 95 05 10:23:28.000 I: (#0) RX 31ms | 27 CH03 | 95 01 10:23:29.136 I: (#0) RX 33ms | 27 CH03 | 95 04 10:23:29.272 I: (#0) RX 32ms | 27 CH03 | 95 06 10:23:29.404 I: (#0) RX 33ms | 27 CH03 | 95 07 10:23:29.538 I: (#0) RX 31ms | 27 CH03 | 95 08 10:23:29.673 I: (#0) RX 32ms | 27 CH03 | 95 09 10:23:29.807 I: (#0) RX 32ms | 27 CH03 | 95 0a 10:23:30.940 ----- 10:23:30.941 I: com loop duration: 1830ms 10:23:30.941 ----- 10:23:43.863 I: (#0) RX 75ms | 27 CH03 | 95 02 10:23:43.865 I: (#0) RX 138ms | 27 CH03 | 95 03 10:23:43.866 I: (#0) RX 225ms | 27 CH75 | 95 05 10:23:44.968 I: (#0) RX 31ms | 15 CH03 | 95 81 10:23:44.970 I: (#0) Payload (2) 10:23:44.971 ----- 10:23:44.971 I: com loop duration: 861ms 10:23:44.972 ----- 10:23:58.863 I: (#0) RX 39ms | 27 CH03 | 95 01 10:23:59.997 I: (#0) RX 32ms | 27 CH03 | 95 02 10:23:59.134 I: (#0) RX 37ms | 27 CH03 | 95 03 10:23:59.399 I: (#0) RX 31ms | 27 CH03 | 95 04 10:23:59.533 I: (#0) RX 31ms | 27 CH03 | 95 05 10:23:59.668 I: (#0) RX 32ms | 27 CH03 | 95 06 10:23:59.802 I: (#0) RX 33ms | 27 CH03 | 95 07 10:24:00.936 ----- 10:24:00.936 I: com loop duration: 1825ms 10:24:00.937 ----- 10:24:13.863 I: (#0) RX 107ms | 27 CH23 | 95 02 10:24:13.865 I: (#0) RX 150ms | 27 CH03 | 95 03 10:24:13.866 I: (#0) RX 256ms | 27 CH75 | 95 05 10:24:13.867 I: (#0) RX 297ms | 27 CH75 | 95 06 10:24:13.868 I: (#0) RX 338ms | 27 CH75 | 95 07 10:24:13.869 I: (#0) RX 402ms | 27 CH61 | 95 08 10:24:13.871 I: (#0) RX 443ms | 27 CH61 | 95 09 10:24:13.874 I: (#0) RX 504ms | 27 CH61 | 95 0a 10:24:13.878 I: (#0) RX 547ms | 27 CH40 | 95 0b 10:24:13.881 I: (#0) RX 589ms | 19 CH40 | 95 8c 10:24:13.017 I: (#0) RX 32ms | 27 CH03 | 95 01 10:24:14.154 I: (#0) RX 37ms | 27 CH03 | 95 04 10:24:14.156 I: (#0) Payload (182) 10:24:14.157 ----- 10:24:14.158 I: com loop duration: 1047ms 10:24:14.159 ----- 10:24:28.613 I: (#0) RX 40ms | 27 CH03 | 95 01 10:24:28.615 I: (#0) RX 105ms | 27 CH03 | 95 02 10:24:28.848 I: (#0) RX 31ms | 23 CH03 | 95 83 10:24:28.849 I: (#0) Payload (42) 10:24:28.851 I: alarm ID incremented to 1988 10:24:28.852 ----- 10:24:28.852 I: com loop duration: 741ms 10:24:28.853 ----- 10:24:43.863 I: (#0) RX 72ms | 27 CH03 | 95 02 10:24:43.865 I: (#0) RX 136ms | 27 CH03 | 95 03 10:24:43.866 I: (#0) RX 181ms | 27 CH75 | 95 04 10:24:43.867 I: (#0) RX 222ms | 27 CH75 | 95 05 10:24:43.868 I: (#0) RX 285ms | 27 CH61 | 95 06 10:24:43.869 I: (#0) RX 326ms | 27 CH61 | 95 07 10:24:43.871 I: (#0) RX 388ms | 27 CH61 | 95 08 10:24:43.874 I: (#0) RX 431ms | 27 CH40 | 95 09 10:24:43.878 I: (#0) RX 470ms | 15 CH40 | 95 8a 10:24:43.014 I: (#0) RX 32ms | 27 CH03 | 95 01 10:24:43.016 I: (#0) Payload (146) 10:24:43.017 ----- 10:24:43.018 I: com loop duration: 907ms 10:24:43.018 ----- 10:24:58.613 I: (#0) RX 66ms | 27 CH03 | 95 02 10:24:58.615 I: (#0) RX 131ms | 23 CH03 | 95 83 10:24:58.748 I: (#0) RX 32ms | 27 CH03 | 95 01 10:24:58.750 I: (#0) Payload (42) 10:24:58.751 I: alarm ID incremented to 1991 10:24:58.752 ----- 10:24:58.752 I: com loop duration: 642ms 10:24:58.753 ----- 10:25:13.863 ----- 10:25:13.864 I: com loop duration: 753ms 10:25:13.864 -----
Keine andere DTU dabei - ist dann normal das die Fehler kommen !!!
Platform
ESP32
Assembly
the DTU was already assembled
nRF24L01+ Module
nRF24L01+ plus
Antenna
external antenna
Power Stabilization
Elko (~100uF)
Connection picture
Version
0.8.48
Github Hash
3c5be9a
Build & Flash Method
AhoyDTU Webinstaller
Setup
MQTT intervall = 0 inverter intervall = 5 sec reset at midnight HM1200 (3 of 4 panels connected) no power limit One inverter
Debug Serial Log output
Error description
Hallo zusammen,
die Firmware 0.7.36 lief bei mir bisher immer am stabilsten. Alle 0.8.*** führten bisher immer zu sehr schlechten Funkstatistiken, bei denen die failed- und lost Raten höher waren, als die Rate für den erfolgreichen Empfang. Die aktuelle 0.8.48 funktioniert jedoch mal wieder einigermaßen stabil.
Bei einem 5 Sekunden Intervall für die Abfrage, erhalte ich ca. alle 10-50 Sekunden Antworten zurück (für mich vollkommen ausreichend). Jedoch schießen die Meldungen enorm in die Höhe. Seit heute morgen habe ich ca. 17.300 mal die Meldung "Time calibration" erhalten.
Bei der Firmware 0.7.36 hatte ich am Ende des Tages überhaupt keine Meldung. Liegt das daran, dass nur 3 von 4 Panels am Inverter angeschlossen sind?
Ich hoffe ihr könnt mir hier weiterhelfen...
Viele Grüße Exo1987