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

GridProfile/TOR Einstellung ändern #96

Closed
martin-at-schorsch opened this issue Jul 7, 2022 · 12 comments
Closed

GridProfile/TOR Einstellung ändern #96

martin-at-schorsch opened this issue Jul 7, 2022 · 12 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@martin-at-schorsch
Copy link

Die Konfiguration der passenden TOR-Einstellungen wäre nötig damit der Betrieb in Österreich oder Deutschland erlaubt ist.
Dies ist wohl über die DTU problemlos möglich. Es gibt Profile für Österreich (AT_TOR_Erzeuger_default) und Deutschland die über den Standort der Anlage ganz einfach festgelegt werden können.

Daher wäre es perfekt wenn diese Feature eingebaut werden könnte damit man auch für die Installation keinen DTU benötigt.

@stefan123t
Copy link
Collaborator

Hallo @martin-at-schorsch ich vermute das sind die GridProfile's die man mit der offiziellen DTU einstellen kann.

Soweit ich es verstanden habe wird dabei der Wechselrichter abgefragt und liefert 1200 Datenpunkte seiner Inverterkurve, praktisch die komplette Sinus-Kurve einmal als Fensterfunktion.

Die Daten liegen (/lagen früher) unter Download/GridProfilesList.txt bzw /Download/GridProfilesList.hex und /Config/Grid_Profiles_Cfg_Data.dat auf dem fatfs der DTU. Ich vermute man kann über den USB Port einen Stick mit den Dateien anschließen, analog zum DTU / MI Program upgrade /Download/DTUProgram.hex bzw. /Download/MIProgram.hex.

Schau Dir doch mal die Methoden UsartNrf_Send_PackUpdateGridOnProFile() bzw. UsartNrf3_Send_PackUpdateGridOnProFile in UsartNrf3_Process_DevInform_GridOnFile() und UsartNrf3_Process_DevInform_RecordWave() an.

RecordData 0x13 und GridOnProFilePara 0x02 sind beides SubCmd für das MainCmd REQ_ARW_DAT_ALL 0x15.

@martin-at-schorsch
Copy link
Author

da ich keinen DTU haben kommen ich an diese Daten leider nicht.

@stefan123t
Copy link
Collaborator

@martin-at-schorsch es gibt ein gitee repository (iotloves) mit dem vermeintlichen original source code der hoymiles-DTU-PRO software auf dem stm32f4xx.

@martin-at-schorsch
Copy link
Author

@stefan123t leider finde ich mit deinem Hinweis kein Repository. zZ habe ich den Wechselrichter auch noch nicht im Betrieb, bin da noch in Vorbereitung.

@stefan123t
Copy link
Collaborator

@martin-at-schorsch im Forum Thread mal nach "iotloves" oder "gitee" suchen ... das hat ein Leser in China entdeckt und den/die Links gepostet. Wie gesagt das iotloves ist aktuell das interessanteste der drei Repos.

@unhold
Copy link

unhold commented Jul 19, 2022

The repo with the DTU firmwares is here: https://gitee.com/iotloves/projects

@unhold
Copy link

unhold commented Jul 19, 2022

If you don't want to register at Gitee you can directly clone it from https://gitee.com/iotloves/hoymiles-DTU-PRO.git

@stefan123t
Copy link
Collaborator

@martin-at-schorsch hast Du in der Zwischenzeit etwas zu den Grid Profiles herausgefunden.
Bitte erwähne doch noch GridProfile im Titel dieses Issues. Danke

MainCmd: REQ_ARW_DAT_ALL 0x15 und SubCmd: GridOnProFilePara 0x02 oder
MainCmd: DOWN_DAT 0x0a und SubCmd: Type_Init 0xff
Dürften hierfür relevant sein / werden...

@martin-at-schorsch
Copy link
Author

Ich hab das Git-Repo runtergeladen und dann bin ich ins stocken gekommen.
Ich finde mich allerdings auch im Code nicht zurecht.

@martin-at-schorsch martin-at-schorsch changed the title TOR Einstellung ändern GridProfile/TOR Einstellung ändern Aug 14, 2022
@stefan123t
Copy link
Collaborator

Hallo @martin-at-schorsch
hast Du das gitee oder das github Repo heruntergeladen ?
Im gitee repo gibt es zwei/vier Dateien usart_nrf[3].c/h Darin ist im Prinzip die ganze Kommunikation mit den Wechselrichtern programmiert. Es gibt Funktionen/Methoden um die Pakete zum Wechselrichter zu erstellen (alles mit Usart3_Send*) und die Methoden um die Antworten zu parasen (alles mit Usart3_Process*)
Ich habe auch für die meisten Befehle / Pakete bereits eine FAQ angelegt in der die Kommunikation exemplarisch mit Frage/Antwort Paketen gezeigt wird.
Für die og GridOnProFilePara und DOWN_DAT Kommandos habe ich aber glaube noch nichts aufgeschrieben. Klahus1 / Ichirou im Discord Chat wollten evtl auch diese Kommandos noch exemplarisch aufzeichnen damit wir sie decodieren können.

@stefan123t stefan123t added enhancement New feature or request question Further information is requested labels Aug 17, 2022
@mozzbozz
Copy link

mozzbozz commented Oct 3, 2022

@aschiffler why did you close this issue as completed? Has there been a PR to implement this feature - or was it on accident?

@GHolli
Copy link
Contributor

GHolli commented Nov 28, 2022

@aschiffler why did you close this issue as completed? Has there been a PR to implement this feature - or was it on accident?

@mozzbozz, I checked with @aschiffler and he explained to me that during structuring the project for releasing v0.5.x (based on v0.4.x), with focus on the power limiting feature, some issues tagged with "enhancement" were closed. Including this issue, although it was actually not implemented that time.

It seems to be covered by issue #365 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants