Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

YoSmudge/sonosalarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonos player

Trigger alarms or events on Sonos systems.

More info: https://www.codedog.co.uk/sonosalarm

Quick usage:

  1. Discover your player names
Sams-MacBook-Pro-4:sonosalarm sam$ sonosalarm discovery
+----------------+--------------------------+----------------+----------------+
| Zone Name      | UID                      | Group          | Current Volume |
+----------------+--------------------------+----------------+----------------+
| Player 1       | RINCON_000XXXXXXXXXX1400 | Player 1       | 5              |
+----------------+--------------------------+----------------+----------------+
| Player 2       | RINCON_000XXXXXXXXXX1400 | Player 1       | 13             |
+----------------+--------------------------+----------------+----------------+
| Player 3       | RINCON_000XXXXXXXXXX1400 | Player 1       | 17             |
+----------------+--------------------------+----------------+----------------+
  1. Create a config file with a URL in
zone: "Player 1"
file: "http://example.com/Friday.aif"
volume: 65
fadeout: 3
  1. Configure a cronjob to run the alarm
58 16 * * Fri smudge sonosalarm alarm --config=/path/to/config.yml

About

Play alarms through Sonos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages