Announcement

Collapse
No announcement yet.

Speaker client

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

    Speaker client

    Does the HST-IWC07 support hs.speak? I tried setting up an event with an hs.speak script function directed to the IWC07, but it does not play. When I direct it to my iPad, it works.

    Ken

    #2
    Works for me.
    I'm assuming you already know this, but just in case

    What are you using to define the device?
    My clients are: Andie01, Andie02, etc, so I send to "Android:Andie01"
    You can find the names on your Setup->General(HS2) Network(HS3) page in HS.

    Z

    Comment


      #3
      That worked.

      I see now why the iPad worked with "Ken's iPad:*" because it is the same on both sides of the colon.

      HOMESEER-SERVER (127.0.0.1) : DEFAULT

      Android (HSTouch) : Kitchen Tablet
      Android (HSTouch) : Livingroom
      CF-28-2 (HSTouch) : Ken's Bedroom
      Hamshack (HSTouch) : Hamshack
      Ken's iPad (HSTouch) : Ken's iPad
      Kens-I5 (HSTouch) : Kens-I5

      However, it is really quite useless as the volume out of the built in speakers is quite low.

      Comment


        #4
        If it were me you might want to run a SetVolumeEx command at that client.
        Maybe it just defaults to a low volume.

        SetVolumeEx

        Purpose

        This function sets the master volume of the system sound device that the speaker client(s) are using. This can be used to set the volume of the text-to-speech output. The volume level must be in a range between 0 and 100, where 100 is the maximum volume.

        To change the volume for the MEDIA functions, use MediaVolume.

        Parameters

        Parameter: level
        Type: integer (.NET Short)
        Description: This is the volume level, from 0 to 100.

        Parameter: host (optional)
        Type: string
        Description: Leaving this a null string will apply the command to the first instance HomeSeer finds, otherwise use the hostname of the computer for this command. If more than one instance of the Speaker application is running on "host" then you may need to specify the instance as well in the format host:instance.

        Returns

        None.

        Example

        sub main()

        hs.SetVolumeEx 90
        hs.speak "I am speaking louder",TRUE
        hs.SetVoumeEx 20, "Kitchen"
        hs.speak "I am speaking softer on the Kitchen computer than on the others.",TRUE

        end sub


        ~Bill

        Comment

        Working...
        X