Plugin ‚knx‘ Konfiguration

plugin logo

Im folgenden sind etwaige Anforderungen und unterstützte Hardware beschrieben. Danach folgt die Beschreibung, wie das Plugin knx 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 gateway Plugin.

Beschreibung

Anforderungen

  • Minimum SmartHomeNG Version: 1.9.0

Konfiguration

Im folgenden ist beschrieben, wie das Plugin knx 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:

busmonitor

  • Datentyp: str

  • Standardwert: off

  • Mögliche Werte:

    • on

    • off

    • logger

    • true

    • false

    • True

    • False

date_ga

  • Datentyp: knx_ga

enable_stats

  • Datentyp: bool

  • Standardwert: True

host

  • Datentyp: ip

  • Standardwert: 127.0.0.1

log_own_packets

  • Datentyp: bool

  • Standardwert: False

loglevel_knxd_cache_problems

  • Datentyp: str

  • Standardwert: INFO

  • Mögliche Werte:

    • DEBUG

    • WARNING

    • INFO

    • ERROR

    • NOTSET

port

  • Datentyp: int

  • Standardwert: 6720

  • Minimalwert: 0

  • Maximalwert: 65535

project_file_password

  • Datentyp: str

projectpath

  • Datentyp: str

  • Standardwert: var/knx

provider

  • Datentyp: str

  • Standardwert: knxd

  • Mögliche Werte:

    • knxd

    • IP Interface

    • IP Router

readonly

  • Datentyp: bool

  • Standardwert: False

send_time

  • Datentyp: int

  • Standardwert: 0

  • Minimalwert: 0

time_ga

  • Datentyp: knx_ga

use_project_file

  • Datentyp: bool

  • Standardwert: False

Item Attribute

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

knx_cache

  • Datentyp: knx_ga

knx_dpt

  • Datentyp: str

  • Mögliche Werte:

    • 1

    • 2

    • 3

    • 4002

    • 4.002

    • 5

    • 5001

    • 5.001

    • 5003

    • 5.003

    • 5999

    • 5.999

    • 6

    • 7

    • 8

    • 9

    • 10

    • 11

    • 12

    • 13

    • 14

    • 16000

    • 16

    • 16001

    • 16.001

    • 17

    • 17001

    • 17.001

    • 18001

    • 18.001

    • 20

    • 24

    • 229

    • 232

    • 251

    • 275.100

    • hex

knx_init

  • Datentyp: knx_ga

knx_listen

  • Datentyp: list(knx_ga)

knx_poll

  • Datentyp: list(2,knx_ga,int)

knx_reply

  • Datentyp: list(knx_ga)

knx_send

  • Datentyp: list(knx_ga)

knx_status

  • Datentyp: list(knx_ga)

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.

Keine

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.

encode(data, dpt)

  • Ergebnistyp der Funktion: foo

data
  • Datentyp: foo

dpt
  • Datentyp: foo

groupread(ga, cache=False)

  • Ergebnistyp der Funktion: foo

ga
  • Datentyp: knx_ga

cache
  • Datentyp: bool

  • Standardwert: False

groupwrite(ga, data, dpt)

  • Ergebnistyp der Funktion: foo

ga
  • Datentyp: knx_ga

data
  • Datentyp: foo

dpt
  • Datentyp: str

  • Mögliche Werte:

    • 1

    • 2

    • 3

    • 4002

    • 4.002

    • 5

    • 5001

    • 5.001

    • 5003

    • 5.003

    • 5999

    • 5.999

    • 6

    • 7

    • 8

    • 9

    • 10

    • 11

    • 12

    • 13

    • 14

    • 16000

    • 16

    • 16001

    • 16.001

    • 17

    • 17001

    • 17.001

    • 18001

    • 18.001

    • 20

    • 24

    • 229

    • 232

    • 251

    • 275.100

send_time(time_ga, date_ga)

  • Ergebnistyp der Funktion: foo

time_ga
  • Datentyp: knx_ga

date_ga
  • Datentyp: knx_ga