Subversion Repositories HomeAutomation

Rev

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

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