-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
43 lines (35 loc) · 857 Bytes
/
config.py
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
#config nanoleaf
nanoleaf_ip = "192.168.1.119"
nanoleaf_port = 16021
nanoleaf_udp_port = 60222
nanoleaf_auth_token = "your_auth_token"
#you can find your panels ids with the following api:
#http://<nanoleaf_ip>:<nanoleaf_port>/api/v1/<auth_token>
panels = [64515,50673,27251,28493,55824,25887,51393,6638,33498,59611,32896,55135]
#config hue
hue_ip = "192.168.1.100"
hue_auth_token = "your_auth_token"
#you can find your light id with the following api:
#http://<hue_ip>/api/hue_auth_token/lights
hue_light_id = 4
#color config
#start color for minutes
r1 = 255
g1 = 255
b1 = 0
#end color for minutes
r2 = 255
g2 = 100
b2 = 0
#color for hours
rh = 255
gh = 100
bh = 0
#range for random color
d = 25
#transition time for hours
tHours = 20
#duration for minute blinking in seconds
blink_duration = 2
#duration for 1 step in seconds
step_duration = 0.1