Last active
January 7, 2018 10:54
-
-
Save jamesottaway/ad682f4a8e48b4e445f7aa6bc3a6a4d1 to your computer and use it in GitHub Desktop.
Morning
This file contains 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
<ContentItem source="INTERNET_RADIO" location="50585"/> |
This file contains 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
#!/usr/bin/env sh | |
BEDROOM=192.168.0.8 | |
curl -X POST -d @sunshower.xml "http://${BEDROOM}:8090/speaker" | |
sleep 27 | |
curl -X POST -d @50585.xml "http://${BEDROOM}:8090/select" |
This file contains 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
<play_info> | |
<app_key>McbdKNo2FKMFouG1c8WjQEaFI34bor7G</app_key> | |
<url>https://gist.githubusercontent.com/jamesottaway/ad682f4a8e48b4e445f7aa6bc3a6a4d1/raw/ac72f89d8a544d2e5defe77ec2b55500da260c20/Sunshower.ogg</url> | |
<service>Alarm</service> | |
<volume>25</volume> | |
</play_info> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment