Announcement

Collapse
No announcement yet.

Help with Webrelay

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

  • Help with Webrelay

    From a browser I can type " http://10.0.1.119/state.xml?relay01=1 or 0 " into the address bar and change the state of my webrelay relay #1 on or off by changing the number after the = sign. Obvisouly the 10.0.1.119 is the IP address of the relay device. I have been trying to figure how to create an event that will do the same as me typing that into the browser. I want to control this IP based relay for many different functions on the network. I've tried sending a vb string and unless I don't know the proper syntax I cannot make it work. Any help here would be GREATLY appreciated.

    Thanks

  • #2

    You can issue the following immediate script command from an event:


    Code:
    &hs.GetURL("10.0.1.119","/state.xml?relay01=1",TRUE,80)
    HS 3.0.0.548: 1976 Devices 1156 Events
    Z-Wave 3.0.1.262: 123 Nodes on one Z-Net

    Comment

    Working...
    X