Announcement

Collapse
No announcement yet.

Integration with Sonos - how are you doing it?

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

    Integration with Sonos - how are you doing it?

    Hello everyone,

    So just finished the setup of the Russound amp the BLplugin and everything works great.

    I have a Sonos Connect which is a source for the amp, everything works great, but would like to know how is everyone using the pause,play, next, prev, stop, pause buttons on their keypads to control Sonos.

    I just tried using the BLlog and reading the keypad info sent to HS3 and it works...however I have to have turned 'ON' the log for 'log all received message' and they are hundreds due to the "Controller Heartbeat" message log being every 1 min.

    Is everyone using the Jriver setup (haven't read much on it) or the expensive myro bridge?


    Is it possible to "activate" the log (via script) or something for received messages only after 1 zone has been turned ON, i guess that would be better than to leave the log activated when no one is using any zone.
    Thanks
    Chris

    #2
    OK anyone?

    So, it seems I am the only one who has tried to Integrate with Sonos?

    Blade,

    Is it possible to activate the log through a script once a zone is powered ON?

    Or could this be a feature request for a trigger?

    Thanks for your help,

    Chris

    Comment


      #3
      You could trigger off of the value of the zone power device
      100=ON and 0=OFF
      That should work or maybe I am missing something
      Cheers,
      Bob
      Web site | Help Desk | Feature Requests | Message Board

      Comment


        #4
        I'm not following the question. Are you wanting to control your Sonos from the buttons on you Russound keypad? There are event triggers for every possible thing you can do with the keypad.
        Attached Files
        Originally posted by rprade
        There is no rhyme or reason to the anarchy a defective Z-Wave device can cause

        Comment


          #5
          Don't see those trigger options

          Hi S-F,

          Yes, I want to control Sonos with the buttons on the keypad. When pressing pause on the keypad it should pause Sonos, etc.

          I don't see the triggers for Play, Pause, Stop, Fwd, Rev, Plus and Minus which are buttons on the keypad.

          The options available for the plugin are:

          - background color
          - balance
          - bass
          - C1 All keypads
          - C1 Root
          - C1 Zone 1 Root....
          - C1 Zone 6 Root
          - Do not disturb
          - Loudness
          - Name
          - Party Master
          - Party Mode
          - Power
          - Shared Source
          - Source
          - Treble
          - Turn on Volume
          - Volume

          I noticed I have the latest version of the plug-in 2.0.137.0

          In what location or how do you see the keypad buttons to function as a trigger and execute an event?


          Blade:

          yes I can read off the power state of each zone device but all the keypads are not a device so that is why I was going the route of activating the log once any zone is powered ON and then using BLLog to read the "play log" that the BLrussound adds the the HSlog and then execute a command to Play sonos, can you expose a device for the log activation/deactivation?

          I want to "activate" this log.


          Thanks for the help

          Chris
          Attached Files
          Last edited by clafa; October 26, 2017, 09:36 PM.

          Comment


            #6
            I could expose a scripting function that would allow you to turn the logging on and off. Would that work?
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment


              #7
              Hi Blade,
              Yes that would work, thanks for your quick reply and support.

              Chris

              Comment


                #8
                OK I will 2 scripting calls for this and let you know once they are there
                I should be able to do that this weekend for you
                Cheers,
                Bob
                Web site | Help Desk | Feature Requests | Message Board

                Comment


                  #9
                  I have added the following scripting calls:

                  EnableLogMessagesReceivedFromRussound
                  DisableLogMessagesReceivedFromRussound

                  Examples:

                  hs.PluginFunction("BLRussound", "", "EnableLogMessagesReceivedFromRussound", Nothing)
                  hs.PluginFunction("BLRussound", "", "DisableLogMessagesReceivedFromRussound", Nothing)
                  Cheers,
                  Bob
                  Web site | Help Desk | Feature Requests | Message Board

                  Comment


                    #10
                    Thanks I have a Script error

                    Blade,

                    Thanks for your help, I really appreciate it.

                    I updated the plugin to ver 2.0.138.0, and when I run the script I get what it seems like 2 errors:


                    Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\BLRussoundenablethelog.vb: Try must have at least one 'Catch' or a 'Finally'.

                    Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\BLRussoundenablethelog.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.


                    note the script location is in HS3/script/ and I also tried the root HS3 directory and same results

                    Thanks for all your help

                    Chris

                    by the way I am using Windows 7.
                    HS3 Pro Edition 3.0.0.293

                    Comment


                      #11
                      Post your script
                      Cheers,
                      Bob
                      Web site | Help Desk | Feature Requests | Message Board

                      Comment


                        #12
                        Script

                        Hi Blade,

                        The script I am running is:

                        Function Main(ByVal Data As String) As String
                        Try
                        hs.PluginFunction("BLRussound", "", "EnableLogMessagesReceivedFromRussound", Nothing)
                        End Try
                        End Function

                        Thanks again
                        Chris

                        Comment


                          #13
                          Try this:

                          Code:
                          Sub Main(ByVal Data As String)
                              hs.PluginFunction("BLRussound", "", "EnableLogMessagesReceivedFromRussound", Nothing)
                          End Sub
                          Cheers,
                          Bob
                          Web site | Help Desk | Feature Requests | Message Board

                          Comment


                            #14
                            THANK YOU

                            Thank you...
                            thank you...
                            Merci.
                            Gracias...

                            I will post a write up so everyone can see all your great work.

                            Thanks
                            Chris

                            Comment

                            Working...
                            X