Plugin ‚sma_em‘ Konfiguration

plugin logo

Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die Beschreibung, wie das Plugin sma_em konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann. [1]

Es handelt sich bei diesem Plugin um ein interface Plugin.

Beschreibung

Auslesen des SMA Energy Meter Netzwerk Multicasts

Anforderungen

  • Minimum SmartHomeNG Version: 1.6

Konfiguration

Im folgenden ist beschrieben, wie das Plugin sma_em konfiguriert wird. Außerdem ist im folgenden beschrieben, wie das Plugin in den Item Definitionen genutzt werden kann.

Parameter

Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/plugin.yaml konfiguriert werden:

cycle

Zeit in Sekunden, die nach einem empfangenen Multicast (= Datensatz) gewartet werden soll. Default: 10.

  • Datentyp: int

  • Standardwert: 10

serial

Seriennummer des SMA Energy Meters.

  • Datentyp: str

Item Attribute

Das Plugin unterstützt folgende Item Attribute, die in den Dateien im Verzeichnis ../items verwendet werden:

sma_em_data_type

Datentyp. Folgende Werte sind möglich: pregard, pregardcounter, psurplus, psurpluscounter, sregard, sregardcounter, ssurplus, ssurpluscounter, qregard, qregardcounter, qsurplus, qsurpluscounter, cosphi, p1regard, p1regardcounter, p1surplus, p1surpluscounter, s1regard, s1regardcounter, s1surplus, s1surpluscounter, q1regard, q1regardcounter, q1surplus, q1surpluscounter, v1, thd1, cosphi1, p2regard, p2regardcounter, p2surplus, p2surpluscounter, s2regard, s2regardcounter, s2surplus, s2surpluscounter, q2regard, q2regardcounter, q2surplus, q2surpluscounter, v2, thd2, cosphi2, p3regard, p3regardcounter, p3surplus, p3surpluscounter, s3regard, s3regardcounter, s3surplus, s3surpluscounter, q3regard, q3regardcounter, q3surplus, q3surpluscounter, v3, thd3, cosphi3.

  • Datentyp: str

Item-Structs

Das Plugin stellt die folgenden Item-Structs zur Verfügung. Diese Informationen sind aus der plugin.yaml entnommen und möglicherweise nicht vollständig.

detailed

More Detailed Data from SMA Energy Meter

  • detailed (foo, More Detailed Data from SMA Energy Meter)
    • ssupply (num, —)

    • ssupply_unit (str, —)

    • ssupply_counter (num, —)

    • ssupply_counter_unit (str, —)

    • sconsume (num, —)

    • sconsume_unit (str, —)

    • sconsume_counter (num, —)

    • sconsume_counter_unit (str, —)

    • qsupply (num, —)

    • qsupply_unit (str, —)

    • qsupply_counter (num, —)

    • qsupply_counter_unit (str, —)

    • qconsume (num, —)

    • qconsume_unit (str, —)

    • qconsume_counter (num, —)

    • qconsume_counter_unit (str, —)

    • p1supply (num, —)

    • p1supply_unit (str, —)

    • p1supply_counter (num, —)

    • p1supply_counter_unit (str, —)

    • p1consume (num, —)

    • p1consume_unit (str, —)

    • p1consume_counter (num, —)

    • p1consume_counter_unit (str, —)

    • s1supply (num, —)

    • s1supply_unit (str, —)

    • s1supply_counter (num, —)

    • s1supply_counter_unit (str, —)

    • s1consume (num, —)

    • s1consume_unit (str, —)

    • s1consume_counter (num, —)

    • s1consume_counter_unit (str, —)

    • q1supply (num, —)

    • q1supply_unit (str, —)

    • q1supply_counter (num, —)

    • q1supply_counter_unit (str, —)

    • q1consume (num, —)

    • q1consume_unit (str, —)

    • q1consume_counter (num, —)

    • q1consume_counter_unit (str, —)

    • i1 (num, —)

    • i1_unit (str, —)

    • u1 (num, —)

    • u1_unit (str, —)

    • cosphi1 (num, —)

    • cosphi1_unit (str, —)

    • p2supply (num, —)

    • p2supply_unit (str, —)

    • p2supply_counter (num, —)

    • p2supply_counter_unit (str, —)

    • p2consume (num, —)

    • p2consume_unit (str, —)

    • p2consume_counter (num, —)

    • p2consume_counter_unit (str, —)

    • s2supply (num, —)

    • s2supply_unit (str, —)

    • s2supply_counter (num, —)

    • s2supply_counter_unit (str, —)

    • s2consume (num, —)

    • s2consume_unit (str, —)

    • s2consume_counter (num, —)

    • s2consume_counter_unit (str, —)

    • q2supply (num, —)

    • q2supply_unit (str, —)

    • q2supply_counter (num, —)

    • q2supply_counter_unit (str, —)

    • q2consume (num, —)

    • q2consume_unit (str, —)

    • q2consume_counter (num, —)

    • q2consume_counter_unit (str, —)

    • i2 (num, —)

    • i2_unit (str, —)

    • u2 (num, —)

    • u2_unit (str, —)

    • cosphi2 (num, —)

    • cosphi2_unit (str, —)

    • p3supply (num, —)

    • p3supply_unit (str, —)

    • p3supply_counter (num, —)

    • p3supply_counter_unit (str, —)

    • p3consume (num, —)

    • p3consume_unit (str, —)

    • p3consume_counter (num, —)

    • p3consume_counter_unit (str, —)

    • s3supply (num, —)

    • s3supply_unit (str, —)

    • s3supply_counter (num, —)

    • s3supply_counter_unit (str, —)

    • s3consume (num, —)

    • s3consume_unit (str, —)

    • s3consume_counter (num, —)

    • s3consume_counter_unit (str, —)

    • q3supply (num, —)

    • q3supply_unit (str, —)

    • q3supply_counter (num, —)

    • q3supply_counter_unit (str, —)

    • q3consume (num, —)

    • q3consume_unit (str, —)

    • q3consume_counter (num, —)

    • q3consume_counter_unit (str, —)

    • i3 (num, —)

    • i3_unit (str, —)

    • u3 (num, —)

    • u3_unit (str, —)

    • cosphi3 (num, —)

    • cosphi3_unit (str, —)

main

Main Data from SMA Energy Meter

  • main (foo, Main Data from SMA Energy Meter)
    • speedwire_version (str, Speedwire Version)

    • supply (num, Solar Energy Supply)
      • kw (num, —)

    • supply_unit (str, Solar Energy Supply Unit)

    • consume (num, Solar Energy Consume)
      • kw (num, —)

    • consume_unit (str, Solar Energy Consume Unit)

    • supply_counter (num, Solar Energy Supply Counter)

    • supply_counter_unit (str, Solar Energy Supply Counter Unit)

    • consume_counter (num, Solar Energy Consume Counter)

    • consume_counter_unit (str, Solar Energy Consume Counter Unit)

    • cosphi (num, —)

    • cosphi_unit (str, —)

    • consume_active (bool, —)

    • supply_active (bool, —)

Logik Parameter

Das Plugin verfügt über folgende Parameter, die in der Datei ../etc/logic.yaml konfiguriert werden:

Keine Logik Parameter in den Metadaten beschrieben - Bitte in der README nachsehen (siehe Fußnote)

Plugin Functions

Das Plugin verfügt über folgende öffentliche Funktionen, die z.B. in Logiken aufgerufen werden können.

Keine