Difference between revisions of "JacobSpringsFarm:Managewater"

From RAWiki
Jump to: navigation, search
Line 1: Line 1:
 +
<h2>Configure water tank management:</h2>
 +
 +
<p>The water tanks can hold a maximum of 5 feet of water. This form can be used to configure the settings for turning on and off the pump, and for manually turning the pump on or off.</p>
 +
 +
 +
 
<h2>Configure water tank management:</h2>
 
<h2>Configure water tank management:</h2>
  
Line 23: Line 29:
 
<input type="text" name="field3" value="1"><br><br>
 
<input type="text" name="field3" value="1"><br><br>
  
<input type="submit" value="Send">
+
<input type="submit" value="Save settings">
  
 
</form>
 
</form>
Line 29: Line 35:
 
<h2>Run pump manually:</h2>
 
<h2>Run pump manually:</h2>
  
<form action="https://api.thingspeak.com/update" method="post" enctype="text/plain">
+
<form action="https://api.thingspeak.com/update" method="get" enctype="text/plain">
  
 
api key for turning on pump (same as above):<br>
 
api key for turning on pump (same as above):<br>
Line 37: Line 43:
 
minutes to turn pump on:<br>
 
minutes to turn pump on:<br>
  
<input type="text" name="field4" value="1" type="hidden">
+
<input type="hidden" name="field4" value="1">
  
 
<input type="text" name="field5" value="15"><br><br>
 
<input type="text" name="field5" value="15"><br><br>
  
<input type="submit" value="Send">
+
<input type="submit" value="Turn on pump">
 +
 
 +
</form>
 +
 
 +
<h2>Stop pump:</h2>
 +
 
 +
<form action="https://api.thingspeak.com/update" method="get" enctype="text/plain">
 +
 
 +
api key for turning off pump (same as above):<br>
 +
 
 +
<input type="text" name="key"><br>
 +
 
 +
<input type="hidden" name="field6" value="1"><br>
 +
 
 +
<input type="submit" value="Turn off pump">
  
 
</form>
 
</form>

Revision as of 09:49, 11 September 2015

Configure water tank management:

The water tanks can hold a maximum of 5 feet of water. This form can be used to configure the settings for turning on and off the pump, and for manually turning the pump on or off.


Configure water tank management:

The water tanks can hold a maximum of 5 feet of water. This form can be used to configure the settings for turning on and off the pump, and for manually turning the pump on or off.


<form action="https://api.thingspeak.com/update" method="get" enctype="text/plain">

api key for changing settings:

<input type="text" name="key">

Water minimum height in feet (AC pump will turn on after going below this height):

<input type="text" name="field1" value="2">

Water maximum height in feet (AC pump will turn off after going below this height):

<input type="text" name="field2" value="4" size="50">

Maximum number of hours pump is allowed to be on without stopping for a 5 min break:

<input type="text" name="field3" value="1">

<input type="submit" value="Save settings">

</form>

Run pump manually:

<form action="https://api.thingspeak.com/update" method="get" enctype="text/plain">

api key for turning on pump (same as above):

<input type="text" name="key">

minutes to turn pump on:

<input type="hidden" name="field4" value="1">

<input type="text" name="field5" value="15">

<input type="submit" value="Turn on pump">

</form>

Stop pump:

<form action="https://api.thingspeak.com/update" method="get" enctype="text/plain">

api key for turning off pump (same as above):

<input type="text" name="key">

<input type="hidden" name="field6" value="1">

<input type="submit" value="Turn off pump">

</form>