Und Vorlagen gibt es bei der Loxone Library:
SolarEdge Wechselrichter einbinden
Einklappen
X
-
Hi, findest du alles hier in dem Thread...Wwerte maximal so alle 5 Sekunden abfragen/schicken
Und Vorlagen gibt es bei der Loxone Library:
Loxone: MS Gen1, Audioserver +5 St. Ext, NFC(s), Air, Dimmer, Relais
Sonstiges: Unifi System, Doorbird, PV-Anlage Solaredge + Lg 10H Prime Speicher, NUC iOBroker
KNX: BWM, Glastaster II, div. Schaltaktoren und RGBW Dimmer -
Hallo, habe nun auch seit paar Tagen einen solar Edge wechselrichter über modbus in loxone eingebunden.
leider zeigt er mir immer die 10watt bei Bezug an, siehe Bild, habe ebenfalls siehe Bild die Vorlage von loxone genommen für den solar Edge wechselrichter. Als Formel steht überall (i1*10^i2) drinn.
Die total Leistung konnte ich immer richtig abfragen aber seit dem letzen Update wird mir der Wert um das 10fache mehr angezeigt, was kann das sein? Im live View seh ich es richtig.
Kann mir hierzu jemand helfen?Kommentar
-
Hast du einen Smart Meter von Solaredge angebunden der den Verbrauch des Hauses misst und die Einspeisung und den Bezug etc?
Ansonsten wird Dein Haus im Ruhezustand ja nicht 0W verbrauchen sondern wesentlich mehr.....
Mach doch mal live view an wenn es Nacht ist und mach den Screenshot nochmal von Deinem Energiemonitor. Ich empfehle auf den Energieflussmonitor umzusteigen mit Zählern etc.
-
-
Smart Meter hab ich vom Netzbetreiber. Von solar Edge ist der Zähler in der Backup Box verbaut, diese muss ich aber erst noch montieren. Komisch ist das er mir heute (gestern hab ich ein Update der loxone config gemacht) bei der Produktion gesamt Tag gar nichts mehr anzeigt.Kommentar
-
Hier 2 Bilder da stimmen die Werte bei Produktion ziemlich überein. Denke wird bissl versetzt sein von der Abfrage her. Immer halt diese 10 Watt hab ich da hängen. Kann das daran liegen das ich den solar Edge Zähler noch nicht verbaut habe und er daher nicht genau weiß was ich gerade verbrauche oder?2 BilderKommentar
-
Blöde Frage wo bekomme ich die ganzen Batterie Werte her? Habe einen SE5K RWB mit solar Edge Batterie drann. Allerdings bekomme ich über die solar Edge modbus in loxone nur die vorgegebenen Werte vom Wechselrichter raus, nicht wie hier die ganzen Batterie Werte :/Kommentar
-
Ok super danke 👍
jetzt hätt ich noch ne allgemeine Frage zur solar Edge Anlage. Anfangs hatte ich nur Wechselrichter mit 16module in Betrieb, das lief tadellos. Mein Eigenverbrauch würde gedeckt der Rest ging ins Netz.
Als ich jetz die Backup Box noch in Betrieb genommen habe inkl. Batterie von solar Edge, macht er mir den Speicher voll und zieht nur das vom Dach was Grad noch im Haus benötigt wird aber er speist mir nix mehr ins Netz obwohl den ganzen Tag sonne, und ich da vorher zwischen 15 und 20kw produziert habe.
Hat jemand eine Idee woran das liegen könnte?
Kommentar
-
Weil der smart Meter vom Netzbetreiber beim einspeisetarif seither auf dem gleichen Zähler stand ist. Und ich im solar Edge Portal beobachtet hat das er mir die Batterie bei Sonnenschein mit 2 bis 3 kW lädt und sobald sie voll war ist komplett die Sonnenenergie runtergefahren obwohl sich vom Wetter nic geändert hat.
Kommentar
-
Da scheint dann die Konfig im WR so zu sein, dass keine Einspeisung zugelassen wird. Frage dazu bitte den Installateur deines Vertrauens.
Kommentar
-
Hallo,
kann mir bitte wer weiterhelfen!? Bei mir stimmen die Werte im Energieflussmonitor nicht überein! Im Energie Monitor wird es mir richtig angezeigt!
Was kann ich ändern bzw. wo muss ich was ändern?
Leider kann ich den Fahler aktuell nicht genau zeigen...laut den folgenden Bildern ist ja alles richtig. JEDOCH zeigt mir der Energieflussmonitor ab und zu z.B. nicht 3,1kW sondern 31kW bei der PV Siehe an. Energieflussmonitor "Energie erzeugt" 55kWh...das stimmt daher nicht, sollten 3,35kWh sein! Das letzte Bild zeigt den Fehler....11kW, sollten aber 1,1kW sein. Ich habe nur einen 5kW WR . Hoff ich konnte mein Anliegen nicht zu kompliziert erklären?!
Kommentar
-
Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.Kommentar
-
Kann Ticos Aussage nur bekräftigen. Hatte den Fehler auch und bin mittlerweile komplett von der ModBus Abfrage vom MiniServer auf den Loxberry mit Node-Red umgestiegen.
Damit kannst du wesentlich besser die notwendigen Daten en bloc holen und verarbeiten. Der Datentransfer an den MS erfolgt bei mir dann via MQTT.
Viele Grüße
RalphKommentar
-
Hier mal ein kleiner Auszug der grafischen Konfiguration in Node-Red.
Sieht auf den erste Blick wild aus! Macht aber Sinn, da die verschiedenen Register die du abfragen willst, etwas weiter auseinander liegen.
Wo ein zusammenhängender Block (wegen Wert inkl. Skalierungsfaktor) abgefragt werden muss, werden die erzeugten Daten im Nachhinein skaliert und auf den Normalwert (kW, kWh), den Loxone erwartet, umgerechnet.
Da die SolarEgde etwas empflindlich gegen zu hohe ModBus Last ist, wird die Abfrage jeweils um 1 Sekunde verschoben, so dass am Ende in 10 Sek alle Werte einmal geholt worden sind.
Kommentar
-
Hier der Export des Flows der SolarEdge im JSON Format. Ich hole die Daten mit dem "Modbus-Flex-Getter". Wird bei mehreren gleichzeitigen Abfragen empfohlen, da die Abfragen dann sequentiell erfolgen und der ModBus Server (SolarEdge) nicht überlastet wird!
Um die Ergebnisse unterscheiden zu können, nutze ich eine ID (msg.topic) beim Inject die nach dem ModBus-Flex-Getter über einen Switch ausgewertet wird. Sonst weiss ich nicht welches Datum gerade geliefert wurde.
Die aggregierten Daten werden dann über MQTT an den Miniserver weitergegeben. Im Miniserver muss dann nur noch ein HTTP-Eingang mit dem Namen des Wertes erstellt werden (steht im LoxBerry MQTT Server unter MQTT-Gateway / Incoming Overview). Der Name kann einfach über das Copy Symbol rauskopiert werden und in Loxone eingefügt werden. Somit umgeht man evtl. Schreibfehler.
Code:[ { "id": "dcc40a907bcdec38", "type": "tab", "label": "SolarEdge", "disabled": false, "info": "", "env": [] }, { "id": "759110e975ba5591", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "Float", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "Fuel", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16le", "name": "State", "offset": 4, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 930, "y": 820, "wires": [ [ "685d66a2afb86497" ] ] }, { "id": "cb73f831f8e27d37", "type": "modbus-flex-getter", "z": "dcc40a907bcdec38", "name": "Abfrage SolarEdge", "showStatusActivities": true, "showErrors": true, "showWarnings": true, "logIOActivities": false, "server": "036d7ad23247f72d", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 470, "y": 600, "wires": [ [], [ "66964808b430e66f", "f129c678ad30e37d", "969c104ef75ba67c", "4ed201abd1d2c7a6", "8fe7750b460faf3f", "2f8da9ea96ee736e", "d596dbfe1db69861", "d413082e1b096a7d", "4c2ba21817cdbc8e", "b3a1bad5ddbbeced", "ad0ab858e7ed4553", "1293384494180d6a", "79796e789537a67a" ] ] }, { "id": "8bfd1debbef33335", "type": "inject", "z": "dcc40a907bcdec38", "name": "", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40100", "vt": "str" }, { "p": "payload.quantity", "v": "2", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "I_DC_Power", "x": 200, "y": 540, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "2f8da9ea96ee736e", "type": "switch", "z": "dcc40a907bcdec38", "name": "I_DC_Power", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "I_DC_Power", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 540, "wires": [ [ "c1295b4f2b277518" ] ] }, { "id": "22ee407e5f795f45", "type": "inject", "z": "dcc40a907bcdec38", "name": "", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40206", "vt": "str" }, { "p": "payload.quantity", "v": "5", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "1", "topic": "M_AC_Power1", "x": 190, "y": 320, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "e5973eff78d54285", "type": "inject", "z": "dcc40a907bcdec38", "name": "", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40380", "vt": "str" }, { "p": "payload.quantity", "v": "5", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "2", "topic": "M_AC_Power2", "x": 190, "y": 660, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "d596dbfe1db69861", "type": "switch", "z": "dcc40a907bcdec38", "name": "M_AC_Power2", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "M_AC_Power2", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 720, "y": 660, "wires": [ [ "4621db95074c4a00" ] ] }, { "id": "4621db95074c4a00", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "-1 x 8 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "M_AC_Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_A", "offset": 2, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_B", "offset": 4, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_C", "offset": 6, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 950, "y": 660, "wires": [ [ "c1bbac86df6411d0" ] ] }, { "id": "c1295b4f2b277518", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "I_DC_Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 540, "wires": [ [ "6c90a69b71612775" ] ] }, { "id": "cab3331340fae0a8", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "-1 x 8 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "M_AC_Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_A", "offset": 2, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_B", "offset": 4, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "M_AC_Power_C", "offset": 6, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 950, "y": 320, "wires": [ [ "dee7643f7757fbed" ] ] }, { "id": "8fe7750b460faf3f", "type": "switch", "z": "dcc40a907bcdec38", "name": "M_AC_Power1", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "M_AC_Power1", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 720, "y": 320, "wires": [ [ "cab3331340fae0a8" ] ] }, { "id": "ad0ab858e7ed4553", "type": "switch", "z": "dcc40a907bcdec38", "name": "I_Status", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "I_Status", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 700, "y": 480, "wires": [ [ "b3816cbac7be9ca6" ] ] }, { "id": "a6e755147edc797e", "type": "inject", "z": "dcc40a907bcdec38", "name": "I_Status", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40107", "vt": "str" }, { "p": "payload.quantity", "v": "2", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "3", "topic": "I_Status", "x": 220, "y": 480, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "413c8565f4470bfa", "type": "inject", "z": "dcc40a907bcdec38", "name": "I_BAT_Fuel", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "62852", "vt": "str" }, { "p": "payload.quantity", "v": "4", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "4", "topic": "I_BAT_Fuel_State", "x": 210, "y": 820, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "66964808b430e66f", "type": "switch", "z": "dcc40a907bcdec38", "name": "I_BAT_Fuel", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "I_BAT_Fuel_State", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 820, "wires": [ [ "759110e975ba5591" ] ] }, { "id": "c1bbac86df6411d0", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = {payload: msg.payload.M_AC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 660, "wires": [ [ "926061a241f63342" ] ] }, { "id": "dee7643f7757fbed", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = { payload: msg.payload.M_AC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 320, "wires": [ [ "b8ce38e805dc36da" ] ] }, { "id": "6c90a69b71612775", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = { payload: msg.payload.I_DC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 540, "wires": [ [ "eed5907d253340cf" ] ] }, { "id": "eed5907d253340cf", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "I_DC_Power", "topic": "solaredge/I_DC_Power", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1350, "y": 540, "wires": [] }, { "id": "b8ce38e805dc36da", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_AC_Power1", "topic": "solaredge/M_AC_Power1", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1360, "y": 320, "wires": [], "info": "in kW" }, { "id": "926061a241f63342", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_AC_Power2", "topic": "solaredge/M_AC_Power2", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1360, "y": 660, "wires": [], "info": "in kW" }, { "id": "381afbe5915b17c2", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "I_Status", "topic": "solaredge/I_Status", "qos": "", "retain": "true", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1340, "y": 480, "wires": [] }, { "id": "685d66a2afb86497", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "I_BAT_Fuel und State", "topic": "solaredge/I_BAT", "qos": "", "retain": "true", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1380, "y": 820, "wires": [] }, { "id": "ed30a63f2f4f7682", "type": "inject", "z": "dcc40a907bcdec38", "name": "M_InEx_Energy1", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40226", "vt": "str" }, { "p": "payload.quantity", "v": "20", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "6", "topic": "M_InEx_Energy1", "x": 190, "y": 380, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "f129c678ad30e37d", "type": "switch", "z": "dcc40a907bcdec38", "name": "M_InEx_Energy1", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "M_InEx_Energy1", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 730, "y": 380, "wires": [ [ "995043bdc2ed31a5" ] ] }, { "id": "ce434f1c25fe9e96", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = {payload: msg.payload.M_Exported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 380, "wires": [ [ "12a13594e16c7275" ] ] }, { "id": "12a13594e16c7275", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_Exported_Energy1", "topic": "solaredge/M_Exported_Energy1", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1380, "y": 380, "wires": [], "info": "in kWh" }, { "id": "442f06ee08ad8f30", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = {payload: msg.payload.M_Imported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 420, "wires": [ [ "9729632867e00f9a" ] ] }, { "id": "9729632867e00f9a", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_Imported_Energy1", "topic": "solaredge/M_Imported_Energy1", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1380, "y": 420, "wires": [], "info": "in kWh" }, { "id": "02337fec57dc3bd7", "type": "inject", "z": "dcc40a907bcdec38", "name": "M_InEx_Energy2", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40400", "vt": "str" }, { "p": "payload.quantity", "v": "20", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "7", "topic": "M_InEx_Energy2", "x": 190, "y": 720, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "4ed201abd1d2c7a6", "type": "switch", "z": "dcc40a907bcdec38", "name": "M_InEx_Energy2", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "M_InEx_Energy2", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 730, "y": 720, "wires": [ [ "e9e6bbfb1f07e6d5" ] ] }, { "id": "e9e6bbfb1f07e6d5", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "M_Exported", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_A", "offset": 4, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_B", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_C", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported", "offset": 16, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_A", "offset": 20, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_B", "offset": 24, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_C", "offset": 28, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 720, "wires": [ [ "f0355cd31ee7f90d", "276dd95ba807ec8a" ] ] }, { "id": "f0355cd31ee7f90d", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = {payload: msg.payload.M_Exported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 720, "wires": [ [ "095b40585c6bcba8" ] ] }, { "id": "095b40585c6bcba8", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_Exported_Energy2", "topic": "solaredge/M_Exported_Energy2", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1380, "y": 720, "wires": [], "info": "in kWh" }, { "id": "276dd95ba807ec8a", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = {payload: msg.payload.M_Imported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 760, "wires": [ [ "a7502d6e905e8d91" ] ] }, { "id": "a7502d6e905e8d91", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "M_Imported_Energy2", "topic": "solaredge/M_Imported_Energy2", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1380, "y": 760, "wires": [], "info": "in kWh" }, { "id": "9015ed8f6f940ca4", "type": "inject", "z": "dcc40a907bcdec38", "name": "I_BAT_Power", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "62836", "vt": "str" }, { "p": "payload.quantity", "v": "2", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": "8", "topic": "I_BAT_Power", "x": 200, "y": 880, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "d91d7a311bc9a7b9", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "Float", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 930, "y": 880, "wires": [ [ "80725ec3fe0876c9" ] ] }, { "id": "969c104ef75ba67c", "type": "switch", "z": "dcc40a907bcdec38", "name": "I_BAT_Power", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "I_BAT_Power", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 720, "y": 880, "wires": [ [ "d91d7a311bc9a7b9" ] ] }, { "id": "80725ec3fe0876c9", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": "I_BAT_Power", "topic": "solaredge/I_BAT", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1360, "y": 880, "wires": [] }, { "id": "995043bdc2ed31a5", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "M_Exported", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_A", "offset": 4, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_B", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Exported_C", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported", "offset": 16, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_A", "offset": 20, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_B", "offset": 24, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "M_Imported_C", "offset": 28, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 380, "wires": [ [ "ce434f1c25fe9e96", "442f06ee08ad8f30" ] ] }, { "id": "038347df736b337e", "type": "inject", "z": "dcc40a907bcdec38", "name": "Common Meter1", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40121", "vt": "str" }, { "p": "payload.quantity", "v": "56", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "1", "topic": "C_Common1", "x": 200, "y": 200, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "d413082e1b096a7d", "type": "switch", "z": "dcc40a907bcdec38", "name": "C_Common1", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "C_Common1", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 200, "wires": [ [ "b6e2115ee6ec843a" ] ] }, { "id": "b6e2115ee6ec843a", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "Common-Reg", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "C_SunSpec_DID", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_Length", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": " C_Manufacturer", "offset": 4, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Model", "offset": 20, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Option", "offset": 36, "length": 8, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Version", "offset": 44, "length": 8, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_SerialNumber", "offset": 52, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_DeviceAddress", "offset": 68, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_DID2", "offset": 70, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_Length2", "offset": 72, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 200, "wires": [ [ "626b7248f6bf8514" ] ] }, { "id": "0bba863a5009b1db", "type": "inject", "z": "dcc40a907bcdec38", "name": "Common Meter2", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40295", "vt": "str" }, { "p": "payload.quantity", "v": "54", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "1", "topic": "C_Common2", "x": 200, "y": 600, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "4c2ba21817cdbc8e", "type": "switch", "z": "dcc40a907bcdec38", "name": "C_Common2", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "C_Common2", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 600, "wires": [ [ "b6c6fd21a32171ae" ] ] }, { "id": "376b861f86b89e64", "type": "inject", "z": "dcc40a907bcdec38", "name": "M_AC_Freq1", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40204", "vt": "str" }, { "p": "payload.quantity", "v": "2", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "1", "topic": "M_AC_Freq1", "x": 210, "y": 260, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "b3a1bad5ddbbeced", "type": "switch", "z": "dcc40a907bcdec38", "name": "M_AC_Freq1", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "M_AC_Freq1", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 260, "wires": [ [ "af55450dfabc1b50" ] ] }, { "id": "b6c6fd21a32171ae", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "Common-Reg", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "C_SunSpec_DID", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_Length", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": " C_Manufacturer", "offset": 4, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Model", "offset": 20, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Option", "offset": 36, "length": 8, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_Version", "offset": 44, "length": 8, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "string", "name": "C_SerialNumber", "offset": 52, "length": 16, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_DeviceAddress", "offset": 68, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_DID2", "offset": 70, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_Length2", "offset": 72, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 600, "wires": [ [] ] }, { "id": "af55450dfabc1b50", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "M_AC_Freq", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 260, "wires": [ [ "0876297b8c640ac5" ] ] }, { "id": "0876297b8c640ac5", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = { payload: msg.payload.M_AC_Freq * Math.pow(10, msg.payload.SF)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 260, "wires": [ [] ] }, { "id": "b3816cbac7be9ca6", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "I_Status", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_Status_Vendor", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 480, "wires": [ [ "36bd7d40fdf663cd" ] ] }, { "id": "36bd7d40fdf663cd", "type": "change", "z": "dcc40a907bcdec38", "name": "I_Status", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "payload.I_Status", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1140, "y": 480, "wires": [ [ "381afbe5915b17c2" ] ] }, { "id": "626b7248f6bf8514", "type": "debug", "z": "dcc40a907bcdec38", "name": "C_Common1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 1210, "y": 200, "wires": [] }, { "id": "48072014e0fe529b", "type": "inject", "z": "dcc40a907bcdec38", "name": "Common Inverter", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40069", "vt": "str" }, { "p": "payload.quantity", "v": "80", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": "1", "topic": "C_Common0", "x": 200, "y": 140, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "1293384494180d6a", "type": "switch", "z": "dcc40a907bcdec38", "name": "C_Common0", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": "C_Common0", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 140, "wires": [ [ "d771d00b4ede5069" ] ] }, { "id": "d771d00b4ede5069", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "Common-Reg", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "C_SunSpec_DID", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "C_SunSpec_Length", "offset": 2, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_Current", "offset": 4, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_CurrentA", "offset": 6, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_CurrentB", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_CurrentC", "offset": 10, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Current_SF", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_VoltageAB", "offset": 14, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_VoltageBC", "offset": 16, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": " I_AC_VoltageCA", "offset": 18, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": " I_AC_VoltageAN", "offset": 20, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": " I_AC_VoltageBN", "offset": 22, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": " I_AC_VoltageCN", "offset": 24, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Voltage_SF", "offset": 26, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Power", "offset": 28, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Power_SF", "offset": 30, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_AC_Frequency", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Frequency_SF", "offset": 34, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_VA", "offset": 36, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_VA_SF", "offset": 38, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": " I_AC_VAR", "offset": 40, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_VAR_SF", "offset": 42, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_PF", "offset": 44, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": " I_AC_PF_SF", "offset": 46, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint32be", "name": "I_AC_Energy_WH", "offset": 48, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_AC_Energy_WH_SF", "offset": 52, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_DC_Current", "offset": 54, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": " I_DC_Current_SF", "offset": 56, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_DC_Voltage", "offset": 58, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_DC_Voltage_SF", "offset": 60, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_DC_Power", "offset": 62, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_DC_Power_SF", "offset": 64, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_Temp_Sink", "offset": 68, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "I_Temp_SF", "offset": 74, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": " I_Status", "offset": 76, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "uint16be", "name": "I_Status_Vendor", "offset": 78, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 140, "wires": [ [ "8bd1eba1f6bb3fd3" ] ] }, { "id": "8bd1eba1f6bb3fd3", "type": "debug", "z": "dcc40a907bcdec38", "name": "C_Common0", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 1210, "y": 140, "wires": [] }, { "id": "d1916ffdcc8b1fef", "type": "inject", "z": "dcc40a907bcdec38", "name": "", "props": [ { "p": "payload.fc", "v": "3", "vt": "num" }, { "p": "payload.address", "v": "40103", "vt": "str" }, { "p": "payload.quantity", "v": "4", "vt": "str" }, { "p": "topic", "vt": "str" } ], "repeat": "30", "crontab": "", "once": true, "onceDelay": 0.1, "topic": " I_Temp_Sink", "x": 200, "y": 80, "wires": [ [ "cb73f831f8e27d37" ] ] }, { "id": "79796e789537a67a", "type": "switch", "z": "dcc40a907bcdec38", "name": " I_Temp_Sink", "property": "topic", "propertyType": "msg", "rules": [ { "t": "eq", "v": " I_Temp_Sink", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 710, "y": 80, "wires": [ [ "ac4a66751211903c" ] ] }, { "id": "ac4a66751211903c", "type": "buffer-parser", "z": "dcc40a907bcdec38", "name": "2 Int-Register", "data": "payload.buffer", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "I_Temp_Sink", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "int16be", "name": "SF", "offset": 6, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": false, "outputs": 1, "x": 940, "y": 80, "wires": [ [ "d14ee17058c5732e" ] ] }, { "id": "d14ee17058c5732e", "type": "function", "z": "dcc40a907bcdec38", "name": "Scaling Faktor", "func": "var outmsg = { payload: msg.payload. I_Temp_Sink * Math.pow(10, msg.payload.SF)}\nreturn outmsg;", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1160, "y": 80, "wires": [ [ "0b75f54aeddfea6b" ] ] }, { "id": "0b75f54aeddfea6b", "type": "mqtt out", "z": "dcc40a907bcdec38", "name": " I_Temp_Sink", "topic": "solaredge/ I_Temp_Sink", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "85fbdaac5ba739fa", "x": 1350, "y": 80, "wires": [] }, { "id": "036d7ad23247f72d", "type": "modbus-client", "name": "SolarEdge", "clienttype": "tcp", "bufferCommands": true, "stateLogEnabled": false, "queueLogEnabled": false, "failureLogEnabled": true, "tcpHost": "1.2.3.4", "tcpPort": "502", "tcpType": "DEFAULT", "serialPort": "/dev/ttyUSB", "serialType": "RTU-BUFFERD", "serialBaudrate": "9600", "serialDatabits": "8", "serialStopbits": "1", "serialParity": "none", "serialConnectionDelay": "100", "serialAsciiResponseStartDelimiter": "0x3A", "unit_id": "2", "commandDelay": "1", "clientTimeout": "10000", "reconnectOnTimeout": true, "reconnectTimeout": "2000", "parallelUnitIdsAllowed": true, "showWarnings": true, "showLogs": true }, { "id": "85fbdaac5ba739fa", "type": "mqtt-broker", "name": "Lokaler MQTT", "broker": "localhost", "port": "1883", "clientid": "", "autoConnect": true, "usetls": false, "protocolVersion": "4", "keepalive": "60", "cleansession": true, "autoUnsubscribe": true, "birthTopic": "", "birthQos": "0", "birthRetain": "false", "birthPayload": "", "birthMsg": {}, "closeTopic": "", "closeQos": "0", "closeRetain": "false", "closePayload": "", "closeMsg": {}, "willTopic": "", "willQos": "0", "willRetain": "false", "willPayload": "", "willMsg": {}, "userProps": "", "sessionExpiry": "" } ]
Kommentar
-
Hallo Ralphidelio: Bin endlich dazu gekommen, den Flow zu installieren. Hat supergut geklappt. Allerdings finde ich hier einige Werte, mit denen ich nichts anfangen kann. Wie verarbeitest Du z.B. Exported Energy 1 und 2 weiter? Hast Du evtl. auch hier eine Beispiel-Config für Loxone?Kommentar
Kommentar