Subversion Repositories HomeAutomation

Rev

Rev 2215 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2215 Rev 2249
1
<?php
1
<?php
2
 
2
 
3
$atomdHostname = "127.0.0.1";
3
$atomdHostname = "127.0.0.1";
4
$atomdPort = 1203;
4
$atomdPort = 1203;
5
 
5
 
6
$aliasNames = array("sovrumtak" => "Taklampa sovrum",
6
$aliasNames = array("sovrumtak" => "Taklampa sovrum",
7
                    "sovrumdorr" => "Spotlights sovrumsdörr",
7
                    "sovrumdorr" => "Spotlights sovrumsdörr",
8
                    "sovrumvagg" => "Spotlights fototapet sovrum",
8
                    "sovrumvagg" => "Spotlights fototapet sovrum",
9
                    "hall" => "Spotlights hallen",
9
                    "hall" => "Spotlights hallen",
10
                    "tv" => "TV sovrum",
10
                    "tv" => "TV sovrum",
11
                   );
11
                   );
12
 
12
 
13
$pageConfiguration = array(
13
$pageConfiguration = array(
14
                           array("page" => "dimmers", 
14
                           array("page" => "dimmers", 
15
                                 "title" => "Lampor",
15
                                 "title" => "Lampor",
16
                                 "aliases" => array("sovrumtak",
16
                                 "aliases" => array("sovrumtak",
17
                                                    "sovrumdorr",
17
                                                    "sovrumdorr",
18
                                                    "sovrumvagg",
18
                                                    "sovrumvagg",
19
                                                    "hall")
19
                                                    "hall")
20
                                 ),
20
                                 ),
21
                            array("page" => "phonecalls",
21
                            array("page" => "phonecalls",
22
                                  "title" => "Telefonhistorik",
22
                                  "title" => "Telefonhistorik",
23
				   "template" => "page-phonecalls-item-template",
23
				                          "template" => "page-phonecalls-item-template",
24
                                  "aliases" => array("dtmf"),
24
                                  "aliases" => array("dtmf"),
25
                                  "limit" => 40,
25
                                  "limit" => 40,
26
                                  "inText" => "Inkommande samtal från",
26
                                  "inText" => "Inkommande samtal från",
27
                                  "outText" => "Utgående samtal till"
27
                                  "outText" => "Utgående samtal till"
28
                                 ),
28
                                 ),
29
                            array("page" => "irremotes",
29
                            array("page" => "irremotes",
30
                                  "title" => "Fjärrkontroll",
30
                                  "title" => "Fjärrkontroll",
31
                                  "aliases" => array("tvbankut"),
31
                                  "aliases" => array("tvbankut"),
32
                                  "remotes" => array("LG_MKJ42519615")
32
                                  "remotes" => array("LG_MKJ42519615")
-
 
33
                                  ),
-
 
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
                            							)
33
                                  ),
42
                                 ),
34
                            array("page" => "buttons",
43
                            array("page" => "buttons",
35
                                  "title" => "TV Sovrum",
44
                                  "title" => "TV Sovrum",
36
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
45
                                  "buttons" => array("On" => "Serial_Send('tv','ka 0 01');",
37
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
46
                                                     "Off" => "Serial_Send('tv','ka 0 00');",
38
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
47
                                                     "Screen On" => "Serial_Send('tv','kd 0 00');",
39
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
48
                                                     "Screen Off" => "Serial_Send('tv','kd 0 01');",
40
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
49
                                                     "Backlight Min" => "Serial_Send('tv','mg 0 00');",
41
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
50
                                                     "Backlight Max" => "Serial_Send('tv','mg 0 64');",
42
                                                     "Input TV" => "Serial_Send('tv','xb 0 93');",
51
                                                     "Input TV" => "Serial_Send('tv','xb 0 93');",
43
                                                     "Input Dator" => "Serial_Send('tv','xb 0 92');"
52
                                                     "Input Dator" => "Serial_Send('tv','xb 0 92');"
44
                                                     )
53
                                                     )
45
                                 ),
54
                                 ),
46
                            array("page" => "info",
55
                            array("page" => "info",
47
                                  "title" => "Information",
56
                                  "title" => "Information",
48
                                  "aliases" => array("sovrumtak",
57
                                  "aliases" => array("sovrumtak",
49
                                                     "sovrumdorr",
58
                                                     "sovrumdorr",
50
                                                     "sovrumvagg",
59
                                                     "sovrumvagg",
51
                                                     "hall",
60
                                                     "hall",
52
                                                     "garderobtemp")
61
                                                     "garderobtemp")
53
                                 ),
62
                                 ),
54
                            array("page" => "irdevicestate",
63
                            array("page" => "irdevicestate",
55
                                  "title" => "Windows/Doors",
64
                                  "title" => "Windows/Doors",
56
                                  "aliases" => array("bedroomDoor",
65
                                  "aliases" => array("bedroomDoor",
57
                                  					"frontDoor",
66
                                  					"frontDoor",
58
                                  					"backDoor"
67
                                  					"backDoor"
59
                                                     )
68
                                                     )
60
                                 ),
69
                                 ),
61
			    array("page" => "PID",
70
			                      array("page" => "PID",
62
                                  "title" => "Värme",
71
                                  "title" => "Värme",
63
                                  "alias" => "PID",
72
                                  "alias" => "PID",
64
				   "picture" => "http://linuxz.mine.nu/CANgraph/regulator.png"
73
				                          "picture" => "http://linuxz.mine.nu/CANgraph/regulator.png"
65
                                 ),
74
                                 ),
66
			    array("page" => "Power",
75
			                     array("page" => "Power",
67
                                  "title" => "El",
76
                                  "title" => "El",
68
                                  "alias" => "Power",
77
                                  "alias" => "Power",
69
				   "picture" => "http://linuxz.mine.nu/CANgraph/power.png"
78
				                         "picture" => "http://linuxz.mine.nu/CANgraph/power.png"
70
                                 )
79
                                 )
71
                           );
80
                           );
72
 
81
 
73
?>
82
?>