From ce6f514b20e174ab3c789aff842f8cbde2b7d869 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Wed, 8 Jan 2020 10:07:12 +0000
Subject: [PATCH] commandref_frame.html: replace 99_Utils staff with link to
99_Utils
git-svn-id: https://svn.fhem.de/fhem/trunk@20913 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/docs/commandref_frame.html | 30 ++++++++++--------------------
fhem/docs/commandref_frame_DE.html | 16 ++++------------
2 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/fhem/docs/commandref_frame.html b/fhem/docs/commandref_frame.html
index 128d99753..6452b5dea 100644
--- a/fhem/docs/commandref_frame.html
+++ b/fhem/docs/commandref_frame.html
@@ -1798,7 +1798,7 @@ The following local attributes are used by a wider range of devices:
{ `ls /etc` }
{ Log 1, "Hello" }
-
+
Perl expressions are separated by ;, in FHEM oneliners they have to
@@ -1806,7 +1806,7 @@ The following local attributes are used by a wider range of devices:
{ my $a = 1+1;; Log 1, "Hello $a" }
-
+
To use FHEM commands from the perl expression, use the function fhem(),
which takes a string argument, this string will be evaluated as a FHEM
@@ -1818,8 +1818,7 @@ The following local attributes are used by a wider range of devices:
Note: if this function returns a value, it will also be logged into the
global FHEM log. Use 1 as a second argument to disable this logging, this
makes sense when obtainig some values via FHEM "get...".
-
-
+
Notify can be used to store macros for manual execution. Use the trigger command to execute the macro:
@@ -1829,7 +1828,7 @@ The following local attributes are used by a wider range of devices:
define MacroWithArg notify MyMacro { Log 1, "Hello %"}
trigger MyMacro MyArg
-
+
To make date and time handling easier, the variables $sec, $min, $hour,
@@ -1850,20 +1849,12 @@ The following local attributes are used by a wider range of devices:
$we is equivalent to calling IsWe(), which optionally takes the arguments
"today", "yesterday", "tomorrow", MM-DD or YYYY-MM-DD. Note: for everything
- else "today" is assumed without an error message.
-
+ else "today" is assumed without an error message.
+
- The following helper functions are defined in 99_Util.pm (which will
- be loaded automatically, as every module with prefix 99):
-
- - min(a,b), max(a,b)
- - time_str2num("YYYY-MM-DD HH:MM:SS") returns a numerical value,
- which makes computation of time differences easier
- - abstime2rel("HH:MM:SS") converts an absolute time to a relative one
-
-
-
+ All helper functions defined in 99_Utils.pm
+
To access the device states/attributes, use the following functions:
@@ -1939,7 +1930,7 @@ The following local attributes are used by a wider range of devices:
Round id to <round> devimal places (optional parameter).
-
+
By using the 99_SUNRISE_EL.pm module, you have access to the following
@@ -1951,10 +1942,9 @@ The following local attributes are used by a wider range of devices:
offset is in seconds, and the format of min/max is "HH:MM" or "HH:MM:SS".
isday returns 1 if the sun is visible, and 0 else.
-
+
-
diff --git a/fhem/docs/commandref_frame_DE.html b/fhem/docs/commandref_frame_DE.html
index 68464074d..e708d74fb 100644
--- a/fhem/docs/commandref_frame_DE.html
+++ b/fhem/docs/commandref_frame_DE.html
@@ -1997,19 +1997,11 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
"today", "yesterday", "tomorrow", MM-DD oder YYYY-MM-DD. Achtung: alles
andere wird als "today" interpretiert, ohne eine Fehlermeldung zu
generieren.
-
+
-
- Die folgenden Hilfsfunktionen sind in der Datei 99_Util.pm definiert (wird
- wie jede mit 99_ beginnende Datei automatisch geladen):
-
- - min(a,b), max(a,b)
- - time_str2num("YYYY-MM-DD HH:MM:SS") gibt einen numerischen Wert
- zurück, der die Berechnung von Zeitdifferenzen vereinfacht
- - abstime2rel("HH:MM:SS") wandelt absolute in relative Zeitangaben um
-
-
-
+
+ Hilfsfunktionen sind in 99_Utils.pm beschrieben.
+
Um auf die Gerätestatus/Attribute zuzugreifen benutzen Sie bitte die