hue/wrapper-daylight-trigger.sh

12 lines
333 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 10.0.0.174 $(cat /home/mischa/hue-token) -s 50 -l 24 -a dimmed -v