Supergiovane / node-red-contrib-sonospollytts

Play speech TTS using Sonos.
https://www.facebook.com/supergiovaneDev
MIT License
12 stars 6 forks source link

Play to all zones #10

Closed nodecentral closed 4 years ago

nodecentral commented 5 years ago

Hi,

Not sure if I am missing something, but how do I get it to play the TTS across all zones, is it just to the Sonos IP I set up?

Supergiovane commented 5 years ago

Hello You need to group the players using sonos app.

nodecentral commented 4 years ago

Hi @Supergiovane

Just wondering if there has been any further thought / development on this achieving such a play to all zones feature ?

nodecentral commented 4 years ago

I’ve been using this other github (https://github.com/jishi/node-sonos-http-api ) approach to get it to ‘play to all’ - just curious if you’ll have the functionality too soon.

Supergiovane commented 4 years ago

Hello Thank you for using my node. Playing on all zone can be achieved by grouping your sonos devices. Do you have any suggestion on how do you want this to differently work? In the meantime, i’ll take a look at the approach you proposed.

nodecentral commented 4 years ago

Hi - What would be cool, would be a ‘Discover Sonos Devices’ option, where it would go out and find all the zone players on your network (or you could add them all manually) and then provide the ability to select one or more devices (or select all) to play the TTS message through

Supergiovane commented 4 years ago

Hi NodeCentral because i haven't more than one device (i've only a Sonos AMP and a Sub), as soon as something is ready, are you able to test it for me?

danzeisen commented 4 years ago

If it helps, I could test as well. I have a few Player 1, 3, 5, Bar, SUB.

nodecentral commented 4 years ago

Hi NodeCentral because i haven't more than one device (i've only a Sonos AMP and a Sub), as soon as something is ready, are you able to test it for me?

Sure, more than happy to help 👍

Supergiovane commented 4 years ago

Hello all, ok, that's doable. I hope to release a new 1.1.16 version in the weekend, coronavirus permitting. Thank you for your patience.

Supergiovane commented 4 years ago

V 1.1.16 is out. You should see it in some minutes. Please report any problem you have. In the next versions, i'll adjust the UI, that now is a little oversaturated by too many options.

nodecentral commented 4 years ago

Hi, I have updated the app to the latest version v 1.1.23 - (rebooted) and then added a couple of other zones in but sadly it doesn’t work ?

I can see an Error transport message pop up under the node - Any ideas ?

Even when I remove the additional zones, it gives me the same error and does not play anything.

nodecentral commented 4 years ago

Hi, it looks like the problem is with the TTS cache, I had set this to ‘leave the TTS cache untouched...’ if I put it back to the default, it works again.

I’m using this NR in a Docker container - where is it expecting the cache to be stored ?

Supergiovane commented 4 years ago

Hi NodeCentral. Have you tried to change the option from the default, again to "leave" and restart node-red? The cache is created independently from this option and it is used independently. The only difference, is that at restart, if you select the to "Purge" the cache, it deletes the cache, otherwise not. Let me check if i made some syntax errors...

Supergiovane commented 4 years ago

No, no syntax errors. Are you able to re-set the option to "leave" and post here the debug log of node-red?

Supergiovane commented 4 years ago

If it helps, I could test as well. I have a few Player 1, 3, 5, Bar, SUB.

Hello Dan Do you have the same Problem as NodeCentral?