This repository has been archived by the owner on Aug 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
118 lines (118 loc) · 6.4 KB
/
config.xml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0"?>
<mesh name="mesh_root">
<!-- configuration -->
<config>
<!-- 0 = Google STT - 1 = Bing STT-->
<STTMode>0</STTMode>
<!-- API key -->
<api>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</api>
<!-- Special config -->
<ville>paris</ville>
<cinemaurl>http://www.commeaucinema.com/rsspage.php?feed=cine</cinemaurl>
<RSS_Site>http://www.site.com/forum/index.php?type=rss;action=.xml</RSS_Site>
<!-- FR or EN -->
<language>FR</language>
<!-- La syntaxe pour les infos suivante est user:mot_de_passe -->
<mailuser_and_pass>user:pass</mailuser_and_pass>
<githubaccount>user:pass</githubaccount>
</config>
<!-- configuration du son-->
<!-- Gain_record = gain a appliquer au micro durant enregistrement -->
<!-- Min_amplitude = valeur minimum pr declencher enregistrement -->
<sound_engine>
<model>resources/snowboy.umdl</model>
<sensibility>0.5</sensibility>
<Gain_record>2</Gain_record>
<Min_amplitude>2000</Min_amplitude>
</sound_engine>
<!-- syntaxe = > Requit/possible/option/interdit -->
<!-- mot(ser) entre parentheses = lettre possible en fin de mot, inutile pr pluriels car deja geres -->
<commandlist>
<LC command="*ACTION_ON micro///" action = "1" />
<LC command="heure/*INFORMATION *QUESTION//" action = "2" />
<LC command="*INFORMATION date///" action = "3" />
<LC command="*INFORMATION combien///" action = "3" />
<LC command="*QUESTION *ACTION_ON programme tele///" action = "4" />
<LC command="*QUESTION tele///" action = "4" />
<LC command="*METEO/*QUESTION *INFORMATION demain//" action = "5" />
<LC command="definition/de mot//" action = "6" />
<LC command="*QUESTION veut dire///" action = "6" />
<LC command="*ALARME a/heure minute heures minutes//" action = "7" />
<LC command="*ALARME dans/heure heures minutes minute//" action = "8" />
<LC command="mail/*QUESTION *ACTION_ON//" action = "9" />
<LC command="*ACTION_ON musique///" action = "10" />
<LC command="*ACTION_OFF musique///" action = "18" />
<LC command="toi/des connecte deconnecte//" action = "11" />
<LC command="execute commande/speciale//" action = "12" />
<LC command="*INFO systeme/*INFORMATION *QUESTION//" action = "13" />
<LC command="allume lumiere///" action = "14" />
<LC command="etein(ts) lumiere///" action = "15" />
<LC command="*QUESTION au cinema///" action = "16" />
<LC command="affiche icone tete///" action = "17" />
<LC command="*QUESTION de neuf///" action = "19" />
<LC command="question vie univers///" action = "21" />
<LC command="recherche le fichier///" action = "22" />
</commandlist>
<!-- dictionnaire special -->
<special>
<SPE command="*ACTION_ON" word="demarre lance(r) affiche actionne active allume teste verifis" />
<SPE command="*ACTION_OFF" word="eteint coupe arrette" />
<SPE command="*INFORMATION" word="lit est sera donne" />
<SPE command="*QUESTION" word="quoi qu que quelle quel combien" />
<SPE command="*ALARME" word="rappelle previens reveille" />
<SPE command="*INFO" word="info information" />
<SPE command="*METEO" word="meteo temps" />
</special>
<!-- action a faire -->
<!-- Separer les actions par | -->
<action>
<ACT index="1" action="DIRE le micro fonctionne bien" />
<ACT index="2" action="DIREHEURE" />
<ACT index="3" action="DIREDATE" />
<ACT index="4" action="PROGRAMMETV" />
<ACT index="5" action="METEO" />
<ACT index="6" action="DEFINITION" />
<ACT index="7" action="RAPPELA" />
<ACT index="8" action="RAPPELDANS" />
<ACT index="9" action="CHECKMAIL" />
<ACT index="10" action="MUSIQUE ON" />
<ACT index="11" action="DIRE a plus tard | EXIT" />
<ACT index="12" action="SHELLEXECUTE shell/test2.sh" />
<ACT index="13" action="SHELLLIRE shell/infosysteme.sh" />
<ACT index="14" action="TRANSMITTER 2 01478162 0 on" />
<ACT index="15" action="TRANSMITTER 2 01478162 0 off" />
<ACT index="16" action="CINEMA" />
<ACT index="17" action="SHOWICON 3" />
<ACT index="18" action="MUSIQUE OFF" />
<ACT index="19" action="SHOWICON 8 | CHECKMAIL 1| CHECKGITHUB 1| CHECKRSS 1" />
<ACT index="20" action="SENDREQUEST http://xx.xx.xx.xx:8080/json.htm?type=command&param=switchlight&idx=220&switchcmd=On" />
<ACT index="21" action="DIRE la réponse est 42" />
<ACT index="22" action="FINDFILE" />
</action>
<!-- icones pour la matrice -->
<!-- 1=sablier 2=micro 3=smiley 4=interrogation 5/6=anim alien 7=coeur 8=clock 9=mail-->
<matrixicon>
<MAT index="1" data="00YYYYY0 00Y000Y0 000YYY00 0000Y000 000Y0Y00 00Y0Y0Y0 00YYYYY0 00000000" />
<MAT index="2" data="0YY00000 YY0Y0000 YYYY0000 0YY0Y000 000YYY00 0000YYY0 00000YY0 0000000Y" />
<MAT index="3" data="00GGGG00 0G0000G0 G0G00G0G G000000G G0G00G0G G00GG00G 0G0000G0 00GGGG00" />
<MAT index="4" data="000RRR00 00RR00R0 00R000R0 000R0000 0000R000 0000R000 00000000 0000R000" />
<MAT index="5" data="00G00G00 00G00G00 0GGGGGG0 GG0GG0GG GGGGGGGG GGGGGGGG G0G00G0G 00G00G00" />
<MAT index="6" data="00G00G00 G0G00G0G GGGGGGGG GG0GG0GG GGGGGGGG 0GGGGGG0 00G00G00 0G0000G0" />
<MAT index="7" data="00000000 0RR00RR0 RRRRRRRR RRRRRRRR RRRRRRRR 0RRRRRR0 00RRRR00 000RR000" />
<MAT index="8" data="00GGGG00 0G0000G0 G00G000G G00G000G G00GGG0G G000000G 0G0000G0 00GGGG00" />
<MAT index="9" data="00000000 YYYYYYYY YY0000YY Y0Y00Y0Y Y00YY00Y Y0Y00Y0Y YYYYYYYY 00000000" />
</matrixicon>
<!-- Event programmes, a repeter, si il ne doivent apparaitre qu'une fois, utiliser l'autre fichier xml (data.xml) -->
<!-- Laisser des XX a la place des valeurs pr les repetions, ex : XX/XX/XX/07/00 se declenchera tout les jours a 7h00 -->
<!-- Format YY/MM/DD/HH/MM -->
<Event>
<Al time="XX/XX/XX/07/00" action="DIRE bone journee" />
<Al time="XX/XX/XX/XX/00" action="SHOWICON 8 | CHECKGITHUB 0 | CHECKRSS 0" />
</Event>
<!-- preprogrammed strings -->
<commonstring>
<STR id="0" string = "oui ?" />
<STR id="1" string = "je n'ai pas compris" />
</commonstring>
</mesh>
<?include somedata?>