# Sonos Say

**URL:** <https://community.homey.app/t/sonos-say/6697>\
**Category:** Apps\
**Created:** [January 13, 2019, 12:30pm UTC](https://community.homey.app/t/sonos-say/6697 "2019-01-13T12:30:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [January 13, 2019, 12:30pm UTC](https://community.homey.app/t/sonos-say/6697/1 "2019-01-13T12:30:29Z")

</div>

I have created an Athom App that makes use of [node-sonos-http-api](https://github.com/jishi/node-sonos-http-api) to send out speech from your flow. Setup up a node-sonos, install the app, point the settings to your node-sonos instans. Then you just add the Text to Speech in your flow and wola, your sonos will start talking.

Since the app needs you to install node-sonos on a separat instance the app will not be approved for the official app store (tried and got declined).

But for you who want, you can download it here and run it:  
[Sonos-Say Github](https://github.com/ludvigaldrin/com.svipler.athom.sonos-say)

Hope you like it

---

<div class="post-metadata">

**Author:** ![roel\_hendr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roel_hendr/32/2900_2.png) [@roel\_hendr](https://community.homey.app/u/roel_hendr)\
**Post date:** [January 15, 2019, 8:42am UTC](https://community.homey.app/t/sonos-say/6697/2 "2019-01-15T08:42:00Z")

</div>

Tried it yesterday. Works really nice. Don’t forget the ‘/’ at the end: http://:5005/ 😉.

Also have some suggestions:

- Would be nice if you can configure the volume from the flowcard. Or maybe don’t set a specific volume from settings, but use the volume from the Sonos how its set.
- Would be nice if if you can configure the roomname where to say something from the flowcard:  
/[Room name]/say/[phrase][/[language\_code]][/[announce volume]]  
/sayall/[phrase][/[language\_code]][/[announce volume]]

---

<div class="post-metadata">

**Author:** ![MrTomTom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrtomtom/32/11858_2.png) [@MrTomTom](https://community.homey.app/u/MrTomTom)\
**Post date:** [June 3, 2019, 5:22pm UTC](https://community.homey.app/t/sonos-say/6697/3 "2019-06-03T17:22:32Z")

</div>

Where did you install the node instance on?

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [May 10, 2020, 6:59pm UTC](https://community.homey.app/t/sonos-say/6697/4 "2020-05-10T18:59:19Z")

</div>

Hi, sorry for late reply. I just installed it on a Raspberry PI I have for Home assistant. Simple and clean. Will do some update in the week for the module to fix some stuff more like @roel_hendr wanted.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 11, 2020, 6:45am UTC](https://community.homey.app/t/sonos-say/6697/5 "2020-05-11T06:45:12Z")

</div>

> [@Ludvig](#):
>
> Since the app needs you to install node-sonos on a separat instance…

Why not integrate it into your app?

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [May 11, 2020, 7:12am UTC](https://community.homey.app/t/sonos-say/6697/6 "2020-05-11T07:12:34Z")

</div>

I tried that in the beginning but there was a lot of modules that could not run on the Homey hardware. So there would have to be so much work fixing it. So since this is mostly done for my own sake 🙂 it works for me. Feels like any real haxxor has at least one PI to play around with.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 11, 2020, 7:30am UTC](https://community.homey.app/t/sonos-say/6697/7 "2020-05-11T07:30:18Z")

</div>

> [@Ludvig](#):
>
> I tried that in the beginning but there was a lot of modules that could not run on the Homey hardware. So there would have to be so much work fixing it

Yeah, I also just noticed that some dependencies (especially `aws-sdk`) are (relatively) huge ☹

---

<div class="post-metadata">

**Author:** ![MadMonkey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/madmonkey/32/22606_2.png) [@MadMonkey](https://community.homey.app/u/MadMonkey)\
**Post date:** [May 12, 2020, 11:51am UTC](https://community.homey.app/t/sonos-say/6697/8 "2020-05-12T11:51:03Z")

</div>

I’ve allowed myself to upgrade your app a little and will create a pr later. Btw: Sonos S2 will most likely break the sonos http api so do better not upgrade!

 ![Screenshot_20200512-134756_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96a6d1dea723cb20948d7902acee82b225e54d14.jpeg) ![Screenshot_20200512-134748_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b3384431f952461d8929cb2e645d8e9e63683eb8.jpeg)

---

<div class="post-metadata">

**Author:** ![MadMonkey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/madmonkey/32/22606_2.png) [@MadMonkey](https://community.homey.app/u/MadMonkey)\
**Post date:** [May 12, 2020, 12:22pm UTC](https://community.homey.app/t/sonos-say/6697/9 "2020-05-12T12:22:42Z")

</div>

I’ve created a PR, if you want to get it faster you can grab it over [here](https://github.com/MadMonkey87/com.svipler.athom.sonos-say).

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [May 13, 2020, 8:00am UTC](https://community.homey.app/t/sonos-say/6697/10 "2020-05-13T08:00:26Z")

</div>

Superb! Thanks for the work

---

<div class="post-metadata">

**Author:** ![marcel\_ridder](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ridder/32/3771_2.png) [@marcel\_ridder](https://community.homey.app/u/marcel_ridder)\
**Post date:** [May 17, 2020, 12:32pm UTC](https://community.homey.app/t/sonos-say/6697/11 "2020-05-17T12:32:32Z")

</div>

is this [node-sonos-http-api] the same as we used for the toon thermostat?  
Or is this another version because of the speech?

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [June 15, 2020, 11:46am UTC](https://community.homey.app/t/sonos-say/6697/12 "2020-06-15T11:46:52Z")

</div>

I have this on my backlog for a while now. I did however already upgrade to S2, Is there any news on the support for S2?

On the github it still says “will most likely break”.

edit:

Installed in Docker, seems to work just fine.

Only i’m getting the following:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/6/f6e09c95c49f048684a67b7dd75f3796e2c7d4e8.png)

Any thoughts?

If I browse to the url (ip:5005/Huiskamer/mute for exampe, i’m getting a ‘susses’.

If I enter [http://192.168.20.30:5005/sayall/De%20was%20is%20klaar/NL/30](http://192.168.20.30:5005/sayall/De%20was%20is%20klaar/NL/30) it also just works. Need to remember to have it unmuted first 😉

In the app on mobile it cannot find the speakers, but doesn’t give the error as mentioned above.

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [June 17, 2020, 6:49am UTC](https://community.homey.app/t/sonos-say/6697/13 "2020-06-17T06:49:55Z")

</div>

I installed now to test it out. Nice work @MadMonkey  
I however got the same issue as you @Martijn_Hoogenbosch  
I then ran it development athom app run. It then worked. After that switched back to athom app install. Now it works :). Strange stuff. But maybe a nice workaround.

---

<div class="post-metadata">

**Author:** ![MadMonkey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/madmonkey/32/22606_2.png) [@MadMonkey](https://community.homey.app/u/MadMonkey)\
**Post date:** [June 17, 2020, 7:12am UTC](https://community.homey.app/t/sonos-say/6697/14 "2020-06-17T07:12:27Z")

</div>

> [@Ludvig](#):
>
> the same issue

Not sure, what happens if you remove the card and add it again?

---

<div class="post-metadata">

**Author:** ![Ludvig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludvig/32/129091_2.png) [@Ludvig](https://community.homey.app/u/Ludvig)\
**Post date:** [June 17, 2020, 7:24am UTC](https://community.homey.app/t/sonos-say/6697/15 "2020-06-17T07:24:30Z")

</div>

After my fix with install, run, install it works like it should. So cant reproduce it now. Feels like something is going wrong the first time around maybe that is cleared up with a reinstall. But any how it works now and it looks smashing 🙂

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [June 17, 2020, 8:50am UTC](https://community.homey.app/t/sonos-say/6697/16 "2020-06-17T08:50:46Z")

</div>

Hi, does anybody knows/have a docker container with [node-sonos-http-api](https://github.com/jishi/node-sonos-http-api) for synology?

THX

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [June 17, 2020, 9:17am UTC](https://community.homey.app/t/sonos-say/6697/17 "2020-06-17T09:17:22Z")

</div>

yes, just get the ‘normal’ docker container referred in the listing… i’ll look it up for you.

> **[chrisns/docker-node-sonos-http-api](https://github.com/chrisns/docker-node-sonos-http-api)**
>
> Docker wrapper for https://github.com/jishi/node-sonos-http-api - chrisns/docker-node-sonos-http-api

This one is working on my 1812+ flawlessly, make sure you use the HOST networking. So hopefully you don’t have anything running on port 5005.

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [June 17, 2020, 9:20am UTC](https://community.homey.app/t/sonos-say/6697/18 "2020-06-17T09:20:32Z")

</div>

I’m going to try this later today, thanks! Hopefully it works for me too.

@MadMonkey is there anything you want me to test first? If it works i’m not able to reproduce anymore. Recreating the flow or card doesn’t solve anything for me.

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [June 17, 2020, 12:47pm UTC](https://community.homey.app/t/sonos-say/6697/19 "2020-06-17T12:47:04Z")

</div>

I tried the reinstall workaround and got the same error messages.

Please make sure that you filled out the field port in the settings of the app. It seems that the field port is already filled out with the default port 5005 in light grey. But nevertheless you have to fill out the field even with the default port. After that, restart the app.

Then it worked for me.

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [June 17, 2020, 12:48pm UTC](https://community.homey.app/t/sonos-say/6697/20 "2020-06-17T12:48:44Z")

</div>

Thank you @Martijn_Hoogenbosch very much. Works like charm!

[Next page](https://community.homey.app/t/sonos-say/6697.md?page=2)
