Display picoLCD {
Driver 'picoLCDGraphic'
Size '256x64'
Update 200
Contrast 230
Backlight 1
Inverted 1
Icons 1
}
Variables {
n 0
nkey 0
currentImage 'http://192.168.12.113/mrtg/127.0.0.1_2-month.png'
mrtgDayImageURL 'http://192.168.12.113/mrtg/127.0.0.1_2-day.png'
mrtgWeekImageURL 'http://192.168.12.113/mrtg/127.0.0.1_2-week.png'
#currentFile '/tmp/127.0.0.1_2-day.png'
currentFile ' '
tick 500
tack 100
minute 60000
}
Widget TimerW {
class 'Timer'
expression n=LCD::GPI(1);nkey=n!=0?n:nkey
active 1
update 100
}
# export PYTHONPATH which should point to the scripts usually /etc/picoLCDGraphic/Scripts
Widget MRTGMinute {
class 'Text'
expression currentFile=python::exec('mrtg', 'saveimage', currentImage)
width 42
#update minute
update 100
}
Widget test {
class 'Text'
expression currentFile
width 42
#update minute
update 100
}
# Python script will save the filename as taken from the URL above in the /etc/picoLCDGraphic/Images path
# Modify mrtg.py to save in another path and also change file tag below
Widget BandwidthImage {
class 'Image'
file currentFile
visible 1
inverted 0
reload 1
#update minute
update 100
#update tick
}
Widget GPO_kup {
class 'GPO'
expression currentImage=nkey==5?mrtgDayImageURL:currentImage;nkey==5?1:0
update 300
}
Widget GPO_kdown {
class 'GPO'
expression currentImage=nkey==7?mrtgWeekImageURL:currentImage;nkey==7?1:0
update 300
}
Layout picoLCD {
Row1 {
Col1 'MRTGMinute'
}
Layer 1 {
X0.Y0 'BandwidthImage'
}
Timer1 'TimerW'
GPO2 'GPO_kup'
GPO3 'GPO_kdown'
}
Display 'picoLCD'
Layout 'picoLCD'
>commitdiffstats
blob: 253f5bf7939b6349d319ac1474b489bdb9b582a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# ParisEst - France (DVB-T transmitter of ParisEst ( Chennevières ) )
# ParisEst - France (signal DVB-T transmis depuis l'émetteur de Chennevières )
#
# ATTENTION ! Ce fichier a ete construit automatiquement a partir
# des frequences obtenues sur : http://www.tvnt.net/multiplex_frequences.htm
# en Avril 2006. Si vous constatez des problemes et voulez apporter des
# modifications au fichier, envoyez le fichier modifie a
# l'adresse linux-dvb@linuxtv.org (depot des fichiers d'init dvb)
# ou a l'auteur du fichier :
# Nicolas Estre <n_estre@yahoo.fr>
#
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
#### ParisEst - Chennevières ####
#R1
T 586000000 8MHz AUTO NONE QAM64 8k AUTO NONE
#R2
T 738000000 8MHz AUTO NONE QAM64 8k AUTO NONE
#R3
T 786000000 8MHz AUTO NONE QAM64 8k AUTO NONE
#R4
T 810000000 8MHz AUTO NONE QAM64 8k AUTO NONE
#R5
T 714000000 8MHz AUTO NONE QAM64 8k AUTO NONE
#R6
T 762000000 8MHz AUTO NONE QAM64 8k AUTO NONE
|