Announcement

Collapse
No announcement yet.

What is wrong with this immediate script line

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

    What is wrong with this immediate script line

    &hs.ExecX10 "A2", "no cmd", 0, 0

    #2
    hs.ExecX10 as a command does not exist in HS3.
    Jon

    Comment


      #3
      Thanks. I guess I need to give up my old x1`0 devices that need to be sent addresses.

      Comment


        #4
        Originally posted by jon00 View Post
        hs.ExecX10 as a command does not exist in HS3.
        There is an "equivalent" in HS3, but it's a bit less convenient to use. See this:
        https://forums.homeseer.com/showthread.php?t=178701

        This might do what you want.
        Code:
            Public Sub Main(ByVal Parms As Object)
        
                Dim X10plugin As HomeSeerAPI.PluginAccess = New HomeSeerAPI.PluginAccess(hs, "X10", "")
                Dim strRet As String
        
                strRet = X10plugin.PluginFunction("ExecX10", {"A2", "no cmd", 0, 0, False})
        
            End Sub
        Mike____________________________________________________________ __________________
        HS3 Pro Edition 3.0.0.548, NUC i3

        HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

        Comment

        Working...
        X