Created
January 10, 2019 02:25
-
-
Save borismacias/96bbfcff49847d5e7d778f9cec0886bd to your computer and use it in GitHub Desktop.
HASS config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script: | |
talk_canelita: | |
sequence: | |
- service: shell_command.talk_canelita | |
stop_talking: | |
sequence: | |
- service: shell_command.stop_talking | |
shell_command: | |
talk_canelita: "ruby /home/pi/canelita/main.rb" | |
stop_talking: "sudo ps -ef|grep main.rb | grep -v grep|awk '{print \"sudo kill -9 \"$2}' |sh && sudo killall omxplayer.bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment