2024-12-11 21:01:11 +01:00
|
|
|
<h4 id="plant_${plantId}_header">Plant ${plantId}</h4>
|
|
|
|
<div>
|
|
|
|
<button id="plant_${plantId}_test">Test</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Current:
|
|
|
|
<br>
|
|
|
|
Sensor A:<span id="plant_${plantId}_moisture_a">loading</span>
|
|
|
|
<br>
|
|
|
|
Sensor b:<span id="plant_${plantId}_moisture_b">loading</span>
|
|
|
|
</div>
|
|
|
|
Mode: <select id="plant_${plantId}_mode">
|
|
|
|
<option value="OFF">Off</option>
|
|
|
|
<option value="TargetMoisture">Target Moisture</option>
|
|
|
|
<option value="TimerOnly">Timer Only</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
Target Moisture: <input id="plant_${plantId}_target_moisture" type="number" min="0" max="100" placeholder="0">
|
|
|
|
<br>
|
|
|
|
Pump Time (s): <input id="plant_${plantId}_pump_time_s" type="number" min="0" max="600" placeholder="30">
|
|
|
|
<br>
|
|
|
|
Pump Cooldown (m): <input id="plant_${plantId}_pump_cooldown_min" type="number" min="0" max="600" placeholder="30">
|
|
|
|
<br>
|
|
|
|
"Pump Hour Start": <select id="plant_${plantId}_pump_hour_start">10</select>
|
|
|
|
<br>
|
|
|
|
"Pump Hour End": <select id="plant_${plantId}_pump_hour_end">19</select>
|
|
|
|
<br>
|
|
|
|
Sensor B installed: <input id="plant_${plantId}_sensor_b" type="checkbox">
|
2024-12-14 01:24:31 +01:00
|
|
|
<br>
|
|
|
|
Max Consecutive Pump Count: <input id="plant_${plantId}_max_consecutive_pump_count" type="number" min="1", max="50", placeholder="10">
|
|
|
|
|
2024-12-11 21:01:11 +01:00
|
|
|
|
2024-12-14 01:24:31 +01:00
|
|
|
|
2024-12-11 21:01:11 +01:00
|
|
|
</div>
|