Announcement

Collapse
No announcement yet.

HS-425 - Speak Something SONOS Selection

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

    #16
    Thanks

    Comment


      #17


      Use http://192.168.2.184/events or what ever you HS IP is. This is the legacy HS3 Evetns page and the SONOS TTS speaker can be added. Once added it show sup is the HS4 Events page.

      Comment


        #18
        Originally posted by srodgers View Post

        Use http://192.168.2.184/events or what ever you HS IP is. This is the legacy HS3 Evetns page and the SONOS TTS speaker can be added. Once added it show sup is the HS4 Events page.
        Thank you so much for the help srodgers - it is appreciated!

        Comment


          #19
          Has any progress been made on this issue? I held off switching from HS3 to HS4, but finally made the jump. Now, I regret it. I depend on using the SONOS client list for my TTS events. Now, if I edit any of the events carried over from HS3, the SONOS client list disappears. If I try to create a new TTS event, I cannot use the SONOS client list. Very frustrating.

          Comment


            #20
            Originally posted by jrhocker View Post
            Has any progress been made on this issue?
            Does not look like it. If you can do scripting, there is a temporary solution that should work on HS4.

            Code:
            hs.Speak(sMsg, True, sHost)
            sMsg would contain the text of what you want to say, and sHost would have the name of your sonos speakers (the same name that you used before).

            My string I use for Sonos is:

            Code:
            sHost = "$SONOS$AllSonos$"

            Comment


              #21
              Many thanks for the help! Not ideal, but it will work until this is addressed.

              What is the code to play an .mp3 file on the Sonos speakers?

              Comment


                #22
                Originally posted by jrhocker View Post
                Has any progress been made on this issue? I held off switching from HS3 to HS4, but finally made the jump. Now, I regret it. I depend on using the SONOS client list for my TTS events. Now, if I edit any of the events carried over from HS3, the SONOS client list disappears. If I try to create a new TTS event, I cannot use the SONOS client list. Very frustrating.
                See posting #17 use http://xx.xx.xx.xx/events

                Comment


                  #23
                  Thanks. Sorry, I was a little slow on this one. Will work.

                  Comment


                    #24
                    I'm just transitioning over to HS4 .... Sonos is a huge part of our house.

                    I just came across this post explaining the HS4 eliminated the plugin functionality like we had in HS3

                    I followed posting #17 use http://xx.xx.xx.xx/events to add the Linkgroup name $SONOS$Alert$

                    Click image for larger version

Name:	sonos r2.jpg
Views:	269
Size:	90.9 KB
ID:	1447511

                    When I test this method I get an error.


                    ==================================================

                    ERROR in PlayURI for zoneplayer = Tasting Room with UPNP Error = Read only tag / Transport is locked / Access denied. URI=x-rincon:RINCON_B8E9373E210801400 and isObjectID = False, MetaData=http://192.168.199.250:80/images/Sonos/Announcement.jpgHomeSeer Announcementobject.item.audioItem.musicTrackDirk CorsusSonosControllerDirk Corsus, Error =MyUPnPService.InvokeAction for ServiceID = http://192.168.199.24:1400/xml/AVTransport1.xml while sending Action = SetAVTransportURI for URI = http://192.168.199.24:1400/MediaRend...nsport/Control and Request = 0 x-rincon:RINCON_B8E9373E210801400 <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><upnp:albumArtURI>http://192.168.199.250:80/images/Sonos/Announcement.jpg</upnp:albumArtURI><dc:title>HomeSeer Announcement</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Dirk Corsus</dc:creator><upnp:album>SonosController</upnp:album><r:albumArtist>Dirk Corsus</r:albumArtist></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 501 with error = The remote server returned an error: (500) Internal Server Error.

                    =================================================

                    Can someone assist me to understand what I need to fix?


                    Many thanks


                    Devoir






                    Comment


                      #25
                      Originally posted by devoir View Post
                      I'm just transitioning over to HS4 .... Sonos is a huge part of our house.

                      I just came across this post explaining the HS4 eliminated the plugin functionality like we had in HS3

                      I followed posting #17 use http://xx.xx.xx.xx/events to add the Linkgroup name $SONOS$Alert$

                      Click image for larger version

Name:	sonos r2.jpg
Views:	269
Size:	90.9 KB
ID:	1447511

                      When I test this method I get an error.


                      ==================================================

                      ERROR in PlayURI for zoneplayer = Tasting Room with UPNP Error = Read only tag / Transport is locked / Access denied. URI=x-rincon:RINCON_B8E9373E210801400 and isObjectID = False, MetaData=http://192.168.199.250:80/images/Sonos/Announcement.jpgHomeSeer Announcementobject.item.audioItem.musicTrackDirk CorsusSonosControllerDirk Corsus, Error =MyUPnPService.InvokeAction for ServiceID = http://192.168.199.24:1400/xml/AVTransport1.xml while sending Action = SetAVTransportURI for URI = http://192.168.199.24:1400/MediaRend...nsport/Control and Request = 0 x-rincon:RINCON_B8E9373E210801400 <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><upnp:albumArtURI>http://192.168.199.250:80/images/Sonos/Announcement.jpg</upnp:albumArtURI><dc:title>HomeSeer Announcement</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Dirk Corsus</dc:creator><upnp:album>SonosController</upnp:album><r:albumArtist>Dirk Corsus</r:albumArtist></item></DIDL-Lite> UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 501 with error = The remote server returned an error: (500) Internal Server Error.

                      =================================================

                      Can someone assist me to understand what I need to fix?


                      Many thanks


                      Devoir





                      can you post your linkgroup table?
                      Make sure you have a source player selected , preferably a player that is not paired with some other player. Try a different source player see if that works.
                      Is this windows or Linux? If Linux, do you have the right text-to-voice app installed?
                      What do you see on a sonos app when you execute this event? Is there an error?

                      Comment


                        #26
                        dcorus,

                        Many thanks

                        This is a windows application for HS4 .... Changing the source player worked. "Outdoor Kitchen" had a GFCI breaker trip and the speaker was off line

                        Click image for larger version

Name:	Link Switch r67.jpg
Views:	201
Size:	72.0 KB
ID:	1447584




                        Click image for larger version

Name:	Link Switch r5.jpg
Views:	200
Size:	128.0 KB
ID:	1447585

                        Shifted the Source speaker to "Garage" it sit's on a UPS and connected to the network switch so It should always be available. Retested per your suggestion and HS4 sends an announcement



                        Certainly appreciate the assistance.


                        I certainly hope you are able to release a new HW4 Plugin.... It's worth the cost to many of us to purchase your work.

                        Devoir

                        Comment


                          #27
                          dcorsus ,

                          You made a comment aimed at HS Team on the importance of Sonos to the community....... One simply need to look at the "Views" to this single post to gauge how many people this affects to ... there is a 5-10x factor of views against most post.....

                          The community certainly appreciates your efforts, Sonos is a huge WAF factor here.....

                          Devoir

                          Comment


                            #28
                            Originally posted by devoir View Post
                            dcorsus ,

                            You made a comment aimed at HS Team on the importance of Sonos to the community....... One simply need to look at the "Views" to this single post to gauge how many people this affects to ... there is a 5-10x factor of views against most post.....

                            The community certainly appreciates your efforts, Sonos is a huge WAF factor here.....

                            Devoir
                            Kind words ... guess the reason this had so many views has probably more to do with the fact that this posting was made nearly a year ago and it wasn't the first nor the last one that has been made

                            Comment


                              #29
                              I created an event in HS4 o speak a phrase when manually triggered to see if I can get it to speak to Sonos. I was able to use the old HS3 events page to add the $SONOS$TTS$ as the speaker client. but every time I run the event I get the following error (This is my log file below):
                              2021-02-08 3:43:34 PM

                              HomeSeer
                              Event
                              Event Security Play sonos alarm on motion detect if away or vacation, Action of Control a Device could not be carried out because its configuration is not complete.

                              2021-02-08 3:43:34 PM

                              HomeSeer
                              Error
                              In SpeakToFile: Exception from HRESULT: 0x80045039

                              2021-02-08 3:43:33 PM

                              HomeSeer
                              Event
                              Event Trigger "Security Play sonos alarm on motion detect if away or vacation"

                              2021-02-08 3:43:33 PM

                              HomeSeer
                              Event
                              Event Security Play sonos alarm on motion detect if away or vacation triggered by the events page 'Run' button.

                              The event works fine if I use the native speaker client on the server that I am running HS4 on.

                              I have defined TTS as a link group name in the sonos Plugin config page.

                              Anyone have an idea of what I am doing wrong?

                              Really appreciate your help and thanks

                              Comment


                                #30
                                Originally posted by mark@modimages.com View Post
                                I created an event in HS4 o speak a phrase when manually triggered to see if I can get it to speak to Sonos. I was able to use the old HS3 events page to add the $SONOS$TTS$ as the speaker client. but every time I run the event I get the following error (This is my log file below):
                                2021-02-08 3:43:34 PM


                                HomeSeer
                                Event
                                Event Security Play sonos alarm on motion detect if away or vacation, Action of Control a Device could not be carried out because its configuration is not complete.
                                2021-02-08 3:43:34 PM


                                HomeSeer
                                Error
                                In SpeakToFile: Exception from HRESULT: 0x80045039
                                2021-02-08 3:43:33 PM


                                HomeSeer
                                Event
                                Event Trigger "Security Play sonos alarm on motion detect if away or vacation"
                                2021-02-08 3:43:33 PM


                                HomeSeer
                                Event
                                Event Security Play sonos alarm on motion detect if away or vacation triggered by the events page 'Run' button.

                                The event works fine if I use the native speaker client on the server that I am running HS4 on.

                                I have defined TTS as a link group name in the sonos Plugin config page.

                                Anyone have an idea of what I am doing wrong?

                                Really appreciate your help and thanks
                                Is this a Windows or Linux install? If the latter make sure you have the correct SpeaktoFile program installed and in your .sh file (forgot correct name, you can search the forum for flite or something like it).
                                If it is a Windows install, it seems to complain that the event might not be created completely.

                                if you post screenshots of your linkgroup table, player table and event, i can have a look to make sure it is all Kosher

                                Comment

                                Working...
                                X