hue/wrapper-daylight-trigger.sh

12 lines
364 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-12-27 17:06:10 +01:00
# ambient light sensor 52 to check
# light 7 to control
2019-11-03 14:19:28 +01:00
# scene dimmed
2019-12-27 17:06:10 +01:00
/home/mischa/hue/daylight-trigger.py $(cat /home/mischa/hue-bridge2) $(cat /home/mischa/hue-token2) -s 52 -l 7 -a dimmed