ks500 by integras
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
63
webfrontend/pgm2/ks550_wind.gplot
Normal file
63
webfrontend/pgm2/ks550_wind.gplot
Normal file
@@ -0,0 +1,63 @@
|
||||
###########################################################################
|
||||
### Display Wind values from a KS550
|
||||
|
||||
# This file uses placeholders. For good results the following
|
||||
# attribute settings in the WebLink object are recommended:
|
||||
#
|
||||
# label: "Wind Speed [km/h]"::"Direction [360]"::"Speed"::"Direction"::"Range (max. 67.5)"
|
||||
# title: "Wind $data{currval1} ($data{min1}-$data{max1}), Direction $data{currval2} ($data{min2}-$data{max2}) and Range $data{currval3} @ $data{currdate1}"
|
||||
|
||||
### FileLog definition corresponding to this file
|
||||
|
||||
# define <filelogname> FileLog /var/log/fhem/KS550_%Y.log <ks550name>:T:.*
|
||||
|
||||
### FileLog content
|
||||
|
||||
# 2012-01-01_00:00:03 KS550 T: 10.4 H: 97 W: 0 R: 976.45 IR: 0 WD: 40 WDR: 67.5 S: 155 B: 8
|
||||
|
||||
# This is the status line, which is printed to the logfile. For each of
|
||||
# the data there is also a separate line available, which you can select
|
||||
# using a different regular expression in the FileLog define.
|
||||
# Try .* as an all quantor to see, which lines are available.
|
||||
#
|
||||
# Field description:
|
||||
# T: Temperature
|
||||
# H: Humidity
|
||||
# W: Wind velocity
|
||||
# R: Rain quantity
|
||||
# IR: Rain indicator
|
||||
# WD: Direction of wind
|
||||
# WDR: Range of wind directions (67.5 is the maximum range)
|
||||
# S: Sunshine duration
|
||||
# B: Brightness (minimum:8, maximum:255)
|
||||
|
||||
### Settings
|
||||
|
||||
set terminal size <SIZE>
|
||||
set title '<TL>'
|
||||
set ylabel '<L1>'
|
||||
set y2label '<L2>'
|
||||
set ytics
|
||||
set y2tics
|
||||
|
||||
# Maybe define your own ranges (not really needed):
|
||||
#set yrange [1:10]
|
||||
#set y2range [0:300]
|
||||
|
||||
### Data extraction
|
||||
|
||||
# The following FileLog directives extract the values from the logfile
|
||||
# lines. If you have only the status lines in the logfile, you do not
|
||||
# need any regular expression, since the line is valid anyhow.
|
||||
# Notice the use ans non-use of default values
|
||||
|
||||
#FileLog 8::0:
|
||||
#FileLog 14:::
|
||||
#FileLog 16:::
|
||||
|
||||
### Data plotting
|
||||
|
||||
plot \
|
||||
axes x1y1 title '<L3>' with lines,\
|
||||
axes x1y2 title '<L4>' with steps,\
|
||||
axes x1y2 title '<L5>' with steps
|
||||
Reference in New Issue
Block a user