Subversion Repositories HomeAutomation

Rev

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