Subversion Repositories HomeAutomation

Rev

Rev 2249 | 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",
2249 englund 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
                                  ),
2249 englund 34
                            array("page" => "flipswitches",
35
                                  "title" => "Lampor",
36
                                  "aliases" => array("RFLaundryAlias"),
37
                                  "flipswitches" => array(
38
                            							array("Utebelysning", "Anslut3pack", "On1", "Off1"),
39
                            						  array("Lampa vid stereo", "FR002T", "A_A_I_1_On", "A_A_I_1_Off"),
40
                       						        array("Lampa vid soffan", "FR002T", "A_A_I_3_On", "A_A_I_3_Off")
41
                            							)
42
                                 ),
2074 runge 43
                            array("page" => "buttons",
2080 runge 44
                                  "title" => "TV Sovrum",
2111 runge 45
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
46
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
47
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
48
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
49
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
50
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
51
                                                     "Input TV" => "Serial_Send('tv','xb 0 93');",
52
                                                     "Input Dator" => "Serial_Send('tv','xb 0 92');"
2074 runge 53
                                                     )
2093 runge 54
                                 ),
55
                            array("page" => "info",
56
                                  "title" => "Information",
57
                                  "aliases" => array("sovrumtak",
58
                                                     "sovrumdorr",
59
                                                     "sovrumvagg",
60
                                                     "hall",
61
                                                     "garderobtemp")
2195 linlun 62
                                 ),
2215 arune 63
                            array("page" => "irdevicestate",
64
                                  "title" => "Windows/Doors",
65
                                  "aliases" => array("bedroomDoor",
66
                                  					"frontDoor",
67
                                  					"backDoor"
68
                                                     )
69
                                 ),
2249 englund 70
			                      array("page" => "PID",
2195 linlun 71
                                  "title" => "Värme",
72
                                  "alias" => "PID",
2249 englund 73
				                          "picture" => "http://linuxz.mine.nu/CANgraph/regulator.png"
2195 linlun 74
                                 ),
2249 englund 75
			                     array("page" => "Power",
2195 linlun 76
                                  "title" => "El",
77
                                  "alias" => "Power",
2249 englund 78
				                         "picture" => "http://linuxz.mine.nu/CANgraph/power.png"
2074 runge 79
                                 )
2250 englund 80
                          array("page" => "graphs",
81
                                  "title" => "Temperatur",
82
				                           "pictures" => array(
83
                                        "http://lars.i4s.se/CAN_data/Temperature_2H.png",
84
                                        "http://lars.i4s.se/CAN_data/Temperature_24H.png",
85
                                        "http://lars.i4s.se/CAN_data/Temperature_weekly.png",
86
                                        "http://lars.i4s.se/CAN_data/Temperature_monthly.png",
87
                                        "http://lars.i4s.se/CAN_data/Temperature_yearly.png"
88
                                        )
89
                                 ),
2068 runge 90
                           );
91
 
2061 linlun 92
?>