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

Question: OpenDTU inverter selection #127

Open
moonilightshaker opened this issue Nov 27, 2023 · 14 comments
Open

Question: OpenDTU inverter selection #127

moonilightshaker opened this issue Nov 27, 2023 · 14 comments
Assignees

Comments

@moonilightshaker
Copy link

Question:
Is it possible to integrate only some of the OpenDTU inverters in Victron?
For example: I have several inverters in OpenDTU. But only 1 is relevant.

If I add only one to the configuration I get the following error:
KeyError: 'INVERTER1'

Best Regards
M.

@0x7878
Copy link
Collaborator

0x7878 commented Nov 27, 2023

Could you provide an anonymous output of the json from openDTU and your config? This should be possible. Maybe something is missing on our side or maybe something is not configured properly. Let's check.

@moonilightshaker
Copy link
Author

@0x7878 Attached are the files.
config.txt
status.json

@0x7878
Copy link
Collaborator

0x7878 commented Nov 28, 2023

@0x7878 Attached are the files.
config.txt
status.json

Thank you. I'm going to check that.

@henne49
Copy link
Owner

henne49 commented Jan 24, 2024

@0x7878 any update or can we close?

@0x7878
Copy link
Collaborator

0x7878 commented Jan 24, 2024

It's not solved. I started refactoring into class based code which would also solve this issue in my opinion. Assign this issue to me.

@henne49
Copy link
Owner

henne49 commented Mar 3, 2024

#148 should help, as you can order the hoymiles to read only the first ones.

@moonilightshaker
Copy link
Author

#148 should help, as you can order the hoymiles to read only the first ones.

Thank you for the change. Tested and working.

But I have one problem. How can I sort the inverters in OpenDTU? They are always sorted automatically by serial number.

@henne49
Copy link
Owner

henne49 commented Mar 4, 2024

image you can order by drag and drop and then save

@2flea
Copy link

2flea commented Mar 4, 2024

Sorry but this order does not reflect in the JSON coming from status page(index != order), one needs to consider the "order" in JSON itself:

image
image

@moonilightshaker
Copy link
Author

Sorry but this order does not reflect in the JSON coming from status page(index != order), one needs to consider the "order" in JSON itself:

image image

You're right. The order cannot be changed with this method.

@henne49
Copy link
Owner

henne49 commented Mar 6, 2024

Good catch, then we need to modify the code. Somewthing we need to look into

@KarlMeier1933
Copy link

Gibt es hierzu Neuigkeiten? Ich würde auch gerne nur auf EINEN Wechselrichter zugreifen, aber die Reihenfolge bleibt bei der Abfrage immer gleich, egal wie ich die Wechselrichter in der OpenDTU sortiere.

@henne49
Copy link
Owner

henne49 commented May 27, 2024

nein, Stand heute nicht möglich und auch ein Nischen Use Case für die meisten Nutzer. Du könntest ja auch einfach 2 DTU betreiben, und den den du abfragen möchtest an einer DTU haben. Aktuell ist es ein weitere Code Workaround, den wir so nicht wollen und gut supporten können.

Wir müssen zuerst einen kompletten re-work des Codes machen, dann können wir solchen Feature in Zukunft einfacher umsetzen. Daher kann ich auch nicht sagen wann das kommen wird, aber dass wir es gerne einbauen, wenn der Code es zulässt.

Das zu den Hintergründen.

@KarlMeier1933
Copy link

Danke für die schnelle Antwort und die ausführliche Erklärung.
Die Lösung mit der zweiten DTU hatte ich auch schon in Betracht gezogen. Dann werde ich das erstmal so lösen. 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants