Smooth media player volume fade with multiple curve functions

Hi,
I would like to try the revised code put up on 15 August but cannot get it to start on my docker installation.

I have added the text to the end of my script file and it will not start. I have also removed the word script: and removed 2 spaces on each line in an attempt to reformat.

I do not seem to have enough experience with yaml files, can someone please repost a version that I could use?

Thanks

Hi,
Has anyone succeeded in making the script work with Echo Dot ?

I tried the original one, the revisited versions of @foberleitner, @handcoding and @Caligo but no success.
I tried to change the steps from 100 to 2000 ms.

Sometimes it works and fades, but most of the time, it just set the volume directly to the goal or does nothing.

1 Like

@Suelis I’ve been using this script with a Sonos speaker that has Alexa built in (and it works fine), but I haven’t tried this script with an Amazon Echo.

I hope that you find an answer that helps you, though!

1 Like

Does anyone have a companion script that will change all media players based on a time of day by calling this script? I’m still somewhat new and haven’t found a parameter-based volume adjusting script, and want to use this. Probably doing bad keyword searches.

You should probably use a timed automation for this. And within this automation use this script to corresponding functionality…