Skip to content

Commit

Permalink
switched to individual lights; certain things won't work with a group
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Burke committed Jan 11, 2018
1 parent edf4e92 commit 5defd7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 6 additions & 1 deletion automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
service: light.turn_on
- data:
brightness: 165
entity_id: light.mon_group
entity_id: light.monitor_left
kelvin: 3700
service: light.turn_on
- data:
brightness: 165
entity_id: light.monitor_right
kelvin: 3700
service: light.turn_on
alias: daytime_office
Expand Down
7 changes: 4 additions & 3 deletions crontab_2018-01-09
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
01 17 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py desk_lamp transition color_temp=2800 minutes=181
15 17 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py office_uplight transition color_temp=2900 minutes=181

17 17 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_group transition color_temp=2200 minutes=360
17 17 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_left transition color_temp=2200 minutes=360
18 17 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_right transition color_temp=2200 minutes=360


# dim to 2200k
Expand All @@ -48,7 +49,7 @@
00 22 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py desk_lamp transition brightness=0 minutes=130
30 21 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py office_uplight transition brightness=0 minutes=163

17 21 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_group transition brightness=0 minutes=179

17 21 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_left transition brightness=0 minutes=179
17 21 * * * /usr/bin/python3 /home/pidax/light-timer/light-schedule.py mon_right transition brightness=0 minutes=179


0 comments on commit 5defd7c

Please sign in to comment.