diff --git a/fhem/FHEM/76_msgDialog.pm b/fhem/FHEM/76_msgDialog.pm index 07ca1de1a..651e70679 100644 --- a/fhem/FHEM/76_msgDialog.pm +++ b/fhem/FHEM/76_msgDialog.pm @@ -760,7 +760,7 @@ __END__
Path to a configuration file for the dialogue. This is an alternative way to using DEF.
- The file itself must contain a JSON-encoded dialogue structure - just as described in define.
+ The file itself must contain a JSON-encoded dialogue structure - just as described in define.
Example (placed in the same dir fhem.pl is located):
attr <msgDialogDevice> configFile ./metaDialogue.cfg
Alternativ zur Eingabe des Dialogs in der DEF kann eine Datei eingelesen werden, die die Konfigurationsinformationen zum Dialog enthält. Anzugeben ist der Pfad zu dieser Datei.
- Die Datei selbst muss den Dialog in einer JSON-Structur beinhalten (Kommentar-Zeilen beginnend mit # sind erlaubt) - ansonsten gilt dasselbe wie in define beschrieben.
+ Die Datei selbst muss den Dialog in einer JSON-Structur beinhalten (Kommentar-Zeilen beginnend mit # sind erlaubt) - ansonsten gilt dasselbe wie in define beschrieben.
Beispiel (die Datei liegt im Modul-Verzeichnis):
attr <msgDialogDevice> configFile ./FHEM/metaDialogue.cfg
+
++
+ Examples:define shutter WeekdayTimer bath 12345|05:20|up 12345|20:30|down
+ Mo-Fr are setting the shutter at 05:20 to up, and at 20:30 down.
define heatingBath WeekdayTimer bath 07:00|16 Mo,Tu,Th-Fr|16:00|18.5 20:00|eco
{fhem("set dummy on"); fhem("set $NAME desired-temp $EVENT");}
+ At the given times and weekdays only(!) the command will be executed.
define dimmer WeekdayTimer livingRoom Sa-Su,We|07:00|dim30% Sa-Su,We|21:00|dim90% (ReadingsVal("WeAreThere", "state", "no") eq "yes")
+ The dimmer is only set to dimXX% if the dummy variable WeAreThere is "yes"(not a real live example).
If you want to have set all WeekdayTimer their current value (e.g. after a temperature lowering phase holidays) you can call the function WeekdayTimer_SetParm("WD-device") or WeekdayTimer_SetAllParms().
+
define wd Weekdaytimer device de !$we 09:00|19 (function("Ein"))
@@ -1595,7 +1595,7 @@ __END__
define wd Weekdaytimer device de 09:00|19 (function("exit"))
define wd Weekdaytimer device de 57 09:00|19 (function("exit"))
define wd Weekdaytimer device de fr,$we 09:00|19 (function("exit"))
-