12 lines
353 B
Bash
Executable File
12 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
PATH=$PATH:/usr/local/bin
|
|
#
|
|
# Easy invocation of python script
|
|
# Add the following to crontab:
|
|
# */5 * * * * /<path-to-your-script>/wrapper-daylight-trigger.sh
|
|
#
|
|
# sensor 50 to check
|
|
# light 24 to control
|
|
# scene dimmed
|
|
/home/mischa/hue/daylight-trigger.py $(cat /home/mischa/hue-bridge) $(cat /home/mischa/hue-token) -s 50 -l 24 -a dimmed -v
|