Announcement

Collapse
No announcement yet.

PlayWavFile question

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

    PlayWavFile question

    I'm having a problem directing a wave file to the default client. Using the string "HOUSE_SERVEREFAULT" does not work. Directing the file to another client does. I'm assuming that I am identifying the default client incorrectly.

    Could someone please point me in the right direction?

    Thanks:

    PHP Code:
       If <> 30 Then ' If NOT on the half hour

            If h > 12 Then h = h - 12 ' 
    Put in here to insure that chime count is correct if run in afternoon
            
                hs
    .PlayWavFile(strWavePath h.toString "ClockChimeNight.wav","HOUSE_SERVER:DEFAULT")
                
    LogIt("Now Playing " h.toString "ClockchimeNight.wav",1)
                
        
    End If 
    Attached Files
    Don

    #2
    Bump
    Don

    Comment


      #3
      I tried it as an immediate script command like this:
      hs.PlayWavFile("MEDIA\BMW_CHIME.WAV","HOMESEERSERVEREFAULT")
      and it worked. But I'm on an older HS release.
      Fred

      HomeSeer Pro 3.0.0.548, HS3Touch, Zwave 3.0.1.252, Envisalink DSC 3.0.0.40, WeatherXML, Z-stick, HS phone, Way2Call

      Comment


        #4
        Thanks for giving it a go. I can't get it to work.
        Don

        Comment

        Working...
        X