Subversion Repositories HomeAutomation

Rev

Rev 2111 | Rev 2195 | 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",
2139 linlun 23
				   "template" => "page-phonecalls-item-template",
2093 runge 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",
2111 runge 36
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
37
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
38
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
39
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
40
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
41
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
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
?>