Hi all!
I’ve finally released my first Home Assistant project, just as I’d long threatened! It’s published on GitHub and PyPI. If you happen to fall into its tiny niche of interest, check it out!
Amniotic
A multi-output ambient sound mixer for Home Assistant.
Amniotic lets you use a single device to create on-the-fly, custom ambient audio mixes - e.g. mixing Waterfall sounds with Birdsong on one set of speakers, while playing Fireplace sounds from a second audio device - to suit your tastes and environment.
The library integrates with Home Assistant via MQTT as a new device, allowing you to create and control ambient mixes from the Home Assistant interface.
The latest update allows installing as a Home Assistant Addon!
Home Assistant Addon
To add as an Addon, click here:
Why Would I Want Such a Thing?
I won’t explain the general reasons for introducing non-musical sounds into one’s environment, but if you find sound masking helps you concentrate in noisy environments, if you’re (as I am) slightly misophonic, if you use white noise machines to induce sleep or relaxation, or if you just think sound is an important factor in setting a pleasant ambience, then you might find Amniotic useful.
Can’t I do This with Spotify, Volumio, HifiBerry etc.?
Since those systems are intended for music, they aren’t designed for playing or mixing multiple streams simultaneously with a single device, even if set up in multi-room configurations. Also, the streaming services often won’t allow a single account to play multiple streams, even if multiple devices are used.
These limitations motivated me to create Amniotic.
Switching between Themes with the Theme pull-down, you’ll be able to enable/disable each one, set their relative volume and their output devices etc.
Since these controls are exposed as Home Assistant entities, you can also define and play custom mixes from scenes, scripts, automations, etc. - and anything else Home Assistant will allow.