From 35e25539e48654fbb7a89b7df4114dde80eb6696 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Fri, 12 Aug 2011 18:11:00 +0000
Subject: [PATCH] The big .gplot rename
git-svn-id: https://svn.fhem.de/fhem/trunk@976 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/CHANGED | 3 +-
fhem/FHEM/98_autocreate.pm | 28 ++++++-------
fhem/docs/HOWTO.html | 4 +-
fhem/docs/commandref.html | 6 +--
fhem/examples/04_log | 2 +-
...{ks300_3.gplot => dayAvgTemp5rain11.gplot} | 0
.../pgm2/{ks300_2.gplot => hum6wind8.gplot} | 0
...s300_4.gplot => monthAvgTemp5Rain11.gplot} | 0
fhem/webfrontend/pgm2/oregon_hms.gplot | 40 -------------------
.../pgm2/{em.gplot => power4.gplot} | 0
.../pgm2/{cul_em.gplot => power8.gplot} | 0
.../{cul_emem.gplot => power8top10.gplot} | 0
.../pgm2/{oregon_rain.gplot => rain4.gplot} | 0
...gon_temp_press.gplot => rain4press4.gplot} | 0
.../pgm2/{oregon_hms_t.gplot => temp4.gplot} | 6 +--
fhem/webfrontend/pgm2/temp4hum4.gplot | 12 +++---
.../pgm2/{hms.gplot => temp4hum6.gplot} | 0
.../pgm2/{ks300.gplot => temp4rain10.gplot} | 0
...{oregon_wind.gplot => wind4windDir4.gplot} | 0
19 files changed, 31 insertions(+), 70 deletions(-)
rename fhem/webfrontend/pgm2/{ks300_3.gplot => dayAvgTemp5rain11.gplot} (100%)
rename fhem/webfrontend/pgm2/{ks300_2.gplot => hum6wind8.gplot} (100%)
rename fhem/webfrontend/pgm2/{ks300_4.gplot => monthAvgTemp5Rain11.gplot} (100%)
delete mode 100644 fhem/webfrontend/pgm2/oregon_hms.gplot
rename fhem/webfrontend/pgm2/{em.gplot => power4.gplot} (100%)
rename fhem/webfrontend/pgm2/{cul_em.gplot => power8.gplot} (100%)
rename fhem/webfrontend/pgm2/{cul_emem.gplot => power8top10.gplot} (100%)
rename fhem/webfrontend/pgm2/{oregon_rain.gplot => rain4.gplot} (100%)
rename fhem/webfrontend/pgm2/{oregon_temp_press.gplot => rain4press4.gplot} (100%)
rename fhem/webfrontend/pgm2/{oregon_hms_t.gplot => temp4.gplot} (83%)
rename fhem/webfrontend/pgm2/{hms.gplot => temp4hum6.gplot} (100%)
rename fhem/webfrontend/pgm2/{ks300.gplot => temp4rain10.gplot} (100%)
rename fhem/webfrontend/pgm2/{oregon_wind.gplot => wind4windDir4.gplot} (100%)
diff --git a/fhem/CHANGED b/fhem/CHANGED
index 24c57b4ed..4f83c6665 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,9 +1,10 @@
- CVS
- bugfix: applying smallscreen attributes to firefox/opera
- feature: CUL_TX added (thanks to Peterp)
- - feature: TCM120 / EnOcean parser added
+ - feature: TCM120/TCM310 + EnOcean parser added
- feature: eventMap enhanced
- bugfix: enabled logging for 59_Weather.pm (Boris)
+ - feature: .gplot files renamed from type to content
- 2011-07-08 (5.1)
- feature: smallscreen optimizations for iPhone
diff --git a/fhem/FHEM/98_autocreate.pm b/fhem/FHEM/98_autocreate.pm
index fa1fa3290..bf721a360 100644
--- a/fhem/FHEM/98_autocreate.pm
+++ b/fhem/FHEM/98_autocreate.pm
@@ -12,9 +12,9 @@ use warnings;
my %flogpar = (
"CUL_EM.*"
- => { GPLOT => "cul_em:Power,", FILTER => "%NAME:CNT.*" },
+ => { GPLOT => "power8:Power,", FILTER => "%NAME:CNT.*" },
"CUL_WS.*"
- => { GPLOT => "hms:Temp/Hum,", FILTER => "%NAME:T:.*" },
+ => { GPLOT => "temp4hum6:Temp/Hum,", FILTER => "%NAME:T:.*" },
"CUL_FHTTK.*"
=> { GPLOT => "fht80tf:Window,", FILTER => "%NAME" },
"FHT.*"
@@ -22,28 +22,28 @@ my %flogpar = (
"HMS100TFK_.*"
=> { GPLOT => "fht80tf:Contact,", FILTER => "%NAME" },
"HMS100T_.*"
- => { GPLOT => "hms:Temp/Hum,", FILTER => "%NAME:T:.*" },
+ => { GPLOT => "temp4hum6:Temp/Hum,", FILTER => "%NAME:T:.*" },
"KS300.*"
- => { GPLOT => "ks300:Temp/Rain,ks300_2:Wind/Hum,",
+ => { GPLOT => "temp4rain10:Temp/Rain,hum6wind8:Wind/Hum,",
FILTER => "%NAME:T:.*" },
# Oregon sensors:
# * temperature
"(THR128|THWR288A|THN132N).*"
- => { GPLOT => "oregon_hms_t:Temp,", FILTER => "%NAME" },
+ => { GPLOT => "temp4:Temp,", FILTER => "%NAME" },
# * temperature, humidity
"(THGR228N|THGR810|THGR918|THGR328N|RTGR328N|WTGR800_T).*"
- => { GPLOT => "oregon_hms:Temp/Hum,", FILTER => "%NAME" },
+ => { GPLOT => "temp4hum4:Temp/Hum,", FILTER => "%NAME" },
# * temperature, humidity, pressure
"(BTHR918N|BTHR918|BTHR918N).*"
- => { GPLOT => "oregon_temp_press:Temp/Press,oregon_hms:Temp/Hum,",
+ => { GPLOT => "rain4press4:Temp/Press,temp4hum4:Temp/Hum,",
FILTER => "%NAME" },
# * anenometer
"(WGR800|WGR918|WTGR800_A).*"
- => { GPLOT => "oregon_wind:WindDir/WindSpeed,", FILTER => "%NAME" },
+ => { GPLOT => "wind4windDir4:WindDir/WindSpeed,", FILTER => "%NAME" },
# * Oregon sensors: Rain gauge
"(PCR800|RGR918).*"
- => { GPLOT => "oregon_rain:RainRate", FILTER => "%NAME" },
+ => { GPLOT => "rain4:RainRate", FILTER => "%NAME" },
# X10 sensors received by RFXCOM
"RFXX10SEC.*"
@@ -51,19 +51,19 @@ my %flogpar = (
# USB-WDE1
"USBWX_[0-8]"
- => { GPLOT => "hms:Temp/Hum,", FILTER => "%NAME" },
+ => { GPLOT => "temp4hum6:Temp/Hum,", FILTER => "%NAME" },
"USBWX_ks300"
- => { GPLOT => "hms:Temp/Hum,ks300:Temp/Rain,ks300_2:Wind/Hum,",
+ => { GPLOT => "temp4hum6:Temp/Hum,temp4rain10:Temp/Rain,hum6wind8:Wind/Hum,",
FILTER => "%NAME:T:.*" },
# HomeMatic
"CUL_HM_THSensor.*"
- => { GPLOT => "hms:Temp/Hum,", FILTER => "%NAME:T:.*" },
+ => { GPLOT => "temp4hum6:Temp/Hum,", FILTER => "%NAME:T:.*" },
"CUL_HM_KS550.*"
- => { GPLOT => "ks300:Temp/Rain,ks300_2:Wind/Hum,",
+ => { GPLOT => "temp4rain10:Temp/Rain,hum6wind8:Wind/Hum,",
FILTER => "%NAME:T:.*" },
"CUL_HM_HM-CC-TC.*"
- => { GPLOT => "hms:Temp/Hum,", FILTER => "%NAME:T:.*" },
+ => { GPLOT => "temp4hum6:Temp/Hum,", FILTER => "%NAME:T:.*" },
# Lacrosse TX
"CUL_TX.*"
diff --git a/fhem/docs/HOWTO.html b/fhem/docs/HOWTO.html
index 4c5f6d350..2b0e67d47 100644
--- a/fhem/docs/HOWTO.html
+++ b/fhem/docs/HOWTO.html
@@ -256,9 +256,9 @@
Note that the .gplot files are also used if you use SVG output and
not the gnuplot backend!
Examples:
- attr em1000log logtype cul_em:Power,text + attr em1000log logtype power8:Power,text attr fs20_log logtype fs20:Plot,text - attr hms100th_log logtype hms:Plot,text + attr hms100th_log logtype temp4hum6:Plot,textWhen displaying the plot, you can convert it into a "weblink" device, diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index 23ca9c5f9..1f87f9d9a 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -6859,14 +6859,14 @@ Readings and STATE of temperature/humidity sensors are compatible with the CUL_W
define fhtlog1 FileLog fht1:.*(temp|actuator).* /var/log/fht1-%Y-%U.log
-