Announcement

Collapse
No announcement yet.

Setting device status via web page form

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

  • Setting device status via web page form

    Is it possible to set the device status using a form on a web page. I plan to use the values in scripts for controlling and irrigation system.

  • #2
    here is a very basic set of pages

    1st page
    ---------------
    <pre class="ip-ubbcode-code-pre">
    &lt;form method="get" action="setsprinkler.asp"&gt;
    &lt;input type = "text" name="sprinkler" &gt;
    &lt;input type="submit" value="Set Sprinklers"&gt;
    &lt;/form&gt;</pre>
    -------------

    2nd page named setsprinkler.asp
    -----------------------------
    <pre class="ip-ubbcode-code-pre">
    &lt;%
    hs.SetDeviceString "A1", Request.QueryString("sprinkler")
    %&gt;</pre>
    -----------------

    you should be able to adapt and put these into your own pages

    Comment


    • #3
      Thank you very much for your help - it's exactly whast I was looking for. Paul.

      Comment


      • #4
        I cant seem to get this to work in my HS3 setup. Is there anything I should be coding differently in the ASP page ?

        See my detailed thread : https://forums.homeseer.com/showthread.php?t=191455

        Thx

        Comment

        Working...
        X