# Add Sonos "fade to volume" instead of "set volume"

**URL:** <https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973>\
**Category:** Apps\
**Created:** [October 18, 2018, 4:39pm UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973 "2018-10-18T16:39:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbert/32/409_2.png) [@Robbert](https://community.homey.app/u/Robbert)\
**Post date:** [October 18, 2018, 4:39pm UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/1 "2018-10-18T16:39:59Z")

</div>

I have just gotten a Sonos Play:1, but I noticed that there’s only “set volume to Y”, not a “fade volume from X to Y”, which would be really nice. Let’s say that my speaker is off, I would like it to follow this flow:

1. Set volume to 0
2. Start playing
3. Fade volume to 50%
4. Fade volume to 0% (with 9 minute delay)
5. Pause (with 10 minute delay)

Even better if you can set how long the fade should last!

Or something like that. Maybe the beta app supports this? I haven’t tried that one yet.

---

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [October 18, 2018, 5:12pm UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/2 "2018-10-18T17:12:30Z")

</div>

Is that an existing option within the Sonos API that (still) needs to be implemented into Homey’s Sonos app?  
Or is this a feature request for something that is not supported yet in the Sonos API?

Anyway, it is already possible to create (a) flow(s) that achieves the same result; check out the transitions app (topic)…

---

<div class="post-metadata">

**Author:** ![Robbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbert/32/409_2.png) [@Robbert](https://community.homey.app/u/Robbert)\
**Post date:** [October 18, 2018, 5:46pm UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/3 "2018-10-18T17:46:13Z")

</div>

In all honesty, I have no clue if their API supports it! I’m going to check out transitions, thanks!

---

<div class="post-metadata">

**Author:** ![Jonas\_Hermansen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonas_hermansen/32/9665_2.png) [@Jonas\_Hermansen](https://community.homey.app/u/Jonas_Hermansen)\
**Post date:** [November 16, 2018, 10:08am UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/4 "2018-11-16T10:08:42Z")

</div>

Hi Robbert

Did you get it to work?  
Can you share your flow(s) if you did?

---

<div class="post-metadata">

**Author:** ![Robbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbert/32/409_2.png) [@Robbert](https://community.homey.app/u/Robbert)\
**Post date:** [November 16, 2018, 11:08am UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/5 "2018-11-16T11:08:00Z")

</div>

Hi Jonas,

Sadly, I don’t understand transitions yet, and I have not had the time to find examples or anything. If you figure it out, you’re also very welcome to share 😃

---

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [November 16, 2018, 11:24am UTC](https://community.homey.app/t/add-sonos-fade-to-volume-instead-of-set-volume/2973/6 "2018-11-16T11:24:27Z")

</div>

@Robbert Please check this example:

> [@Transitions — Flexible time transitions](https://community.homey.app/t/transitions-flexible-time-transitions/443/29):
>
> Thanks for your work @robertklep Sharing my Sonos Fade-in / Fade-out flows, based on the transitions app. 1.Trigger flow: Flow being triggered and based on the volume level will trigger either the fade-in or fade-out flow 2.Fade in flow: Start fade-in transition, with input: 0-0.1, 30s, 3s; volume level from 0 to 10% (0-0.1), in 30 seconds, 3 seconds per step 3.Fade out flow: create a Better Logic variable (Sonos-Fade-out) to determine the transition duration based…
