Announcement

Collapse
No announcement yet.

Setting up sonos configuration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Setting up sonos configuration

    Hello guys

    Well seems that I jumped in very deep waters, installed Sonos plug went in to configuration page and jaws came out to get me. Don't even know where to start. Tried the help but that's over my head, would like to have the TTS working. Only have one player, where do I tell it so it can speak thru speakers??

    Will be helpful if someone can share some basic setting to start off.

    Thanks
    Hector
    ____________________________________
    Win.2003 OS, HS3
    BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
    BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
    MyTrigger,ACRF2,W800,Zwave
    AP800,Honeywell Stat

    #2
    Create TTS example part I

    Hi Hector,

    see below a bunch of screenshots which should walk your through setting this up. Have you decided what will trigger the TTS and what it is supposed to do? For example, announce the time every hour or chime, or you have an event from your door bell that you want to sound through your player?

    First off all you need to click on Sonos Config (see pic below). The set the flags (see pic), then create your linkgroup, in the pic example below I called it TTS. You can use any name you like but it is important that the name is the same when we create the events. Before you leave the config page, save it (see pic)!!

    Now it is time to create an event (see pic). Click on add event (see Pic).

    Because I can upload on 6 pictures, I'll explain the rest in the next posting

    Dirk
    Attached Files

    Comment


      #3
      Create TTS example part II

      In the Create event page, name your event. I named it HectorsTTS (see pic).

      Go to the trigger Tab (Click on "Trigger") and select what your trigger should be. In the pic below, I leave it at manual to test it.

      Now the last step is to set the action, which could be to play some sound, have it say something etc.

      Click on the "ACTION" tab and then select "Speak" in the "add event" drop down list (see pic)

      There is one important piece of information you need before you can create the action ... you need to know the name of your speaker client. You can find this by clicking on "SETUP" (see pic) and go to the bottom of the screen which has the speaker clients (see pic). In our example the speaker client is DIRK-DELL: DEFAULT.

      Now back to the action page. Click on "Advanced View" (See Pic).
      Attached Files

      Comment


        #4
        Create TTS example part III

        Create your own actions on the action page. In the example, when we hit the manual trigger, the text "hello this is a test for Hector" will be spoken through the sonos players that we have selected. Don't forget to click on "Update" before leaving this screen and then on "SAVE" before leaving that screen (see pic).

        You are now back in the event page and if you click on "RUN", you should hear your Sonos say "Hello ...."

        When this works, define your trigger and don't forget to enable the event!

        Good luck,

        Dirk
        Attached Files

        Comment


          #5
          Hi Dirk

          I just decided to setup my TTS again. All works OK, but speech is very quiet. Where/how can I override the volume for TTS?

          Also, I'd like to create 2 TTS groups (Whoel House and first Floor)

          is it possible to create a script that I can pass the text to speak. Secondly, pass the text to speak and TTS device (whole house or first floor)

          Regards

          mark
          ________________________

          Dell Zino HD - HSPRo 2.x
          HSTouch - iPhone 3GS, 4S, iPad2 and iPad 3, 3xKindle Fire (Wall mounted)
          2 x Brultech ECM1240 with UltraECM
          USB UIRT
          Cooper Aspire Z-Wave Switches
          WGL800 w ACRF2 and 3xDS10a (Sump Level/Activity sensing)
          HM ST812-2 Flood Sensor
          HSM100 - Motion Detector with Light and Temperature
          2GIG Thermostat
          BLDSC - Alarm Plug-in
          BLUPS
          UltraLog (SQL2008)
          Jon00 Plugins
          Host XR3 BT and Jon00 BT Proximity
          Global Cache IP2IR
          Foscam FI8918W

          Comment


            #6
            Delayed sound

            Hello.
            Nice whith a setting up Sonos system basics.

            I having problems whith delayed sound in the speaker after trigger the anouncment.
            I copyed the log file and tried different evens but having different delay.
            The sound comes first when "- DoCheckAnnouncementQueue activated " is logged

            2011-08-14 22:02:19 - Event - Event Trigger "Aktiviteter vid avlarmning"

            2011-08-14 22:02:19 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = WELCOME HOME STEFAN AND ALEXANDRA, Wait=True, Host = $SONOSFILE$TTS$:ASROCKEFAULT
            2011-08-14 22:03:06 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = WELCOME HOME STEFAN AND ALEXANDRA and LinkgroupName = TTS
            2011-08-14 22:10:18 - Event - Event Trigger "Aktiviteter vid avlarmning"

            2011-08-14 22:10:19 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = WELCOME HOME STEFAN AND ALEXANDRA, Wait=True, Host = $SONOSFILE$TTS$:ASROCKEFAULT
            2011-08-14 22:10:33 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = WELCOME HOME STEFAN AND ALEXANDRA and LinkgroupName = TTS
            2011-08-14 22:10:59 - Event - Event Trigger "JensenTTS"
            2011-08-14 22:10:59 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = Hello stefan, Wait=False, Host = $SONOSFILE$TTS$:ASROCKEFAULT
            2011-08-14 22:12:12 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = Hello stefan and LinkgroupName = TTS

            Comment


              #7
              Originally posted by mark_anderson_us View Post
              Hi Dirk

              I just decided to setup my TTS again. All works OK, but speech is very quiet. Where/how can I override the volume for TTS?

              Also, I'd like to create 2 TTS groups (Whoel House and first Floor)

              is it possible to create a script that I can pass the text to speak. Secondly, pass the text to speak and TTS device (whole house or first floor)

              Regards

              mark
              Hi Mark,

              Go to the sonos config page, see picture below where you can set the volume and click on the button to add a linkgroup. Don't forget to SAVE!

              Name one Linkgroup WholeHouse and other FirstFloor, select which speakers should participate and save it all. After that create new events or update existing ones. To use scripts inside the speech, read up on HS documents. I had someone who had some scripts that would read like some random (I believe he used BLRANDOM) greetings in the morning.

              Dirk
              Attached Files

              Comment


                #8
                Originally posted by sweden View Post
                Hello.
                Nice whith a setting up Sonos system basics.

                I having problems whith delayed sound in the speaker after trigger the anouncment.
                I copyed the log file and tried different evens but having different delay.
                The sound comes first when "- DoCheckAnnouncementQueue activated " is logged

                2011-08-14 22:02:19 - Event - Event Trigger "Aktiviteter vid avlarmning"

                2011-08-14 22:02:19 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = WELCOME HOME STEFAN AND ALEXANDRA, Wait=True, Host = $SONOSFILE$TTS$:ASROCKEFAULT
                2011-08-14 22:03:06 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = WELCOME HOME STEFAN AND ALEXANDRA and LinkgroupName = TTS
                2011-08-14 22:10:18 - Event - Event Trigger "Aktiviteter vid avlarmning"

                2011-08-14 22:10:19 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = WELCOME HOME STEFAN AND ALEXANDRA, Wait=True, Host = $SONOSFILE$TTS$:ASROCKEFAULT
                2011-08-14 22:10:33 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = WELCOME HOME STEFAN AND ALEXANDRA and LinkgroupName = TTS
                2011-08-14 22:10:59 - Event - Event Trigger "JensenTTS"
                2011-08-14 22:10:59 - SONOSCONTROLLER - SpeakIn called for Device = 0, Text = Hello stefan, Wait=False, Host = $SONOSFILE$TTS$:ASROCKEFAULT
                2011-08-14 22:12:12 - SONOSCONTROLLER - DoCheckAnnouncementQueue activated with HostName = :ASROCKEFAULT Text = Hello stefan and LinkgroupName = TTS

                Hi Sweden,

                which version of the plug-in are you using? There were some optimizations I believe in v .65. How many players are participating? The more players the longer it takes to link and save all information. Check also how many songs you have in your queue, saving the queue takes a few seconds per player when there are lot's of songs in the queue. It was changed in .v65 and now the queue is saved on the player itself rather than reading all queue info and store/restore it in/from the plug-in. I have another version waiting to be released which might shave a few seconds of that as well. What will also cause a delay in current version is when the announcement volume is very different from the current volume (or when the participating players are muted). The Sonos player ramps up slowly its volume, nothing I can do about that, but in the current version of the plug-in, I wait individually and therefore all delays are cumulative, in the version I'm working on (but haven't released yet), the delay is only set once to the worst player (either on mute or biggest difference between current volume and announcement volume). You have indeed 47 seconds of wait, that is VERY long. If you are not on version .v65 than download it here (http://board.homeseer.com/showpost.p...45&postcount=1). If you want to test the latest version I can send you a .DLL file but you need to email me in private.

                Dirk

                Comment


                  #9
                  Originally posted by dcorsus View Post
                  Create your own actions on the action page. In the example, when we hit the manual trigger, the text "hello this is a test for Hector" will be spoken through the sonos players that we have selected. Don't forget to click on "Update" before leaving this screen and then on "SAVE" before leaving that screen (see pic).

                  You are now back in the event page and if you click on "RUN", you should hear your Sonos say "Hello ...."

                  When this works, define your trigger and don't forget to enable the event!

                  Good luck,

                  Dirk
                  Thank u very much for your effort in posting this ilustrations Dirk. But I have. Issue, where it's say speaker client host in the set page, I have box "blank"?
                  Hector
                  ____________________________________
                  Win.2003 OS, HS3
                  BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                  BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                  MyTrigger,ACRF2,W800,Zwave
                  AP800,Honeywell Stat

                  Comment


                    #10
                    Originally posted by Rotech View Post
                    Thank u very much for your effort in posting this ilustrations Dirk. But I have. Issue, where it's say speaker client host in the set page, I have box "blank"?
                    Hi Hector

                    I think it's becaue HSPSeaker is not running

                    Got to the scripts folder, open startup and uncomment the line that starts the speaker client if it's commented out

                    PHP Code:
                    hs.Launch hs.GetAppPath "\Speaker.exe","","",
                    ________________________

                    Dell Zino HD - HSPRo 2.x
                    HSTouch - iPhone 3GS, 4S, iPad2 and iPad 3, 3xKindle Fire (Wall mounted)
                    2 x Brultech ECM1240 with UltraECM
                    USB UIRT
                    Cooper Aspire Z-Wave Switches
                    WGL800 w ACRF2 and 3xDS10a (Sump Level/Activity sensing)
                    HM ST812-2 Flood Sensor
                    HSM100 - Motion Detector with Light and Temperature
                    2GIG Thermostat
                    BLDSC - Alarm Plug-in
                    BLUPS
                    UltraLog (SQL2008)
                    Jon00 Plugins
                    Host XR3 BT and Jon00 BT Proximity
                    Global Cache IP2IR
                    Foscam FI8918W

                    Comment


                      #11
                      Originally posted by Rotech View Post
                      Thank u very much for your effort in posting this ilustrations Dirk. But I have. Issue, where it's say speaker client host in the set page, I have box "blank"?
                      Hi Hector,

                      my first reaction would be that the "Speaker Client" is either not running or not properly configured.

                      What system are you running this on and what Windows SW version? Go find the homeseer directory and start the speaker.exe application if it isn't yet running.

                      Dirk

                      Comment


                        #12
                        Originally posted by dcorsus View Post
                        Hi Hector,

                        my first reaction would be that the "Speaker Client" is either not running or not properly configured.

                        What system are you running this on and what Windows SW version? Go find the homeseer directory and start the speaker.exe application if it isn't yet running.

                        Dirk
                        Dirk

                        Iam running windows XP, speaker client is running (can hear PC talking) and this is whats in the startup page:

                        ' This is the startup script
                        ' It is run once when HomeSeer starts up
                        '
                        ' You may also have Startup.vb and it will be run instead of this script.
                        '
                        Sub Main()
                        On Error Resume Next 'Just to make sure this completes.

                        hs.WriteLog "Startup", "Scripting is OK and is now running Startup.txt"

                        ' If the speaker client is not running, start it
                        If Not hs.IsApplicationRunning("Speaker") Then
                        hs.Launch hs.GetAppPath & "\Speaker.exe", "", "", 0
                        End If


                        ' Speak - uncomment the next line if you want HomeSeer to speak
                        ' at startup.
                        'hs.Speak "Welcome to Home-Seer", True
                        ' You may add your own commands to this script.
                        ' See the scripting section of the HomeSeer help system for more information.
                        ' You may access help by going to your HomeSeer website and clicking the HELP button,
                        ' or by pointing your browser to the /help page of your HomeSeer system.

                        End Sub
                        Hector
                        ____________________________________
                        Win.2003 OS, HS3
                        BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                        BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                        MyTrigger,ACRF2,W800,Zwave
                        AP800,Honeywell Stat

                        Comment


                          #13
                          Originally posted by Rotech View Post
                          Dirk

                          Iam running windows XP, speaker client is running (can hear PC talking) and this is whats in the startup page:

                          End Sub
                          Then leave the Host name set to $SONOS$TTS$ and make sure you have the "Speak To File" flag set in the Sonos config page (see pictures!).
                          By the way, the only thing you are interested in is what is written under instance (see attached picture here). You would remove ALL blanks and the stuff between quotes.

                          Dirk
                          Attached Files

                          Comment


                            #14
                            Originally posted by dcorsus View Post
                            Then leave the Host name set to $SONOS$TTS$ and make sure you have the "Speak To File" flag set in the Sonos config page (see pictures!).
                            By the way, the only thing you are interested in is what is written under instance (see attached picture here). You would remove ALL blanks and the stuff between quotes.

                            Dirk
                            Seems to work, there some delay like 8 sec. So it can speak. Volume is set at 75 in order to hear it. I have "wait for speech to finish checked". Is this correct?
                            Hector
                            ____________________________________
                            Win.2003 OS, HS3
                            BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                            BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                            MyTrigger,ACRF2,W800,Zwave
                            AP800,Honeywell Stat

                            Comment


                              #15
                              Originally posted by dcorsus View Post
                              Then leave the Host name set to $SONOS$TTS$ and make sure you have the "Speak To File" flag set in the Sonos config page (see pictures!).
                              By the way, the only thing you are interested in is what is written under instance (see attached picture here). You would remove ALL blanks and the stuff between quotes.

                              Dirk
                              So should I do it with the $Sonos$tts$ or the other way?
                              Hector
                              ____________________________________
                              Win.2003 OS, HS3
                              BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                              BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                              MyTrigger,ACRF2,W800,Zwave
                              AP800,Honeywell Stat

                              Comment

                              Working...
                              X