-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Template Meter Add: Eltako Modbus #31127
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
Closed
+118
−0
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
18fa2eb
Create eltako-modbus.yaml
SnejPro 521df38
Add english requirements description
SnejPro db099bb
Update eltako-modbus.yaml
SnejPro 85bc931
Remove line breaks
SnejPro da4f021
Update eltako-modbus.yaml
SnejPro 36e5684
Update eltako-modbus.yaml
SnejPro 23a9b71
Update eltako-modbus.yaml
SnejPro d1052eb
Update eltako-modbus.yaml
SnejPro c26f08b
Update eltako-modbus.yaml
SnejPro b144861
Update eltako-modbus.yaml
SnejPro af29786
Update eltako-modbus.yaml
SnejPro ca17439
Update eltako-modbus.yaml
SnejPro dccd8ed
Update eltako-modbus.yaml
SnejPro f4e5d1a
Update eltako-modbus.yaml
SnejPro 67b6caa
Update eltako-modbus.yaml
SnejPro b69f5ed
Update eltako-modbus.yaml
SnejPro 7f6bcea
Update eltako-modbus.yaml
SnejPro aa5db95
compact and avoid repeating declarations
SnejPro 5b5e5ac
Remove empty lines, improve description
SnejPro 9b9e70a
make per phase powers optional
SnejPro 0ba655a
fix default for powers per phase
SnejPro b50d801
Merge branch 'master' into template-meter-add-Eltako-Modbus
premultiply File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| template: eltako-modbus | ||
| products: | ||
| - brand: Eltako | ||
| description: | ||
| generic: DSZ15DZMOD | ||
| requirements: | ||
| description: | ||
| de: | | ||
| Wird das Gateway von Eltako verwendet (ZGW16-IP) müssen folgende Register aktiviert werden: 30001, 30003, 30005, 30007, 30009, 30011, 30013, 30015, 30017, 30053, 30073, 30075 | ||
| en: | | ||
| If you use the modbus gateway from Eltako (ZGW16-IP), you need to activate the following registers in the gateway setting: 30001, 30003, 30005, 30007, 30009, 30011, 30013, 30015, 30017, 30053, 30073, 30075 | ||
| params: | ||
| - name: usage | ||
| choice: ["charge", "grid", "pv"] | ||
| - name: modbus | ||
| choice: ["tcpip"] | ||
| port: 502 | ||
| id: 1 | ||
| - name: get_powers_per_phase | ||
| default: "false" | ||
| advanced: true | ||
| description: | ||
| de: Leistung der einzelnen Phasen abrufen | ||
| en: Get power of single phases | ||
| help: | ||
| de: Die Leistungswerte der einzelnen Phasen werden für die Steuerung nicht benötigt, können jedoch durch evcc abgerufen und angezeigt werden. | ||
| en: The power values of the single phases aren't needed for control purposes, but evcc can retrieve and display them. | ||
| type: bool | ||
| render: | | ||
| type: custom | ||
| power: # current power in W | ||
| source: modbus | ||
| {{- include "modbus" . | indent 2 }} | ||
| register: | ||
| address: 52 | ||
| type: input | ||
| decode: int32 | ||
| energy: # meter in kWh | ||
| source: modbus | ||
| {{- include "modbus" . | indent 2 }} | ||
| register: | ||
| address: 72 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| returnenergy: # return meter in kWh | ||
| source: modbus | ||
| {{- include "modbus" . | indent 2 }} | ||
| register: | ||
| address: 74 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| {{ if eq .get_powers_per_phase "true" }} | ||
| powers: # phase powers in W | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 12 | ||
| type: input | ||
| decode: int32 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 14 | ||
| type: input | ||
| decode: int32 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 16 | ||
| type: input | ||
| decode: int32 | ||
| {{ end }} | ||
| currents: # phase currents in A | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 6 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 8 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 10 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| voltages: # phase voltages in V | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 0 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 2 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
| - source: modbus | ||
| {{- include "modbus" . | indent 4 }} | ||
| register: | ||
| address: 4 | ||
| type: input | ||
| decode: int32 | ||
| scale: 0.01 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are currents signed? Then powers should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so.
But when i remove them the per phase powers are missing.
Without per phase powers in .yaml:

With per phase powers in .yaml:

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So? They're not used for anything.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I'm interested in this and evcc already shows them for my Sunny Home Manager aswell.
I would suggest to make the power readings per phase optional.