Amniotic: An ambient sound mixer for Home Assistant, for Sound Masking, Sleep Sounds, etc

Is the add-on still working? I installed it, and it seems to run fine but for the life of me, I can’t figure out how to operate it. I did read the wiki but that simply raised more questions :slight_smile:
I found the device under MQTT and managed to add it to a dashboard.

And that is the end of it I have no idea how to operate that card added to my dashboard.
Basically, I am planning to download different noises from an online noise generator and combine them on my HA install. Its mostly .ogg files.

Any pointers? I am failing miserably on my own.

Still works as far as I know :slight_smile:

Let me know what issues you’re having - or, better, raise an issue on GitHub, which I’ll be more likely to see.

2 Likes

Hi all,

I’ve resumed work on Amniotic recently. There’ll be a new version coming very soon (next week or so).

TL;DR

The new version can stream to media players! :tada:

Longer

‌This is a complete rewrite, so…‌

  • It will be very basic at first. The features from the old version will need to be re-implemented over time.
  • It’s now based on FFMpeg bindings rather than VLC.
  • The entire mode of operating has changed: Amniotic just streams the audio, and doesn’t require any audio hardware on the machine it’s installed on.
  • The decoding/mixing is done in Amniotic itself now, which involved more work, but makes everything vastly more flexible. Adding things like native, configurable white noise generation etc. should now be much more plausible.
  • It’s now based on haco for managing interaction with HA, and aiomqtt for async MQTT.
2 Likes

Hi all,

Version 1.0 is now released! Again, it’s currently very bare-bones and running as an add-on isn’t ready yet.

Even so, if you’re feeling brave you can try it manually via Docker Compose now. See the example compose file.

I plan to have installing as an Add-On working within a week or so.

3 Likes

Hi all.

I’ve released a new version, now installable as an Addonn! Still many features to add, namely creating/saving extra Themes etc, which will happen soon.

Home Assistant Addon

To add as an Addon, click here:

Open your Home Assistant instance and show the add add-on repository dialog with the repository URL pre-filled.

Documentation

1 Like

Holy cow. Thank you! I forgot all about this project because my HA lives in a little room, on a little NUC with no peripherals :rofl:, but this media player playback is just what I needed.

I think this is going to pair well with music assistant - like PB&J.

edit: say, is there no way to change the supervisor url? seems like HOME_ASSISTANT_URL is not used, and the docker container hits a hardcoded https://supervisor:443 endpoint instead

2 Likes

Yeah, things are in a bit of a flux at present! Some variable names have changed. I’ll update the example compose file later today :slight_smile:

OK I’ve changed the example compose file to update the ports and variable names. You’ll need to pull the latest image.

Let me know if you have any issues :slight_smile:

I just wanted to say thank you for the work that you put into this. The streaming component was the piece I was missing in my own amniotic deployment. I’ve been working for the last 2 years or so on the old code base, trying to make it work for my particular needs.

Because you added the streaming component, I was able to finally get my ambient audio working the way I wanted in the house.

1 Like

Thank you for saying so. It’s nice to hear its proving useful!

Hi all,

I’ve just pushed a new version, which adds the following features:

  • Custom Themes and Theme persistence. You can now create/remove/update your own Themes - and your Themes will be saved between runs.

  • Dynamic adding of Recordings: You can now add recordings to your audio directory on the fly, and Amniotic will notice them and make them available.

  • I’ve updated the example compose file to include the new AMNIOTIC__PATH_CONFIG environment variable

  • I’ve updated the example dashboard with the new controls.

Hi all,

Some updates:

Documentation

Amniotic documentation is now live! :tada:

It’s still quite scrappy but will improve over time.

Hardware for Amniotic

I’m currently in the middle of modifying some retail speakers to work as a Media Player for use with Amniotic. It’s a very basic approach, but if anyone’s interested, let me know and I can perhaps add a guide to the documentation.

1 Like

Hi all,

Another new version is out, this time will the following features:

  • Add YouTube audio stream downloader. You can now populate Recordings directly from YouTube videos, entirely from within the Home Assistant interface. Documentation
  • New dashboard and make dashboard dynamic. The dashboard will now automatically show/hide certain sections depending on app state, show links to documentation, etc. So for example the Recording section will be hidden until some Recordings are available, the Stream section will only show if the current Theme is ready to stream, etc.
  • Add YouTube download-related controls to the dashboard.

You can update your Add-On or pull the new docker image now!

Dashboard