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.
Announcement
Collapse
No announcement yet.
Setting device status via web page form
Collapse
X
-
pgpc1Tags: None
-
here is a very basic set of pages
1st page
---------------
<pre class="ip-ubbcode-code-pre">
<form method="get" action="setsprinkler.asp">
<input type = "text" name="sprinkler" >
<input type="submit" value="Set Sprinklers">
</form></pre>
-------------
2nd page named setsprinkler.asp
-----------------------------
<pre class="ip-ubbcode-code-pre">
<%
hs.SetDeviceString "A1", Request.QueryString("sprinkler")
%></pre>
-----------------
you should be able to adapt and put these into your own pages
-
pgpc1
-
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
Comment