Skip to content

PV und Netzanschluss "Smart" machen mit zwei Shelly Pro 3 EM und Solectrus #3392

Answered by boecks
boecks asked this question in Q&A
Discussion options

You must be logged in to vote

Der gesamte Ansatz scheint zu funktionieren. Shelly 1 Publisht via MQTT, Shelly 2 reagiert auf diese Message indem er erstens die eigene gemessene Leistung abfragt, den Wert aus der Message von Shelly 1 entgegennimmt und daraus dann den Hausverbrauch berechnet. Shelly 2 publisht anschließend drei Messages auf den drei definierten MQTT Topics auf die auch Solectrus hört.

Für Interessierte die Scripte anbei. (bedarf möglicherweise individuelle Anpassungen)

Shelly A (liest die eigene gemessene Leistung aus und publisht den Wert in einem definiertem Zeitintervall - hier die Inverter Leistung)

// Set the MQTT topic and the publishing interval
const publishTopic = "shelly/meter/1/inverter/power…

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ledermann
Comment options

Comment options

You must be logged in to vote
1 reply
@ledermann
Comment options

Comment options

You must be logged in to vote
1 reply
@ledermann
Comment options

Answer selected by boecks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants