Subversion Repositories HomeAutomation

Rev

Rev 2074 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2074 Rev 2080
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
$atomdHostname = "127.0.0.1";
3
$atomdHostname = "127.0.0.1";
4
$atomdPort = 1202;
4
$atomdPort = 1202;
5
$atomdOld = false;
5
$atomdOld = false;
-
 
6
 
-
 
7
$aliasNames = array("sovrumtak" => "Taklampa sovrum",
-
 
8
                    "sovrumdorr" => "Spotlights sovrumsdörr",
-
 
9
                    "sovrumvagg" => "Spotlights fototapet sovrum",
-
 
10
                    "hall" => "Spotlights hallen",
-
 
11
                    "tv" => "TV sovrum",
-
 
12
                   );
6
 
13
 
7
$pageConfiguration = array(
14
$pageConfiguration = array(
8
                           array("page" => "dimmers", 
15
                           array("page" => "dimmers", 
9
                                 "title" => "Dimmers", 
16
                                 "title" => "Lampor",
10
                                 "aliases" => array("sovrumtak",
17
                                 "aliases" => array("sovrumtak",
11
                                                    "sovrumdorr",
18
                                                    "sovrumdorr",
12
                                                    "sovrumvagg",
19
                                                    "sovrumvagg",
13
                                                    "hall")
20
                                                    "hall")
14
                                 ),
21
                                 ),
Line 19... Line 26...
19
                                                    "sovrumvagg",
26
                                                    "sovrumvagg",
20
                                                    "hall",
27
                                                    "hall",
21
                                                    "garderobtemp")
28
                                                    "garderobtemp")
22
                                 ),
29
                                 ),
23
                            array("page" => "irremotes",
30
                            array("page" => "irremotes",
24
                                  "title" => "IR Remote",
31
                                  "title" => "Fjärrkontroll",
25
                                  "aliases" => array("tvbankut"),
32
                                  "aliases" => array("tvbankut"),
26
                                  "remotes" => array("LG_MKJ42519615")
33
                                  "remotes" => array("LG_MKJ42519615")
27
                                  ),
34
                                  ),
28
                            array("page" => "buttons",
35
                            array("page" => "buttons",
29
                                  "title" => "TV Bedroom",
36
                                  "title" => "TV Sovrum",
30
                                  "buttons" => array("On" => "Serial_Send tv ka 0 01",
37
                                  "buttons" => array("On" => "Serial_Send tv ka 0 01",
-
 
38
                                                     "Off" => "Serial_Send tv ka 0 00",
31
                                                     "Screen On" => "Serial_Send tv kd 0 00",
39
                                                     "Screen On" => "Serial_Send tv kd 0 00",
32
                                                     "Screen Off" => "Serial_Send tv kd 0 01",
40
                                                     "Screen Off" => "Serial_Send tv kd 0 01",
-
 
41
                                                     "Backlight Min" => "Serial_Send tv mg 0 64",
-
 
42
                                                     "Backlight Max" => "Serial_Send tv mg 0 00",
33
                                                     "Off" => "Serial_Send tv ka 0 00"
43
                                                     "Input TV" => "Serial_Send tv xb 0 93",
-
 
44
                                                     "Input Dator" => "Serial_Send tv xb 0 92"
34
                                                     )
45
                                                     )
35
                                 )
46
                                 )
36
                           );
47
                           );
37
 
48
 
38
?>
49
?>