mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
18 lines
427 B
Plaintext
18 lines
427 B
Plaintext
|
#
|
||
|
# Display the on and off values off an FS20 device
|
||
|
# FileLog definition:
|
||
|
# define FileLog fs20log fs20dev /var/log/fs20dev-%Y-%U.log
|
||
|
#
|
||
|
set terminal png size 800,200 crop
|
||
|
set output '<OUT>.png'
|
||
|
set xdata time
|
||
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||
|
set xlabel " "
|
||
|
set ytics nomirror
|
||
|
set title '<TL>'
|
||
|
set grid
|
||
|
set yrange [-0.2:1.2]
|
||
|
|
||
|
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
|
||
|
using 1:2 title 'On/Off' with impulses
|