add wrapper script

This commit is contained in:
mischa 2019-11-01 08:59:43 +01:00
parent cb73c0756d
commit cd1194fb7e
1 changed files with 10 additions and 0 deletions

10
wrapper-daylight-trigger.sh Executable file
View 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