KNXIO: Unterschied zwischen den Versionen

Aus FHEMWiki
(Die Seite wurde neu angelegt: „Das Modul KNX implementiert die Unterstüztung für den Gebäudeautomations-Feldbus KNX (eine Weiterentwicklung von EIB) innerhalb von FHEM.“)
 
(erstellen Seite)
Zeile 1: Zeile 1:
Das Modul KNX implementiert die Unterstüztung für den Gebäudeautomations-Feldbus KNX (eine Weiterentwicklung von EIB) innerhalb von FHEM.
Das Modul [[KNXIO]] implementiert die Unterstützung für den Gebäudeautomations-Feldbus [https://de.wikipedia.org/wiki/KNX-Standard KNX] (eine Weiterentwicklung von EIB) innerhalb von FHEM.
 
== Voraussetzungen ==
 
== Anwendung ==
=== Define ===
<syntaxhighlight lang="text">
define <name> KNXIO <mode> <IP-Adresse/Hostname>:<Port> <Phy-Adresse>
 
</syntaxhighlight>Wie in FHEM üblich, alles was hier zwischen <...> dargestellt ist, sind mandatory Angaben! Optionales wird zwischen [...] dargestellt.
 
==== Definitions-Felder im Detail ====
* '''mode''' - Das ist
    H Host Mode - connect to a KNX-router with UDP point-point protocol.
      This is the mode also used by ETS when you specify KNXNET/IP as protocol. You do not need a KNXD installation. The protocol is complex and timing critical!
      If you have delays in FHEM processing close to 1 sec, the protocol may disconnect. It should recover automatically,
      however KNX-messages could have been lost!
    M Multicast mode - connect to KNXD's or KNX-router's multicast-tree.
      This is the mode also used by ETS when you specify KNXNET/IP Routing as protocol.
      If you have a KNX-router that supports multicast, you do not need a KNXD installation. Default address:port is 224.0.23.12:3671
      Pls. ensure that you have only one GW/KNXD in your LAN that feed the multicast tree!
      This mode requires the IO::Socket::Multicast perl-module to be installed on yr. system.
      On Debian systems this can be achieved by <code>apt-get install libio-socket-multicast-perl</code>.
    T TCP Mode - uses a TCP-connection to KNXD (default port: 6720).
      This mode is the successor of the TUL-modul, but does not support direct Serial/USB connection to a TPUart-USB Stick.
      If you want to use a TPUart-USB Stick or any other serial KNX-GW, use either the TUL Module, or connect the USB-Stick to KNXD and in turn use modes M,S or T to connect to KNXD.
    S Socket mode - communicate via KNXD's UNIX-socket on localhost. default Socket-path: /var/run/knx
      Path might be different, depending on knxd-version or -config specification! This mode is tested ok with KNXD version 0.14.30. It does NOT work with ver. 0.10.0!
Alle Parameter sind mandatory! Bitte sicherstellen, dass es nur einen Kommunikationspfad zwischen dem KNX-Gateway und FHEM gibt!
 
====Beispiele====
 
=== Attribute ===
* '''disable''' - ident zum FHEM Standard  - ident zum FHEM StandardEmpfangen möglich!
* '''verbose''' - ident zum FHEM Standard  - bestimmt welche/wieviele Meldungen ins Log geschrieben werden.
 
== Bekannte Probleme ==
 
== Links ==
 
[[Kategorie:EIB/KNX]]

Version vom 15. Dezember 2021, 23:04 Uhr

Das Modul KNXIO implementiert die Unterstützung für den Gebäudeautomations-Feldbus KNX (eine Weiterentwicklung von EIB) innerhalb von FHEM.

Voraussetzungen

Anwendung

Define

define <name> KNXIO <mode> <IP-Adresse/Hostname>:<Port> <Phy-Adresse>

Wie in FHEM üblich, alles was hier zwischen <...> dargestellt ist, sind mandatory Angaben! Optionales wird zwischen [...] dargestellt.

Definitions-Felder im Detail

  • mode - Das ist
   H Host Mode - connect to a KNX-router with UDP point-point protocol.
     This is the mode also used by ETS when you specify KNXNET/IP as protocol. You do not need a KNXD installation. The protocol is complex and timing critical!
     If you have delays in FHEM processing close to 1 sec, the protocol may disconnect. It should recover automatically,
     however KNX-messages could have been lost!
   M Multicast mode - connect to KNXD's or KNX-router's multicast-tree.
     This is the mode also used by ETS when you specify KNXNET/IP Routing as protocol.
     If you have a KNX-router that supports multicast, you do not need a KNXD installation. Default address:port is 224.0.23.12:3671
     Pls. ensure that you have only one GW/KNXD in your LAN that feed the multicast tree!
     This mode requires the IO::Socket::Multicast perl-module to be installed on yr. system.
     On Debian systems this can be achieved by apt-get install libio-socket-multicast-perl.
   T TCP Mode - uses a TCP-connection to KNXD (default port: 6720).
     This mode is the successor of the TUL-modul, but does not support direct Serial/USB connection to a TPUart-USB Stick.
     If you want to use a TPUart-USB Stick or any other serial KNX-GW, use either the TUL Module, or connect the USB-Stick to KNXD and in turn use modes M,S or T to connect to KNXD.
   S Socket mode - communicate via KNXD's UNIX-socket on localhost. default Socket-path: /var/run/knx
     Path might be different, depending on knxd-version or -config specification! This mode is tested ok with KNXD version 0.14.30. It does NOT work with ver. 0.10.0!

Alle Parameter sind mandatory! Bitte sicherstellen, dass es nur einen Kommunikationspfad zwischen dem KNX-Gateway und FHEM gibt!

Beispiele

Attribute

  • disable - ident zum FHEM Standard - ident zum FHEM StandardEmpfangen möglich!
  • verbose - ident zum FHEM Standard - bestimmt welche/wieviele Meldungen ins Log geschrieben werden.

Bekannte Probleme

Links