diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm
index 9217f32f8..039c88942 100755
--- a/fhem/FHEM/01_FHEMWEB.pm
+++ b/fhem/FHEM/01_FHEMWEB.pm
@@ -135,6 +135,7 @@ FHEMWEB_Initialize($)
longpoll:0,1
longpollSVG:1,0
menuEntries
+ ploteditor:always,onClick,never
plotfork:1,0
plotmode:gnuplot,gnuplot-scroll,SVG
plotsize
@@ -2540,6 +2541,13 @@ FW_ActivateInform()
is not used if the SVG has the attribute startDate defined.
+
+
ploteditor
+ Configures if the Plot editor should be shown
+ in the SVG detail view.
+ Can be set to always, onClick or never. Default is always.
+
+
plotfork
If set, generate the logs in a parallel process. Note: do not use it
@@ -2696,7 +2704,7 @@ FW_ActivateInform()
need some help from the #FileLog definition in the .gplot file: the
filter used there (second parameter) must either contain only the
deviceName or have the form deviceName.event or deviceName.*. This is
- always the case when using the Plot
+ always the case when using the Plot
editor. The SVG will be reloaded for any event triggered by
this deviceName.
Default is off.
@@ -3021,6 +3029,13 @@ FW_ActivateInform()
Attribut startDate benutzt wird.
+
+ ploteditor
+ Gibt an ob der Plot Editor in der SVG detail
+ ansicht angezeigt werden soll. Kann auf always, onClick oder never
+ gesetzt werden. Der Default ist always.
+
+
plotfork
Normalerweise wird die Ploterstellung im Hauptprozess ausgeführt,
@@ -3180,7 +3195,7 @@ FW_ActivateInform()
Lädt SVG Instanzen erneut, falls ein Ereignis dessen Inhalt
ändert. Funktioniert nur, falls der dazugehörige #FileLog
Definition in der .gplot Datei folgenden Form hat: deviceName.Event
- bzw. deviceName.*. Wenn man den Plot
+ bzw. deviceName.*. Wenn man den Plot
Editor benutzt, ist das übrigens immer der Fall. Die SVG Datei
wird bei jedem auslösenden Event dieses Gerätes neu
geladen. Standard ist aus.
diff --git a/fhem/FHEM/98_SVG.pm b/fhem/FHEM/98_SVG.pm
index 79c7b5913..8ca8ed32d 100755
--- a/fhem/FHEM/98_SVG.pm
+++ b/fhem/FHEM/98_SVG.pm
@@ -242,6 +242,10 @@ SVG_PEdit($$$$)
{
my ($FW_wname,$d,$room,$pageHash) = @_;
+ my $pe = AttrVal($FW_wname, "ploteditor", "always");
+
+ return "" if( $pe eq 'never' );
+
my $ld = $defs{$d}{LOGDEVICE};
my $ldt = $defs{$ld}{TYPE};
@@ -251,9 +255,22 @@ SVG_PEdit($$$$)
my %conf = SVG_digestConf($cfg, $plot);
my $ret = "
";
- $ret .= "