hue/wrapper-daylight-trigger.sh

12 lines
350 B
Bash
Raw Normal View History

2019-11-01 08:59:43 +01:00
#!/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
#
2019-11-03 14:19:28 +01:00
# sensor 50 to check
# light 24 to control
# scene dimmed
2019-12-27 15:47:25 +01:00
/home/mischa/hue/daylight-trigger.py $(cat /home/mischa/hue-bridge) $(cat /home/mischa/hue-token) -s 50 -l 24 -a dimmed