<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Claas,</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">SBFspot ist (oder war) Bluetooth? Das wäre dann relativ langsam. MBMD arbeitet per Modbus und pollt momentan sekündlich, Daten kommen per MQTT oder Websockets raus. MQTT kannst Du mit Node-red abonnieren.</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Erscheint mir deutlich eleganter als separates Skript.</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Viele Grüße, Andreas</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 27. Nov 2019, at 09:34, Claas H. Köhler <<a href="mailto:claashk@web.de" class="">claashk@web.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hallo Frank,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Danke für die schnelle Antwort. Der SMA kann auch Modbus und ich habe eine Schnittstelle dafür in Python implementiert. Allerdings kann man nicht auf alle Informationen zugreifen, die über die SBFspot Schnittstelle verfügbar sind. Deswegen bin ich zur Zeit noch bei SBFspot.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Ich habe bisher weder mit MQTT noch Node-RED gearbeitet und arbeite daher lieber in python oder C++. Aber wenn’s sein muss, dann würde ich den Versuch wagen.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">„Echtzeit“ ist interessant, weil ich als nächstes die Einspeisebegrenzung des SMA dynamisch regeln möchte, um den PV Eigenverbrauch zu berücksichtigen. Aktuell beträgt die Laufzeit des Skripts auf dem Raspi ca 1 Sekunde. Dazu käme dann noch die Zeit, die für die Verteilung über den Push Server und die Regelung benötigt wird. Keine Ahnung, welche Anforderungen der Netzbetreiber an die Regelung stellt, aber ich strebe etwas im Sekundenbereich an.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Viele Grüße<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Claas<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" class="">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>]<span class="Apple-converted-space"> </span><b class="">On Behalf Of<span class="Apple-converted-space"> </span></b>Frank Richter<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Tuesday, November 26, 2019 7:20 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span><a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [vz-users] Vokszähler Push Server<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Hallo Claas,<o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">kann dein SMA auch Modbus? Dann könntest du SBFspot gegen mbmd tauschen und das per MQTT oder Websockets an Node-RED anbinden, wo du die Daten dann an VZ und die WP verteilen kannst.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Bzgl. "Echtzeit": sooo volatil ist PV-Leistung nun auch nicht, dass es da auf Sekundenbruchteile ankäme...<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Grüße<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Frank<o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Claas H. Köhler <<a href="mailto:claashk@web.de" style="color: purple; text-decoration: underline;" class="">claashk@web.de</a>> schrieb am Di., 26. Nov. 2019, 14:22:<o:p class=""></o:p></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;" class="" type="cite"><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: "Times New Roman", serif;">Hallo Experten,<br class=""><br class="">Ich habe eine Frage zur Push Server Architektur und deren Einsatz. Zunächst zum Problem: Ich habe eine Solaranlage, deren SMA Wechselrichter ich aktuell über SBFspot auslese. Die SBFSpot Anwendung wird aus einem kleinen python Skript aufgerufen, welches die Ausgabe parst und für vzlogger (exec Protokoll) vorbereitet.<span class="Apple-converted-space"> </span><br class=""><br class="">Außerdem habe ich eine Wärmepumpe, welche die Daten des Wechselrichters verarbeiten kann, sofern man sie der WP über eine Modbus Schnittstelle zugänglich macht.<span class="Apple-converted-space"> </span><br class=""><br class="">Jetzt stellt sich die Frage, welches der geschickteste Weg ist, um das Problem zu lösen. Ursprünglich hatte ich beabsichtigt, das über vzlogger exec aufgerufene Python Skript in einen Systemservice umzuwandeln, der dann über ein WAMP publish/subscribe Modell (Autobahn) die Daten verschickt. Diese könnte dann ein anderer Systemservice für die WP lesen und in Modbus übersetzen. Die Frage ist, wie ich in diesem Fall den vzlogger und die Middelware einbinden würde. Ein WAMP Protokoll für den vzlogger gibt es nicht, oder ?<br class=""><br class="">Alternativ könnte ich mir vorstellen, den VZ push Server zu nutzen. Allerdings bin ich mir bei der aktuellen Lösung mit dem Python Skript nicht sicher, ob der Overhead durch den Python Aufruf bei jedem Auslesen des Wechselrichters für die Echtzeitkommunikation nicht etwas zu langsam ist. Das ganze läuft zur Zeit auf einem RasPi.   <br class=""><br class="">Hat jemand der hier mitliest vielleicht ähnliches schon erfolgreich umgesetzt und kann mir einen Tipp geben, wie ich das g'scheit aufsetzen kann ?<br class=""><br class="">Viele Grüße<br class="">Claas<span class="Apple-converted-space"> </span></p></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>