Announcement

Collapse
No announcement yet.

ReplayTV, A/V System, and UPB Plug-In

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

    ReplayTV, A/V System, and UPB Plug-In

    I just finished switching out a UPB slave switch with a US11-30. I have the US11-30 activate another link rather than the UPB master load. The link turns all lights off in the basement rather than the original ceiling light only.

    As an added bonus, I created a HS event that triggers when that link activates. The actions for the event include turning off all A/V equipment using IR commands (I have an Ocelot and Secu16IR) as well as turning off the ReplayTV via HTTP.

    I could have sent the ReplayTV an IR command to turn off but do not have an emitter for it. I opted for use HTTP commands because the ReplayTV supported it and it is just as fast as IR being sent remotely (which is already fast).

    For anyone with a ReplayTV, here is a VB.NET script to turn it off:

    PHP Code:
    Sub Main(parms As Object)
        
    Dim ReplayTV_IP As String "192.168.2.48"
        
    Dim httpRequest As System.Net.HttpWebRequest 
        
    Try
            
    httpRequest CType(System.Net.HttpWebRequest.Create(“http://" & ReplayTV_IP & "/httputilssendciomessagecioc=201”), System.Net.HttpWebRequest)
            
    httpRequest.Timeout 10000
            httpRequest
    .GetResponse()
        Catch 
    ex As Exception
            hs
    .WriteLog("*** ERROR ***"ex.Message)
        
    End Try
    End Sub 
    Jim Doolittle

    My Twitter
    My Hardware & Software
Working...
X