153 lines
4.2 KiB
HTML
153 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset='UTF-8'>
|
|
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
|
|
<title>CanGrow - CanGrow v0.2-dev</title>
|
|
<link rel='stylesheet' href='cangrow.css'>
|
|
</head>
|
|
<body>
|
|
<ul class='nav'><li><a href='/'>🌱 CanGrow</a></li>
|
|
<li><a class='' href='/grow/' >🔆 Grow settings</a></li>
|
|
<li><a class='activeNav' href='/system/' >⚙ System settings</a></li>
|
|
<li><a class='' href='/wifi/' >📡 WiFi settings</a></li>
|
|
<li><a class='' href='/help' >❓ Help</a></li>
|
|
<li><span class='navTime'>04:20:23</span></li>
|
|
<li><a href='https://git.la10cy.net/DeltaLima/CanGrow' target='_blank'>CanGrow v0.2-dev</a></li>
|
|
</ul>
|
|
<div class='center'>
|
|
|
|
<ul class='subnav'>
|
|
<li><a class='activeNav' href='/system/output/'>⚡ Output configuration</a></li>
|
|
<li><a class='' href='/system/update'>🔄 Firmware update</a></li>
|
|
<li><a class='' href='/system/restart' >🔁 CanGrow restart</a></li>
|
|
<li><a class='' href='/system/wipe' >💣 Factory reset</a></li>
|
|
</ul>
|
|
<a class='button' href='/system/output/add'>➕ Add output</a>
|
|
<table class='centered'>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
<th>Device</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
<tr>
|
|
<td>0</td>
|
|
<td>LED main</td>
|
|
<td>GPIO</td>
|
|
<td>Light</td>
|
|
<td><a href="#">✏️</a> <a href="#">❌</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>1</td>
|
|
<td>LED red</td>
|
|
<td>GPIO</td>
|
|
<td>Light</td>
|
|
<td><a href="#">✏️</a> <a href="#">❌</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>2</td>
|
|
<td>Fan out</td>
|
|
<td>GPIO</td>
|
|
<td>Fan</td>
|
|
<td><a href="#">✏️</a> <a href="#">❌</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>3</td>
|
|
<td>Fan inside</td>
|
|
<td>GPIO</td>
|
|
<td>Fan</td>
|
|
<td><a href="#">✏️</a> <a href="#">❌</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>4</td>
|
|
<td>Tasmota pump</td>
|
|
<td>URL</td>
|
|
<td>Pump</td>
|
|
<td><a href="#">✏️</a> <a href="#">❌</a> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<p>Add a new output to CanGrow.</p>
|
|
<form method='post' action='/system/output/add'>
|
|
|
|
<u>Type</u>:<br>
|
|
<select name='config.system.httpLogSerial' required>
|
|
<option disabled value='' selected hidden>---</option>
|
|
<option value='1'>GPIO</option>
|
|
<option value='2'>I2C</option>
|
|
<option value='3'>URL</option>
|
|
</select><br>
|
|
|
|
<u>Device</u>:<br>
|
|
<select name='config.system.httpLogSerial' required>
|
|
<option disabled value='' selected hidden>---</option>
|
|
<option value='1'>Light</option>
|
|
<option value='2'>Fan</option>
|
|
<option value='3'>Pump</option>
|
|
<option value='3'>Humidifier</option>
|
|
<option value='3'>Dehumidifier</option>
|
|
<option value='3'>Heating</option>
|
|
</select><br>
|
|
|
|
<u>Name</u>:<br>
|
|
<input type='text' name='esp32camIp' maxlength='16' value='' ><br>
|
|
|
|
<u>Enable</u>:<br>
|
|
<select name='config.system.httpLogSerial' required>
|
|
<option disabled value='' selected hidden>---</option>
|
|
<option value='1'>Yes</option>
|
|
<option value='0'>No</option>
|
|
</select><br>
|
|
|
|
|
|
<div class='outputSel' id='gpio'>
|
|
<u>GPIO</u>:<br>
|
|
<select name='config.system.httpLogSerial' required>
|
|
<option disabled value='' selected hidden>---</option>
|
|
<option value='0'>GPIO 0 !BFL!</option>
|
|
<option value='1'>GPIO 12</option>
|
|
<option value='2'>GPIO 13</option>
|
|
<option value='2'>GPIO 14</option>
|
|
<option value='2'>GPIO 15 !BFH!</option>
|
|
<option value='2'>GPIO 16 !NOPWM!</option>
|
|
</select><br>
|
|
|
|
<u>GPIO PWM</u>:<br>
|
|
<select name='config.system.httpLogSerial' required>
|
|
<option disabled value='' selected hidden>---</option>
|
|
<option value='1'>Enable</option>
|
|
<option value='2'>Disable</option>
|
|
</select><br>
|
|
</div>
|
|
|
|
|
|
<div class='outputSel' id='gpio'>
|
|
<u>I2C</u>:<br>
|
|
<input type='text' name='esp32camIp' maxlength='16' value='' ><br>
|
|
</div>
|
|
|
|
<div class='outputSel' id='gpio'>
|
|
<u>Host</u>:<br>
|
|
<input type='text' name='esp32camIp' maxlength='16' value='' ><br>
|
|
|
|
<u>URI on</u>:<br>
|
|
<input type='text' name='esp32camIp' maxlength='16' value='' ><br>
|
|
|
|
<u>URI off</u>:<br>
|
|
<input type='text' name='esp32camIp' maxlength='16' value='' ><br>
|
|
</div>
|
|
|
|
|
|
<input type='submit' value='💾 Save settings'>
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='footer'><span>Build: d679d89-esp8266-20241024231631</span></div>
|
|
</div></body></html>
|