Subversion Repositories HomeAutomation

Rev

Rev 2084 | Rev 2111 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed

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