Subversion Repositories HomeAutomation

Rev

Rev 2111 | Rev 2195 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2111 Rev 2139
1
<?php
1
<?php
2
 
2
 
3
$atomdHostname = "127.0.0.1";
3
$atomdHostname = "127.0.0.1";
4
$atomdPort = 1203;
4
$atomdPort = 1203;
5
 
5
 
6
$aliasNames = array("sovrumtak" => "Taklampa sovrum",
6
$aliasNames = array("sovrumtak" => "Taklampa sovrum",
7
                    "sovrumdorr" => "Spotlights sovrumsdörr",
7
                    "sovrumdorr" => "Spotlights sovrumsdörr",
8
                    "sovrumvagg" => "Spotlights fototapet sovrum",
8
                    "sovrumvagg" => "Spotlights fototapet sovrum",
9
                    "hall" => "Spotlights hallen",
9
                    "hall" => "Spotlights hallen",
10
                    "tv" => "TV sovrum",
10
                    "tv" => "TV sovrum",
11
                   );
11
                   );
12
 
12
 
13
$pageConfiguration = array(
13
$pageConfiguration = array(
14
                           array("page" => "dimmers", 
14
                           array("page" => "dimmers", 
15
                                 "title" => "Lampor",
15
                                 "title" => "Lampor",
16
                                 "aliases" => array("sovrumtak",
16
                                 "aliases" => array("sovrumtak",
17
                                                    "sovrumdorr",
17
                                                    "sovrumdorr",
18
                                                    "sovrumvagg",
18
                                                    "sovrumvagg",
19
                                                    "hall")
19
                                                    "hall")
20
                                 ),
20
                                 ),
21
                            array("page" => "phonecalls",
21
                            array("page" => "phonecalls",
22
                                  "title" => "Telefonhistorik",
22
                                  "title" => "Telefonhistorik",
-
 
23
				   "template" => "page-phonecalls-item-template",
23
                                  "aliases" => array("dtmf"),
24
                                  "aliases" => array("dtmf"),
24
                                  "limit" => 40,
25
                                  "limit" => 40,
25
                                  "inText" => "Inkommande samtal från",
26
                                  "inText" => "Inkommande samtal från",
26
                                  "outText" => "Utgående samtal till"
27
                                  "outText" => "Utgående samtal till"
27
                                 ),
28
                                 ),
28
                            array("page" => "irremotes",
29
                            array("page" => "irremotes",
29
                                  "title" => "Fjärrkontroll",
30
                                  "title" => "Fjärrkontroll",
30
                                  "aliases" => array("tvbankut"),
31
                                  "aliases" => array("tvbankut"),
31
                                  "remotes" => array("LG_MKJ42519615")
32
                                  "remotes" => array("LG_MKJ42519615")
32
                                  ),
33
                                  ),
33
                            array("page" => "buttons",
34
                            array("page" => "buttons",
34
                                  "title" => "TV Sovrum",
35
                                  "title" => "TV Sovrum",
35
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
36
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
36
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
37
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
37
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
38
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
38
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
39
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
39
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
40
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
40
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
41
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
41
                                                     "Input TV" => "Serial_Send('tv','xb 0 93');",
42
                                                     "Input TV" => "Serial_Send('tv','xb 0 93');",
42
                                                     "Input Dator" => "Serial_Send('tv','xb 0 92');"
43
                                                     "Input Dator" => "Serial_Send('tv','xb 0 92');"
43
                                                     )
44
                                                     )
44
                                 ),
45
                                 ),
45
                            array("page" => "info",
46
                            array("page" => "info",
46
                                  "title" => "Information",
47
                                  "title" => "Information",
47
                                  "aliases" => array("sovrumtak",
48
                                  "aliases" => array("sovrumtak",
48
                                                     "sovrumdorr",
49
                                                     "sovrumdorr",
49
                                                     "sovrumvagg",
50
                                                     "sovrumvagg",
50
                                                     "hall",
51
                                                     "hall",
51
                                                     "garderobtemp")
52
                                                     "garderobtemp")
52
                                 )
53
                                 )
53
                           );
54
                           );
54
 
55
 
55
?>
56
?>