add wrapper script
This commit is contained in:
parent
cb73c0756d
commit
cd1194fb7e
10
wrapper-daylight-trigger.sh
Executable file
10
wrapper-daylight-trigger.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/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
|
||||||
|
/home/mischa/hue/daylight-trigger.py 10.0.0.174 $(cat /home/mischa/hue-token) -s 50 -l 24 -v
|
Loading…
Reference in New Issue
Block a user