Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gotwalt/ghosty
A ghost for your sonos system
https://github.com/gotwalt/ghosty
Last synced: 3 months ago
JSON representation
A ghost for your sonos system
- Host: GitHub
- URL: https://github.com/gotwalt/ghosty
- Owner: gotwalt
- Created: 2014-06-04T15:47:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-04T15:29:30.000Z (over 10 years ago)
- Last Synced: 2024-02-11T16:06:38.925Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 628 KB
- Stars: 105
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Ghosty
Ghosty is a ghost for your Sonos system. It wakes up at night and plays scary noises at low volumes on randomly selected speakers. It covers its tracks, and tries not to play so frequently that it becomes predictable. Really, the only way to know for sure that it's responsible for the sound you're hearing is to watch the Sonos controller as it's happening.Ghosty turns any Sonos-powered home into the haunted house of the future. This is meant to be funny, not mean spirited. Please use it in hilarious, good-natured ways.
## Requirements
* Ruby
* Python (used to serve audio assets)## Configuration
*./config.yml* is used to configure runtime parameters.* **port** sets the HTTP port that the daemon will expect files to be served from.
* **valid_hours** controls the hours during which the ghost is active.
* **minimum_frequency** controls how frequently the ghost will appear.## Running
For normal ghost operations, `foreman start` will start a simple HTTP server to serve files and launch the daemon, which will randomly schedule plays.## CLI Methods
* `ghosty daemon` - starts the scheduling daemon
* `ghosty trigger` - immediately triggers a single play
* `ghosty cli` - launches an IRB session with classes preloaded## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request