smarthome shelly gen2 support und 3pro em mit add on #2810
Merged
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.
Kann für openwb 1.9 und openwb 2.0 übernommen werden. Shelly gen 2 verwenden andere on / off http cmds als gen1. Die sind nun angepasst. Shelly pro 3em ist noch etwas speziell er kann auf drei verschiedenen Kanälen die Leistung zurückliefen und es kann noch ein optionales add on verbaut werden, damit er schalten kann. Den Shelly pro 3em sollte so erfasst werden.
fall a) Nur Leistungsmessung
Unter separater Leistungsmessung dann dort Meter Auswahl den jeweile Kanal erfassen. Auswahl: Meter summiert oder Meter 2 bis 4 das entspricht -> Summe aller Leistung pro phase oder Leistung A,B, C alleine)
fall b) Leistungsmessung und Schalten (geht nur mit shelly addon zum schalten )
Shelly im gleichen Gerät zweimal erfassen. Einmal als separate Leistungsmessung wie im fall a und im oberen Teil der Gerätdefinition. Der switch hat fest die ID 100. Dort ist dann Kanal- / Meter-Auswahl im oberen Teil der Gerätedefinition irrelevant. Flake8 korrigiert