-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php
65 lines (56 loc) · 3.39 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
// use getlights.php to find out the IDs for your light bulbs! :3
$settings = [ "lights" => [ "1" => [ "nickname" => "Ceiling",
"mode" => "sun",
"colour_mode" => "temp",
//"day" => ["r"=>255, "g"=> 0, "b" => 240],
//"night" => ["r"=>0, "g"=> 255, "b" =>12],
"day" => 165,
"night" => 468,
"brightness" => ["day"=>254, "night"=>240],
"minutes" => 25, // minutes before sunset to begin fade
"sunrise_before" => 100], // minutes to move sunrise earlier, use to force day mode
"2" => [ "nickname" => "tv",
"mode" => "sun",
"colour_mode" => "rgb",
"day" => ["r"=>123, "g"=> 142, "b" => 145],
"night" => ["r"=>242, "g"=> 104, "b" =>78],
"minutes" => 25,
"sunrise_before" => 100],
"3" => [ "nickname" => "bloom",
"mode" => "sun",
"colour_mode" => "rgb",
"day" => ["r"=>255, "g"=> 208, "b" => 197],
"night" => ["r"=>206, "g"=> 123, "b" =>68],
"minutes" => 25,
"sunrise_before" => 100,
"night_link"=>["light"=>1]],
"4" => [ "nickname" => "steve_bulb",
"mode" => "nightlight",
"start" => 1320,
"end" => 240,//240,
"after_midnight" => true,
"starting_brightness" => 150,
"duration" => 30,
"ct" => 468],
"5" => [ "nickname" => "bry_bulb",
"mode" => "nightlight",
"start" => 1260,
"end" => 240,//240,
"after_midnight" => true,
"starting_brightness" => 150,
"duration" => 30,
"ct" => 468],
],
"disable_on" => [ "film" => ["bulb" => "1",
"check" => "rgb",
"check_for" => ["r"=>98, "g"=>72, "b"=>30],
//"check_bri" => 20,
"disable" => ["1", "2", "3"] ] ],
"timezone" => "Europe/London",
"long" => 50.614429,
"lat" => -2.457621,
"zenneth" => 90.583333,
"transition" => 50 // transition time, multiples of 100ms - 50
]
?>