The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => Sonos Plugin => Topic started by: Cor on January 13, 2013, 01:08:14 pm

Title: resolved>> TTS does not work :-s
Post by: Cor on January 13, 2013, 01:08:14 pm
hello ,

I installed the sonos plugin, and I can controll the sonos via vera3, that is ,stop play, play favourites etc...
But when i go to the player tab and type a text (just one line) in the "say" column and click "say", nothing happends.
I see on the sonos interface on the computer "cannot play say68.mp3 , station not found"   What do I need to do to get it working?

thanks,
Cor

Title: Re: TTS does not work :-s
Post by: guessed on January 13, 2013, 03:38:14 pm
I have a Vera3, but I don't have anything connected to the switch ports on the back of it... that stuff [typically] has a separate sub-net (192.168.81.*).

I'm guessing, based upon what's being seen in the other thread, that you might have your Sonos units connected over the Switch ports on the back of the Vera 3.  Not sure if this will work since the "Say" method directs the Sonos units to "call" a URI on Vera's "front-end" interface (which is on your LAN)

If you have this config, try moving the ZB wiring to a regular switch port on your LAN.  If it's not, please outline how you have things wired up.

Also, you can try the URI from your browser:
    http://<veraIP>/Say.68.mp3

It should display the player for the last "Say" command you ran.
Title: Re: TTS does not work :-s
Post by: Cor on January 13, 2013, 04:07:22 pm
@Guessed:

Just tried with explorer   http://10.0.0.90/Say68.mp3    no joy , I get an error message saying, "this page con not be found"

I don't use the connectors on the back of the vera3 also the wifi function is disabled, the setup I have:

Modem (thompson TG ???) the sonos bridge is directly connected to the modem
-on the modem is also a switch connected, vera3 is connected via the switch to the modem
-Play 3 is not connected via a wire but wireless.

I can controll the Play3 via vera3how I want, play radiostations, stop mute, volume controll etc. But when I type something in the column "say" and click the "say"button , nothing happends and I see briefly on a computer with the sonos interface open "cannot play say68.mp3"

any idea?

thanks,
Cor
Title: Re: TTS does not work :-s
Post by: hek on January 13, 2013, 04:13:21 pm
Try:

http://10.0.0.90/Say.<deviceId>.mp3

...or maybe filename has been changed recently in the plugin....
Title: Re: TTS does not work :-s
Post by: guessed on January 13, 2013, 04:19:30 pm
Sorry, yes, should have the extra dots in it.  I've modified the original example to match.
Title: Re: TTS does not work :-s
Post by: Cor on January 13, 2013, 04:35:06 pm
My computer now talks to me:-) , so that works.....

But now the play 3 :-)
Title: Re: TTS does not work :-s
Post by: hek on January 13, 2013, 05:03:40 pm
Could you pehaps ssh into your Vera and run:

Code: [Select]
GetNetworkState.sh ip_wan

Title: Re: TTS does not work :-s
Post by: guessed on January 13, 2013, 05:09:43 pm
My computer now talks to me:-) , so that works.....

But now the play 3 :-)
So there's some sort of connectivity problem from the Sonos unit TO the Vera.  If I were to guess, I'd say that the Switch you've listed is actually some sort of Router, or there's some other NAT device in the way.

A few questions:
a) Can you move the Sonos3 to be connected to the same switch as the Vera unit?
b) Can the Sonos play music from your PC (and, if so, where is the PC connected in this setup)
Title: Re: TTS does not work :-s
Post by: Cor on January 13, 2013, 05:39:46 pm
@ Hek:   no clue what SSH is :-s

@ Guessed:

here is my setup:

Modem has 2 ports , one is connected to the sonos bridge , the other one is connected to the switch (what is NAT?)
-the switch has 8 ports and has my main computer where all the music is on and vera 3 and all my other devices.


In short main computer and vera3 is connected to the modem via a switch and the sonos bridge is directly connected to the modem.

The sonos 3 is connected wirelesly to my network , I can for test connect it to the router as well, will that be good to test?
The sonos PLAY3 can play music from my main computer, and also play radiostations.


Cor

Title: Re: TTS does not work :-s
Post by: guessed on January 13, 2013, 06:08:04 pm
It would be worth running the command @hek references above.  You can "login" to your Vera, using SSH, as described here:
    http://wiki.micasaverde.com/index.php/Logon_Vera_SSH

This will get you a command-line interface to Vera, from which you can run the command that @hek mentions.


Barring that, it would be worthwhile simplifying the setup, such that you're only using the 8-Port switch (and not the second port on the Modem)

The other thing that might provide a clue is the exact make/model of the various switches, modems, routers, wifi units (etc) that are "in between" Vera and the Sonos unit.

For example:
Quote
Vera -> Switch (a)
Sonos -> Wifi (c)
PC (d) -> Switch (a)
Switch (a) -> Modem (b)
Wifi (c) -> Modem (b)

Switch (a) = Netgear GS108E
Modem (b) =
Wifi (c) =
Title: Re: TTS does not work :-s
Post by: Cor on January 14, 2013, 04:35:22 pm
Lot's of testing this evening ... no joy :-(

I first tried putty to login on the vera,this went well , but how do I execute the "GetNetworkState.sh ip_wan"  I copied it to the clipboard , clicked on the right mouse button when I was in the putty window and clicked enter. Noting happened. But I copied all the text from putty at the bottom of this message ... maybe you can get some info out of it.

Than I disconnected my vera 3 and connected it directly to my modem on port 1 and the sonos bridge is on port 2.
I can via the vera3 interface start and stop a radiostation, but when I type a text and click on say , nothing happends , when I look on my computer and look at the sonos interface it shows where the station is displayed "say.68.mp3", and a second later  "cannot play say.68.mp3 , station not found".
When I enter this adress on my webbrowser my computer talks "http://10.0.0.90/Say.68.mp3" .

My question, what generates the mp3 file which needs to be played?

Here is my full setup:

Modem (thompson TG585 v70) , 2 top connectors are for "normal" use, port 3 and 4 are reserved by my provider for TV.
-Port 1 Sonos bridge (SONOS ZB: IP 10.0.0.6)
-Port 2 Cisco linksys SE 2800 switch ,on this switch all ports are connected to computers, webcams and offcourse vera3
-The modem has wifi enabled and my notebook is connected via that one
-The Sonos Play3 is NOT wired, but acces the modem via wifi ( SONOS ZP : IP 10.0.0.10).

Another question: the Play 3 , is it "talking" with my network via the bridge , or is it talking direct to my modem via wifi? I guessed this was the purpose of the bridge. Hence the sonos bridge is connected to my modem, which is in a better area in my house, the switch is in the basement where all cables from various devices come together.



**************************************************************

 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M

 -------------- Backfire (10.03) -------------------

 ---------------------------------------------------
  ***      MiOS LTD. ( www.mios.com )        ***
  ***                                        ***
  ***               WARNING :                ***
  *** Any changes made to the system without ***
  *** guidance from MiOS support will VOID   ***
  *** your future Support requests           ***
 ---------------------------------------------------
root@MiOS_30101532:~# GetNetworkState.sh ip_wan
10.0.0.90root@MiOS_30101532:~#
root@MiOS_30101532:~# GetNetworkState.sh ip_wan
10.0.0.90root@MiOS_30101532:~# GetNetworkState.sh ip_wan
10.0.0.90root@MiOS_30101532:~#
root@MiOS_30101532:~#
Title: Re: TTS does not work :-s
Post by: peterluc8080 on January 14, 2013, 05:48:29 pm
I have the same problem as you! I can control the sonos play3 from Vera and from the app. I can also listen to the text I wrote in the say field when I enter the veraip/say.45.mp3 but there is nothing that come out of the speaker....

I don't know what to do next...
Title: Re: TTS does not work :-s
Post by: guessed on January 15, 2013, 01:45:29 am
@Cor,
There's nothing obvious that comes to mind, but the first thing I'd do is to simplify the setup since you have a number of moving parts.

The Combo modem/wifi/switch from your ISP is the first component I'd eliminate from the mix, followed shortly by the removal of the ZB.  Since the ISP setup/provided the modem device, we likely don't have enough information on how they've configured it internally.

The changes listed below are for testing/isolation.  Once it's been isolated to the specific component causing issues, then it would be built up again to get around those issues.

So my first step would be to cable both Vera3 and the Sonos ZB to different ports on the Cisco SE 2800.  This way they'll talk to each other without going through layers of switch gear (esp inside the modem). 

Vera3 should be connected, via it's WAN port, directly to the Cisco unit.  None of the Vera3 switch ports ("1-4") should be connected to anything.  The Sonos ZB should similarly be connected to the Cisco SE 2800.

Devices should be power-cycled after you change the wiring "just in case" someone's doing something odd.


If that doesn't work, then we need to eliminate the Sonos ZB from the equation.  In this setup, you'd directly cable the Sonos Play 3 to the Cisco SE 2800 (leaving the Vera3 on one of the other SE 2800 ports)

If it still doesn't work, then I don't have any extra clues to try out... since we'd have narrowed down to the most basic [wired] connections.  Hopefully it won't come to that ;)



Background questions...
In a normal setup the "ZB" will bridge Network packets, "destined" for a Sonos Play unit, over a proprietary Sonos Wireless network.  You can directly cable the Play3 with Ethernet to avoid this config, and things will work just the same (Sonos units have a Ethernet and the proprietary Wireless network built in)

The "Say.nn.mp3" file is produced by the Sonos Plugin.  It makes a URL call, over your Internet connection, to a Google TTS Service that takes our text parameter, and converts it to an Audio file.  The Plugin "saves" this file on Vera, in a location that's accessible via a URL, and then we tell the Sonos unit to "play" that URL.  This all [usually] happens very quickly.
Title: Re: TTS does not work :-s
Post by: Cor on January 15, 2013, 12:08:37 pm
Very frustrating,

I connected just now the Play 3 with a network cable to the switch,I also took the vera3 from it's normal position and connected it with a (ready made LAN cable) to this switch.

In short , modem , vera3 and play3 were now all connected to the switch (with cable).

I first tested if I could activate a radiostation via the vera3 interface, this worked.
Than I typed something in the "say"column , again this failed. The sonos interface on my computer shows where the station is displayed "say.68.mp3", and a second later  "cannot play say.68.mp3 , station not found".
At last I tried to play the http://10.0.0.90/Say.68.mp3 on a webbrowser,it works on my computer.

What else can I try?:-(

I apprecirate your help, and also the background info :-)

*edit* I just installed my new play5 , exactly the same issue :-S
can I have done something wrong installing the files from the zip-file? any possibility to check this?

Cor
Title: Re: TTS does not work :-s
Post by: peterluc8080 on January 16, 2013, 12:16:31 am
@ Cor

I'm in the same boat as you. The exact same problem as you. I even went to Best Buy and buy 3 different modem, same problem. I download and save the Say.xx.mp3 file on my NAS on my network and I was able to play the file on the Sonos Play 3 by creating a new radio station in the sonos controller and set the radio url correctly. But if I change the url to the veraip/Say.xx.mp3, it doesn't work...

On the dlink model, the sonos controller was telling me that the access wat refused insted of the usual station not founded. This new error make me believe that the error is the access to the file in vera by the sonos unit. How can we solve that?

(I'm french in Montr?al, Canada. I try my best to write in English so everyone can understand. Sorry if my english isn't too great.)

Peter
Title: Re: TTS does not work :-s
Post by: lolodomo on January 16, 2013, 02:18:47 am
What version of ui5 are you using ?
Title: Re: TTS does not work :-s
Post by: Cor on January 16, 2013, 03:39:16 am
@ Lolodomo : my vera3 says:" You are running the latest version: 1.5.408" ...well I wish she would be able to say... ::)

*edit* , I also just tried a different brand/type modem ..... there was no change:-(
Title: Re: TTS does not work :-s
Post by: peterluc8080 on January 16, 2013, 01:19:51 pm
The problem is that Sonos doesn't have the access to the file. On the computer we can acces the file because we are already log in your account. Try to acces the veraip/Say.xx.mp3 on your cellphone. You will need to enter your username and password to acces the file.

So, to solve that, we need to set the Sonos to remember your username and password of the vera. I'm in hte right direction or not?

Thanks for your help!
Title: Re: TTS does not work :-s
Post by: guessed on January 16, 2013, 01:22:15 pm
That seems odd.  Have you enabled some sort of security on your Vera unit?

Mine is [more or less] an oo-box configuration, so there's no security layer applied and the file downloads without need for user/passwd information.
Title: Re: TTS does not work :-s
Post by: peterluc8080 on January 16, 2013, 01:27:31 pm
No, I don't think I add security layer on the vera unit. I login with my username and password that I first created when I received my unit but that it.

Your vera unit is like a oo-box configuration? How do you do that?

***@COR : I found the problem!! Just go in Setup, Unit setting and click on no at the question : Do you want to secure this vera? Restart your Sonos and vera and it's work!! :)

Title: Re: TTS does not work :-s
Post by: Cor on January 16, 2013, 04:09:43 pm
BINGO!!!!

That was indeed the problem. now it works nicely :-)  Good thinking peterluc8080 :-)

But is my vera3 now secure? , what did I just now disable?

another But.... it's a male voice   >:( , my house is very female :-) , any possibility to change the voice?

Thanks,
Cor
Title: Re: TTS does not work :-s
Post by: guessed on January 16, 2013, 04:24:21 pm
@Cor,
It was a false sense of security anyhow.   :D

Even with the Password enabled, folks on your LAN could break into your unit with one simple URL...  There are various discussion threads on it, but here's a sample:
    http://forum.micasaverde.com/index.php/topic,6465.msg40450.html#msg40450


The voice is what we get from Google's TTS.  Oddly, it sounds like a Woman to me, so perhaps it's location and/or language dependent.
Title: Re: TTS does not work :-s
Post by: hek on January 16, 2013, 04:33:12 pm
Good that the problem was solved.

There isn't much security added by enabling the "secure" option in Vera. The password is transfered in cleartext in your network. Anyone attached or connected by wifi could sniff it.

If you choose sv (Swedish) you'll get a female voice. But you might not understand what she says :)
It is not possible to change voice as we're using googles TTS service and it doesn't have much options.
Title: Re: TTS does not work :-s
Post by: Cor on January 16, 2013, 04:43:32 pm
@ Hek: ok , thanks.

I don't have a swedish option , I have , english (male) , french (lovely french accent) , italian , russian ..... I would love to hear the swedish woman ..... anyone know how to get her or has it to do with where the Vera is "based"?

Cor
Title: Re: TTS does not work :-s
Post by: hek on January 16, 2013, 04:55:30 pm
Just type "sv" in the box next to language selector (if you use the GUI). But it will pronounce things bad if you force her to say english phrases I guess...

Try:
Code: [Select]
"Svenska tjejer ?r snyggast i v?rlden!"
:D


WTF... this forum does not cope with UTF-8 characters very well... I'm giving up...
Title: Re: TTS does not work :-s
Post by: Cor on January 16, 2013, 05:03:21 pm
COOL , the dutch version is very nice ... :-)

thanks,
Cor
Title: Re: TTS does not work..similar problem
Post by: tdelagardelle on February 23, 2013, 04:57:24 pm
Hello ,

I installed the sonos plugin with my Vera Lite, and I can controll the sonos via the Device plugin, that is ,stop play, play favourites etc...
But when i go to the player tab and type a text (This is a test) in the "say" column and click "say", nothing happends.
When I look at the sonos interface I see.... information: ZPSTR_Buffering, and Stream: Say.12.Final.mp3.  No sound comes out of my Sonos Play5.   What do I need to do to get it working?  I have made sure that both the Sonos Bridge and the Vera Lite are both hooked up to my wireless router directly and not to my 16 port switch. 

When I installed the plugin I Uploaded the plugin files: here are the directions I followed....In the Toolbox section open MiOS Developers >> Luup Files and upload all the files you downloaded (except the file D_Sonos1_UI4.json and the services subdirectory). check the Restart Luup after upload checkbox and click GO.

Also I am running the latest version: 1.5.408 on the Vera Lite.

When I try via a browser to go to http://<veraIP>/Say.12.mp3.. I get a 404 Not Found Error


Thanks,
Troy
Title: Re: TTS does not work :-s
Post by: lolodomo on February 23, 2013, 07:06:40 pm
What you may have forgotten is to upload the Sonos_silence.mp3 into directory /www
My hypothesis is that, with this missing file, Sonos has not time to start the playback that the plugin already stops it.
The file Say.xx.final.mp3 is deleted at the end, that's the reason you got a 404 error.
Title: Re: TTS does not work :-s
Post by: tdelagardelle on February 23, 2013, 10:31:54 pm
I went back to the same place I uploaded the rest of the Sonos plugin files and verified that I uploaded the Sonos_silence.mp3. I uploaded that file again to make sure it was not corrupted....tried to play a test message and it did not work.. you mentioned the /www directory. Am I suppose to upload this file to a different location.  the only place I uploaded the file was with the graphical user interface in the "Develope Apps"--> Luup files section.  Any other ideas would be greatly appreciated.

Title: Re: TTS does not work :-s
Post by: Brientim on February 24, 2013, 12:18:45 am
Both the mp3 and icons need to be copied to different locations.
Title: Re: TTS does not work :-s
Post by: tdelagardelle on February 24, 2013, 12:46:21 am
During the initial install of this plugin I used the guide below... Not once does it mention placing files in different directories on the Vera. I simply followed the guide and used the browser to upload the files to what appears to be the same location as all the other files for all apps installed.   So how do I know what files go into what directories for the sonos app???  Will I need to connect to the Vera with an FTP client?  All other features of the Sonos App seem to be working great... its just the "Say" feature that is not working? 

http://code.mios.com/trac/mios_sonos-wireless-music-systems#no1
Title: Re: TTS does not work :-s
Post by: Brientim on February 24, 2013, 02:06:21 am
As there has been some rapid changes to provide additional functionality to the users, the wiki has not maintained the same pace which is common during development. The post that reflect the changes are below:

http://forum.micasaverde.com/index.php/topic,8505.msg99888.html#msg99888
http://forum.micasaverde.com/index.php/topic,8505.msg100487.html#msg100487

If you are using Windows, you can use WINSCP http://winscp.net/eng/index.php

Icons (.png) are copied to /www/cmh/skins/default/icons/   
The Sonos_silence.mp3 file is copied to /www/

Do not copy them from the files that have already been upload /etc/cmh-ludl/ as the compression (.lzo) is destructive; however, they should be deleted.
Title: Re: TTS does not work :-s
Post by: lolodomo on February 24, 2013, 04:49:33 am
Thank you Brientim.


Sorry for providing enhancements and fixes ... and not always updating the wiki page ! We are doing all that for free and on our free time.
Nevertheless I have now updated the installation chapter on the wiki page.
Title: Re: TTS does not work :-s
Post by: Brientim on February 24, 2013, 05:00:07 am
Thank you Brientim.


Sorry for providing enhancements and fixes ... and not always updating the wiki page ! We are doing all that for free and on our free time.
Nevertheless I have now updated the installation chapter on the wiki page.

Mate there is no need to apologise. I think everyone that uses or followed this app would appreciate the effort to deliver functional operations and enhancements. This has been priority and you have done a fantastic job at achieving.
Title: Re: TTS does not work :-s
Post by: lolodomo on February 24, 2013, 05:07:21 am
And as I am not very fluent in English, I prefer to avoid writing to much documentation ;)


That being said, we still have to find a solution to avoid WinSCP manipulations.
Title: Re: TTS does not work :-s
Post by: tdelagardelle on February 24, 2013, 10:51:29 am

Thank you so much for all your help... This was indeed the problem.  After placing the .mp3 into the correct directory my Sonos is finally talking to me!!!  Thanks for all your hard work on this project and taking the time to help me out.

TroyD.
Title: Re: TTS does not work :-s
Post by: Cor on March 25, 2013, 05:51:35 pm
That is wierd ... I cannot use the `say` function anymore, after some issues with the `security`option it worked about 2 months ago (see previous posts) , But i just tried it now , and sonos is not talking to me anymore , the sonos interface says "playing say.69.final.mp3" , but no sounds , when I try to play the say.69.mp3 file from my computer with: http://10.0.0.90/Say.68.mp3  on my webbrowser it is playing what I typed....

The only thing what I have done is , update my vera to the new beta version ..... is this the issue? , is it fixable?

Thanks, Cor
Title: Re: TTS does not work :-s
Post by: Cor on April 06, 2013, 11:46:11 am
No one with an idea how to solve the  issue in the previous post :-(

Cor
Title: Re: TTS does not work :-s
Post by: hek on April 06, 2013, 01:55:26 pm
yes, very strange. I've also updated and Say still works.

Are you sure nothing else has changed in network?
Title: Re: TTS does not work :-s
Post by: Cor on April 06, 2013, 02:07:48 pm
@ hek:   Thanks for the info , now at least I know it has not to do with the update.   Nothing has changed so far. I played a bit with a fibaro 3in1 device and a trigger-scene which plays a MP3 file.... but that has nothing to do with the "sonos device" in UI I would say.

Cor
Title: Re: TTS does not work :-s
Post by: hek on April 06, 2013, 02:28:31 pm
Maybe a hickup weird state in the sonos vera-device. Try remove and add it again. Did you upload the silence-mp3?
Title: Re: TTS does not work :-s
Post by: Cor on April 08, 2013, 05:00:22 am
@ Hek , Silence.mp3... I have read it somewhere , but didn't do anything with it , since it was working before.....  I will look into that.

Thanks,
Cor
Title: Re: TTS does not work :-s
Post by: hek on April 08, 2013, 05:17:08 am
And also like SteveZ said in another thread...

Verify that "secure my vera" is unchecked under unit settings!
Title: Re: TTS does not work :-s
Post by: lolodomo on April 08, 2013, 02:18:16 pm
The silence MP3 file is required as explained in the wiki (installation).
Title: Re: TTS does not work :-s
Post by: lolodomo on April 08, 2013, 02:21:39 pm
And I already provided this information almost two months ago (check my post in the previous page).
Title: Re: TTS does not work :-s
Post by: Cor on April 08, 2013, 04:37:24 pm
And I already provided this information almost two months ago (check my post in the previous page).

I see it now ... the reason why i didn't do anything with silence.mp3 is that is worked after unchecking the "secure" option.... . I have some time now , let me try to work with this silence.mp3 :-)

Cor
Title: Re: TTS does not work :-s
Post by: Cor on April 08, 2013, 05:23:40 pm
Ups.....I feel embarassed now.... I see what was wrong.

The day before I started this thread I had to reboot my modem/router, I cannot set fix IP adresses on my modem (which is crap offcourse) , the IP adresses of my sonos devices had changed...

Anyway , I uploaded the png and silence.mp3 to the correct directory , it all is working again,and I have some nice icons as well :-)

One more question. I read somewhere that .png shoud not be in the " /etc/cmh-ludl" directory ... must I remove them , or something else?

Attached a screenshot of that directory.

Thanks for all the help,
Cor
Title: Re: TTS does not work :-s
Post by: lolodomo on April 21, 2013, 04:09:25 am
Ups.....I feel embarassed now.... I see what was wrong.

The day before I started this thread I had to reboot my modem/router, I cannot set fix IP adresses on my modem (which is crap offcourse) , the IP adresses of my sonos devices had changed...

Anyway , I uploaded the png and silence.mp3 to the correct directory , it all is working again,and I have some nice icons as well :-)

Please update the title of the subject with a "resolved".

Quote
One more question. I read somewhere that .png shoud not be in the " /etc/cmh-ludl" directory ... must I remove them , or something else?

The M3 file can be either in /etc/cmh-ludl or /www. 
Title: Re: resolved>> TTS does not work :-s
Post by: limkopi78 on June 07, 2013, 08:29:13 am
Hi,

I'm rather confused after reading this thread. I've recently installed the plugin to my vera2. I'm able to control my sonos but not able to make sonos say anything.

So should the silence mp3 be in /etc/cmh-ludl/ or /www ?

I have it in both but still unable to say anything :(
Title: Re: resolved>> TTS does not work :-s
Post by: lolodomo on June 07, 2013, 05:26:44 pm
Try to put it in only one place
Title: Re: resolved>> TTS does not work :-s
Post by: limkopi78 on June 08, 2013, 06:38:45 am
I've tried putting the mp3 in one or another using scp. Both doesn't work if I use the Say functionality on the UI.

However for both options, the Say.31.mp3 (my device number being 31) will be generated if I use the luup code Say command.
And I am able to play the mp3 via sonos using the PlayURI.

How can I debug this?
Title: Re: resolved>> TTS does not work :-s
Post by: limkopi78 on June 10, 2013, 09:49:37 am
No advice on this? I'm using Vera2 UI4. Do I need to use the UI4 file?
I dug through the code, lolomodo has written the code such that it works in either folder...

My Say.31.mp3 file is created correctly. I can hear it when I download and play file but the Sonos refuses to say anything.
Title: Re: resolved>> TTS does not work :-s
Post by: lolodomo on June 10, 2013, 05:22:39 pm
No advice on this? I'm using Vera2 UI4. Do I need to use the UI4 file?

Yes.

Quote
I dug through the code, lolomodo has written the code such that it works in either folder...

Yes but it was done by @guessed.

Quote
My Say.31.mp3 file is created correctly. I can hear it when I download and play file but the Sonos refuses to say anything.

Please check the logs in case there is something not normal (grep Sonos). Any message in the Sonos control app ?

Anyone to confirm that TTS is working on UI4 ?
Title: Re: TTS does not work :-s
Post by: jimdenny on June 27, 2013, 08:41:06 am
As there has been some rapid changes to provide additional functionality to the users, the wiki has not maintained the same pace which is common during development. The post that reflect the changes are below:

http://forum.micasaverde.com/index.php/topic,8505.msg99888.html#msg99888
http://forum.micasaverde.com/index.php/topic,8505.msg100487.html#msg100487

If you are using Windows, you can use WINSCP http://winscp.net/eng/index.php

Icons (.png) are copied to /www/cmh/skins/default/icons/   
The Sonos_silence.mp3 file is copied to /www/

Do not copy them from the files that have already been upload /etc/cmh-ludl/ as the compression (.lzo) is destructive; however, they should be deleted.

What username and password do I use to connect with winSCP? I've tried the password I use for mios, but it will not connect. I've tried it with the username of "root" and my mios username. Access denied.
Title: Re: resolved&gt;&gt; TTS does not work :-s
Post by: Brientim on June 27, 2013, 02:59:33 pm
The user should be root and the password from the bottom of your unit. If there is no password on the bottom of your Vera, have a look at installing this app by @futzle

http://forum.micasaverde.com/index.php/topic,7110.msg45228.html#msg45228
Title: Re: resolved>> TTS does not work :-s
Post by: jimdenny on June 28, 2013, 11:31:58 pm
I have been through all of the steps outlined.
- Vera and Sonos on the same switch (TrendNet)
- Silence.mp3 file in www
- PNG files where they belong

When I type in a test message. It shows the message that it is streaming Say.29.mp3, but there is only silence for a few seconds. Then, the music resumes.

If I put VeraIP/Say.29.mp3, I receive a 404 Error. Any recommendations?
Title: Re: resolved>> TTS does not work :-s
Post by: jimdenny on June 29, 2013, 10:09:45 am
I have been through all of the steps outlined.
- Vera and Sonos on the same switch (TrendNet)
- Silence.mp3 file in www
- PNG files where they belong

When I type in a test message. It shows the message that it is streaming Say.29.mp3, but there is only silence for a few seconds. Then, the music resumes.

If I put VeraIP/Say.29.mp3, I receive a 404 Error. Any recommendations?

OK, I went into the Sonos App and noticed that it didn't seem to be connecting to Sonos, despite the fact that Vera was. I went into my Roomie App, and it connected fine. Went back to Sonos app, and everything was fine.
After all of that, the Say action worked fine!

My assumption is that a re-boot of the Sonos would have done the trick, too. Obviously something wasn't communicating properly.

Excited to start using this functionality! Thanks for all the work and tips!