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

MTec: Add active battery control #19079

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

patrickweh
Copy link

Adds active battery control to mtec gen 3 template

@andig andig added the devices Specific device support label Feb 22, 2025
@andig andig requested a review from premultiply February 22, 2025 22:12
params:
- name: usage
choice: ["grid", "pv", "battery"]
- name: modbus
choice: ["rs485"]
id: 247
id: 252
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woran liegt das? War die bisher falsch?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scheint fast so ja, ich meine mich erinnern zu können dass bei gen2 247 richtig war.
Ich hatte den 2 und habe jetzt den 3, hab bisher über homeassistant alles eingebunden. Ein paar freunde von mir haben auch den 3, die gehen auch über 252

image image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ich hab nochmal in der doku nachgelesen. Bei rs485 ist es 252, bei tcpip (was bisher garnicht dabei ist aber default in evcc ist) ist es 255. ich habs jetzt auch auf 255 geändert.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wir können das nicht einfach ändern für die User die 247 brauchen wäre das ein breaking Change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evtl. noch einen Kommentar bzgl. ID hinzufügen welche Gen welche erfordert. Das Template hat im Namen explizit nur Gen3- kann da Gen2 ergänzt werden?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gen3 unterstützt tcpip, gen2 nicht. Ehrlicherweise übersteigt das aber jetzt ein bisschen meine vorstellung davon wie du das gern hättest. Wenn du mir spezifischere anweisungen gibst dann kann ich das gerne umsetzen. Für gen2 gibt es im moment ein eigenes template. Laut den templates sind soc und power auf unterschiedlichen registern bei gen2 und gen3, ob das wirklich so ist kann ich dir nicht sagen ich hab den gen2 nicht mehr.

Ich bezweifle dass irgendwer gen3 mit unit id 247 betreibt, für mich fühlt sich das eher nach copy paste aus gen2 an und vergessen das zu ändern. rs485 ist bei gen3 mit der id 252 und tcpip mit 255. Du müsstest mir ein bisschen unter die arme greifen und mir genauer sagen wie du es möchtest dann kann ichs gerne anpassen und bei mir mit dem gen3 testen. Ansonsten hänge ich gerne einen kommentar dazu, müsstest mir nur auch da sagen wie der in der yaml aussieht.

herzlichen dank :)

tcpip hinzugefügt
@patrickweh patrickweh requested a review from andig February 23, 2025 07:57
params:
- name: usage
choice: ["grid", "pv", "battery"]
- name: modbus
choice: ["rs485"]
id: 247
choice: ["rs485", "tcpip"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nochmal zur Sicherheit: das Gerät hat (neu) auch einen Ethernetanschluss?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, alle gen3 haben einen Ethernet anschluss

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

3 participants