diff --git a/fhem/FHEM/93_FHEM2FHEM.pm b/fhem/FHEM/93_FHEM2FHEM.pm
index 8aafb447c..95d63c363 100755
--- a/fhem/FHEM/93_FHEM2FHEM.pm
+++ b/fhem/FHEM/93_FHEM2FHEM.pm
@@ -301,7 +301,7 @@ FHEM2FHEM_SimpleRead($)
FHEM2FHEM
- FHEM2FHEM is a helper module to connect separate fhem installations.
+ FHEM2FHEM is a helper module to connect separate FHEM installations.
Define
@@ -310,19 +310,19 @@ FHEM2FHEM_SimpleRead($)
- Connect to the remote fhem on <host>. <portnr> is a telnet
- port on the remote fhem, defaults to 7072. The optional :SSL suffix is
- needed, if the remote fhem configured SSL for this telnet port. In this case
+ Connect to the remote FHEM on <host>. <portnr> is a telnet
+ port on the remote FHEM, defaults to 7072. The optional :SSL suffix is
+ needed, if the remote FHEM configured SSL for this telnet port. In this case
the IO::Socket::SSL perl module must be installed for the local host too.
- Note: if the remote fhem is on a separate host, the telnet port on the remote
- fhem musst be specified with the global option.
+ Note: if the remote FHEM is on a separate host, the telnet port on the remote
+ FHEM musst be specified with the global option.
The next parameter specifies the connection
type:
- LOG
- Using this type you will receive all events generated by the remote fhem,
+ Using this type you will receive all events generated by the remote FHEM,
just like when using the inform on command, and you
can use these events just like any local event for FileLog or notify.
@@ -330,20 +330,20 @@ FHEM2FHEM_SimpleRead($)
see the notify definition.
Drawbacks: the remote devices wont be created locally, so list wont
show them and it is not possible to manipulate them from the local
- fhem. It is possible to create a device with the same name on both fhem
+ FHEM. It is possible to create a device with the same name on both FHEM
instances, but if both of them receive the same event (e.g. because both
of them have a CUL attached), then all associated FileLogs/notifys will be
triggered twice.
- RAW
- By using this type the local fhem will receive raw events from the remote
- fhem device devicename, just like if it would be attached to the
- local fhem.
+ By using this type the local FHEM will receive raw events from the remote
+ FHEM device devicename, just like if it would be attached to the
+ local FHEM.
Drawback: only devices using the Dispatch function (CUL, FHZ, CM11,
SISPM, RFXCOM, TCM, TRX, TUL) generate raw messages, and you must create a
FHEM2FHEM instance for each remote device.
devicename must exist on the local
- fhem server too with the same name and same type as the remote device, but
+ FHEM server too with the same name and same type as the remote device, but
with the device-node "none", so it is only a dummy device.
All necessary attributes (e.g. rfmode if the remote
CUL is in HomeMatic mode) must also be set for the local device.
@@ -380,6 +380,97 @@ FHEM2FHEM_SimpleRead($)
-
=end html
+
+=begin html_DE
+
+
+FHEM2FHEM
+
+ FHEM2FHEM ist ein Hilfsmodul, um mehrere FHEM-Installationen zu verbinden.
+
+
+ Define
+
+ define <name> FHEM2FHEM <host>[:<portnr>][:SSL] [LOG:regexp|RAW:devicename] {portpassword}
+
+
+
+ Zum remote (entfernten) FHEM auf Rechner <host> verbinden.
+ <portnr> ist der telnetPort des remote FHEM, Standardport ist 7072.
+ Der Zusatz :SSL wird benötigt, wenn das remote FHEM
+ SSL-Verschlüsselung voraussetzt. Auch auf dem lokalen Host muss dann
+ das Perl-Modul IO::Socket::SSL installiert sein.
+
+ Anmerkung: Wenn das remote FHEM auf einem eigenen Host läuft, muss
+ "telnetPort" des remote FHEM als global festgelegt sein.
+
+ Der nächste Parameter spezifiziert den Verbindungs-Typ:
+
+ - LOG
+ Bei Verwendung dieses Verbindungstyps werden alle Ereignisse (Events) der
+ remote FHEM-Installation empfangen. Die Ereignisse sehen aus wie die, die
+ nach inform on Befehl erzeugt werden. Sie können
+ wie lokale Ereignisse durch FileLog oder notify genutzt werden und mit einem regulären
+ Ausdruck gefiltert werden. Die Syntax dafür ist unter der
+ notify-Definition beschrieben.
+
+ Einschränkungen: die Geräte der remote Installation werden nicht
+ lokal angelegt und können weder mit list angezeigt noch lokal
+ angesprochen werden. Auf beiden FHEM-Installationen können
+ Geräte gleichen Namens angelegt werden, aber wenn beide dasselbe
+ Ereignis empfangen (z.B. wenn an beiden Installationen CULs angeschlossen
+ sind), werden alle FileLogs und notifys doppelt ausgelöst.
+
+ - RAW
+ Bei diesem Verbindungstyp werden unaufbereitete Ereignisse (raw messages)
+ des remote FHEM-Geräts devicename genau so empfangen, als
+ wäre das Gerät lokal verbunden.
+
+ Einschränkungen: nur Geräte, welche die "Dispatch-Funktion"
+ unterstützen (CUL, FHZ, CM11, SISPM, RFXCOM, TCM, TRX, TUL) erzeugen
+ raw messages, und für jedes entfernte Gerät muss ein eigenes
+ FHEM2FHEM Objekt erzeugt werden.
+
+ devicename muss mit demselben Namen und Typ wie das Remote Devive
+ angelegt sein, aber als Dummy, d.h. als device-node "none".
+ Zusätzlich müssen alle notwendigen Attribute lokal gesetzt sein
+ (z.B. rfmode, wenn die remote CUL im HomeMatic-Modus
+ läuft). Die Verwendung bereits bestehender lokaler Geräte ist zu
+ vermeiden, weil sonst die Duplikatsfilterung nicht richtig funktioniert
+ (siehe dupTimeout).
+
+
+ Der letzte Parameter enthält das Passwort des Remote-Servers, wenn dort
+ eines aktiviert ist portpassword.
+
+
+ Beispiele:
+
+ define ds1 FHEM2FHEM 192.168.178.22:7072 LOG:.*
+
+ define RpiCUL CUL none 0000
+ define ds2 FHEM2FHEM 192.168.178.22:7072 RAW:RpiCUL
und auf dem RPi (192.168.178.22):
+ rename CUL_0 RpiCUL
+
+
+
+
+
+ Set
+
+
+ Get
+
+
+ Attributes
+
+
+
+
+=end html_DE
+
=cut
diff --git a/fhem/FHEM/98_dummy.pm b/fhem/FHEM/98_dummy.pm
index 452af45f3..e2fc845e3 100644
--- a/fhem/FHEM/98_dummy.pm
+++ b/fhem/FHEM/98_dummy.pm
@@ -96,4 +96,58 @@ dummy_Define($$)
=end html
+
+=begin html_DE
+
+
+dummy
+
+
+ Definiert eine Pseudovariable, der mit set jeder beliebige
+ Wert zugewiesen werden kann. Sinnvoll zum Programmieren.
+
+
+
+ Define
+
+ define <name> dummy
+
+
+ Beispiel:
+
+ define myvar dummy
+ set myvar 7
+
+
+
+
+
+ Set
+
+ set <name> <value>
+ Weist einen Wert zu.
+
+
+
+
+ Get
+
+
+ Attributes
+
+ - setList
+ Liste mit Werten durch Leerzeichen getrennt. Diese Liste wird mit "set
+ name ?" ausgegeben. Damit kann das FHEMWEB-Frontend Auswahl-Menüs
+ oder Schalter erzeugen.
+ Beispiel: attr dummyName setList on off
+
+
+ - readingFnAttributes
+
+
+
+
+
+=end html_DE
+
=cut