Sonos playSound improvement Runs V. 3.4.1

Hi all

is there an option to change when it changes the volume after finishing playing the “playSound” command.
So it turns the volume down before it starts the music again?

2023-01-26 21:05:47.549 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_AFB_NV_Vej’ changed from OFF to ON

2023-01-26 21:05:47.591 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Lyd’ changed from 33 to 65

2023-01-26 21:05:47.793 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Control’ changed from PLAY to PAUSE

2023-01-26 21:05:47.991 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Control’ changed from PAUSE to PLAY

2023-01-26 21:05:58.403 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Control’ changed from PLAY to PAUSE

2023-01-26 21:05:59.494 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Control’ changed from PAUSE to PLAY

2023-01-26 21:05:59.716 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Garage_Lyd’ changed from 65 to 33

Hey @DR6

I get the current volume of the speaker and store it in a variable, to restore the vol after the sound I wand to play with a specific volume. But… there are a few miliseconds music after my sound file, with the wrong volume. But these are only a few ms.

If you find a direct option to reset the volume, please inform me :slight_smile:

Regards,
Tim