[gelöst] Plot verschwindet beim Zoomen

Begonnen von Persuasiv, 27 Juli 2018, 13:21:27

Vorheriges Thema - Nächstes Thema

Persuasiv

hi,

ich habe ca. 60 SVG Plots eingerichtet. Mit Ausnahme von 4 Plots kann ich in alle Plots rein- und rauszoomen. Die betroffenen 4 Plots verschwinden, wenn ich zoome und es erscheint eine leere Seite. Ist bekannt woran das liegen kann?

In dem Erstellungsmenü der Plots kann ich problemlos zoomen. Sieh anbei ...

Besten Dank

rudolfkoenig

ZitatIst bekannt woran das liegen kann?
Nein.

Persuasiv

Super ^^ Dann hätten wir das auch geklärt  ;D

rudolfkoenig

Wenn ich helfen soll, dann brauche ich mehr Angaben wie Browser, Definition der Plots, Daten, usw, am besten alles, damit ich es selbst nachstellen kann. Sonst antworte ich nur auf die gestellten Fragen :)

Persuasiv

Die Daten finden sich im Anhang. Fehlt sonst noch etwas?

getestete Browser:

Firefox 60.1 esr
Chrome 68.0.3440.75
Opera 54.0.2952.60


Definition der vier Plots:

defmod SVG_FileLog_KeyValueProtocol_W50_1_2 SVG FileLog_KeyValueProtocol_W50_1:SVG_FileLog_KeyValueProtocol_W50_1_2:CURRENT
attr SVG_FileLog_KeyValueProtocol_W50_1_2 alias 1
attr SVG_FileLog_KeyValueProtocol_W50_1_2 label "Ø Wingeschwindigkeit - Min: $data{min1} km/h, Max: $data{max1} km/h, Aktuell: $data{currval1} km/h"
attr SVG_FileLog_KeyValueProtocol_W50_1_2 room Wind_&_Regen

setstate SVG_FileLog_KeyValueProtocol_W50_1_2 initialized



defmod SVG_FileLog_KeyValueProtocol_W50_1_3 SVG FileLog_KeyValueProtocol_W50_1:SVG_FileLog_KeyValueProtocol_W50_1_3:CURRENT
attr SVG_FileLog_KeyValueProtocol_W50_1_3 alias 2
attr SVG_FileLog_KeyValueProtocol_W50_1_3 label "Windböen - Min: $data{min1} km/h, Max: $data{max1} km/h, Aktuell: $data{currval1} km/h"
attr SVG_FileLog_KeyValueProtocol_W50_1_3 room Wind_&_Regen

setstate SVG_FileLog_KeyValueProtocol_W50_1_3 initialized



defmod SVG_FileLog_KeyValueProtocol_WR100_1_2 SVG FileLog_KeyValueProtocol_WR100_1:SVG_FileLog_KeyValueProtocol_WR100_1_2:CURRENT
attr SVG_FileLog_KeyValueProtocol_WR100_1_2 alias 3
attr SVG_FileLog_KeyValueProtocol_WR100_1_2 label "Windrichtung - Aktuell: $data{currval1} °"
attr SVG_FileLog_KeyValueProtocol_WR100_1_2 room Wind_&_Regen

setstate SVG_FileLog_KeyValueProtocol_WR100_1_2 initialized



defmod SVG_FileLog_KeyValueProtocol_R20_1_3 SVG FileLog_KeyValueProtocol_R20_1:SVG_FileLog_KeyValueProtocol_R20_1_3:CURRENT
attr SVG_FileLog_KeyValueProtocol_R20_1_3 alias 4
attr SVG_FileLog_KeyValueProtocol_R20_1_3 label "Regen - Min: $data{min1} mm, Max: $data{max1} mm, Aktuell: $data{currval1} mm"
attr SVG_FileLog_KeyValueProtocol_R20_1_3 room Wind_&_Regen

setstate SVG_FileLog_KeyValueProtocol_R20_1_3 initialized



Sensor W50 (Windgeschwindigkeit + Bodentemperatur 50 cm):

defmod KeyValueProtocol_W50_1 KeyValueProtocol W50 1
attr KeyValueProtocol_W50_1 IODev Empfaenger
attr KeyValueProtocol_W50_1 Mapping BW=Windböen,DW=Windgeschwindigkeit,R=RSSI,T50=Bodentemperatur50cm
attr KeyValueProtocol_W50_1 room KeyValueProtocol

setstate KeyValueProtocol_W50_1 2018-07-25 21:51:41 BW 0.5
setstate KeyValueProtocol_W50_1 2018-07-27 17:56:13 Bodentemperatur50cm 18.97
setstate KeyValueProtocol_W50_1 2018-07-25 21:51:41 DW 0.0
setstate KeyValueProtocol_W50_1 2018-07-25 21:51:41 R -82
setstate KeyValueProtocol_W50_1 2018-07-27 17:56:13 RSSI -85
setstate KeyValueProtocol_W50_1 2018-07-25 21:51:41 T50 18.33
setstate KeyValueProtocol_W50_1 2018-07-27 17:56:13 Windböen 13.0
setstate KeyValueProtocol_W50_1 2018-07-27 17:56:13 Windgeschwindigkeit 6.6


Sensor WR100 (Windrichtung + Bodentemperatur 100 cm):

defmod KeyValueProtocol_WR100_1 KeyValueProtocol WR100 1
attr KeyValueProtocol_WR100_1 IODev Empfaenger
attr KeyValueProtocol_WR100_1 Mapping R=RSSI,T100=Bodentemperatur100cm,dir=Windrichtung,WRB=WindrichtungZeichen
attr KeyValueProtocol_WR100_1 room KeyValueProtocol

setstate KeyValueProtocol_WR100_1 2018-07-27 17:52:51 Bodentemperatur100cm 17.34
setstate KeyValueProtocol_WR100_1 2018-07-25 21:52:34 R -72
setstate KeyValueProtocol_WR100_1 2018-07-27 17:52:51 RSSI -84
setstate KeyValueProtocol_WR100_1 2018-07-25 21:52:34 T100 16.91
setstate KeyValueProtocol_WR100_1 2018-07-27 13:25:45 WRB Südost
setstate KeyValueProtocol_WR100_1 2018-07-27 17:52:51 Windrichtung 79
setstate KeyValueProtocol_WR100_1 2018-07-27 17:52:51 WindrichtungZeichen Ost
setstate KeyValueProtocol_WR100_1 2018-07-25 21:52:34 dir 165


rudolfkoenig

ZitatDie Daten finden sich im Anhang. Fehlt sonst noch etwas?
Ja: die dazugehoerige .gplot Dateien. Kommt zum Problem auch, wenn im Raum nur eins der SVGs zu sehen ist, oder braucht man zwingend alle 4? Wenn Letzteres, dann brauche ich Daten fuer alle 4 Plots, und alle 4 .gplot Dateien. Die FileLogs kann ich raten, und die Quelle (die KeyValueProtocol Definitionen) brauche ich nicht.
In welche richtung muss man zoomen, und wie weit?

Persuasiv

#6
Der Fehler tritt auch auf, wenn sich nur ein in einem Raum befindet. Die Plots verschwinden bei jedem Zommvorgang. D.h. es spielt keine Rolle, ob man rein- oder rauszoomt.

Ich habe testweise alle Plots in einen neuen Raum verschoben und dort tritt der Fehler nicht mehr auf. Mein Problem scheint demzufolge gelöst zu sein. Ggf. fallen dir aber dennoch Unstimmigkeiten auf.

# Created by FHEM/98_SVG.pm, 2018-07-25 22:12:58
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set y2tics
set grid
set ylabel "Ø Wingeschwindigkeit"
set y2label "Ø Wingeschwindigkeit"

#FileLog_KeyValueProtocol_W50_1 4:KeyValueProtocol_W50_1.Windgeschwindigkeit\x3a::

plot "<IN>" using 1:2 axes x1y2 title 'Ø Wingeschwindigkeit' ls l2 lw 1 with lines



# Created by FHEM/98_SVG.pm, 2018-07-25 22:15:39
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set y2tics
set grid
set ylabel "Windböen in km/h"
set y2label "Windböen in km/h"

#FileLog_KeyValueProtocol_W50_1 4:KeyValueProtocol_W50_1.Windböen\x3a::

plot "<IN>" using 1:2 axes x1y2 title 'Windböen in km/h' ls l0 lw 1 with lines


# Created by FHEM/98_SVG.pm, 2018-07-26 15:53:38
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set y2tics
set grid
set ylabel "Windrichtung in °"
set y2label "Windrichtung in °"

#FileLog_KeyValueProtocol_WR100_1 4:KeyValueProtocol_WR100_1.Windrichtung\x3a::

plot "<IN>" using 1:2 axes x1y2 title 'Windrichtung in °' ls l5 lw 1 with lines



# Created by FHEM/98_SVG.pm, 2018-07-25 22:17:19
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set y2tics
set grid
set ylabel "Regen in mm"
set y2label "Regen in mm"

#FileLog_KeyValueProtocol_R20_1 4:KeyValueProtocol_R20_1.Regen\x3a::

plot "<IN>" using 1:2 axes x1y2 title 'Regen in mm' ls l0 lw 1 with lines

rudolfkoenig

Es lag am & im Raumnamen, habs gefixt.
Verfuegbar ab morgen per update oder ab sofort aus dem SVN.

Persuasiv

Besten Dank für den guten Support  ;) Ich habe vermutlich noch einen weiteren Fehler gefunden ... Soll ich den hier oder in einem neuen Thread darlegen?

rudolfkoenig

ZitatSoll ich den hier [...] darlegen?
Wenn dein Problem mit dem aktuellen Betreff genau beschrieben wird, dann ja.