2019-11-27 22:28:13 +01:00
|
|
|
<!DOCTYPE html>
|
2020-12-23 21:43:30 +01:00
|
|
|
<html lang="en">
|
2019-11-27 22:28:13 +01:00
|
|
|
<head>
|
2020-06-10 12:45:44 +02:00
|
|
|
<meta charset="utf-8">
|
2019-11-27 22:28:13 +01:00
|
|
|
<meta name="viewport" content="width=500">
|
|
|
|
<title>WiFi Settings</title>
|
|
|
|
<script>
|
|
|
|
function H()
|
|
|
|
{
|
|
|
|
window.open("https://github.com/Aircoookie/WLED/wiki/Settings#wifi-settings");
|
|
|
|
}
|
|
|
|
function B()
|
|
|
|
{
|
|
|
|
window.open("/settings","_self");
|
|
|
|
}
|
|
|
|
function GetV()
|
|
|
|
{
|
|
|
|
//values injected by server while sending HTML
|
|
|
|
}
|
|
|
|
</script>
|
2021-12-06 20:53:09 +01:00
|
|
|
<style>@import url("style.css");</style>
|
2019-11-27 22:28:13 +01:00
|
|
|
</head>
|
|
|
|
<body onload="GetV()">
|
|
|
|
<form id="form_s" name="Sf" method="post">
|
2021-03-05 09:50:59 +01:00
|
|
|
<div class="toprow">
|
2019-11-27 22:28:13 +01:00
|
|
|
<div class="helpB"><button type="button" onclick="H()">?</button></div>
|
2020-06-10 12:45:44 +02:00
|
|
|
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button><hr>
|
2021-03-05 09:50:59 +01:00
|
|
|
</div>
|
2019-11-27 22:28:13 +01:00
|
|
|
<h2>WiFi setup</h2>
|
|
|
|
<h3>Connect to existing network</h3>
|
|
|
|
Network name (SSID, empty to not connect): <br><input name="CS" maxlength="32"><br>
|
|
|
|
Network password: <br> <input type="password" name="CP" maxlength="63"><br>
|
|
|
|
Static IP (leave at 0.0.0.0 for DHCP):<br>
|
2021-07-01 00:01:27 +02:00
|
|
|
<input name="I0" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="I1" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="I2" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="I3" type="number" class="s" min="0" max="255" required><br>
|
2019-11-27 22:28:13 +01:00
|
|
|
Static gateway:<br>
|
2021-07-01 00:01:27 +02:00
|
|
|
<input name="G0" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="G1" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="G2" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="G3" type="number" class="s" min="0" max="255" required><br>
|
2019-11-27 22:28:13 +01:00
|
|
|
Static subnet mask:<br>
|
2021-07-01 00:01:27 +02:00
|
|
|
<input name="S0" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="S1" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="S2" type="number" class="s" min="0" max="255" required> .
|
|
|
|
<input name="S3" type="number" class="s" min="0" max="255" required><br>
|
2019-11-27 22:28:13 +01:00
|
|
|
mDNS address (leave empty for no mDNS):<br/>
|
|
|
|
http:// <input name="CM" maxlength="32"> .local<br>
|
|
|
|
Client IP: <span class="sip"> Not connected </span> <br>
|
|
|
|
<h3>Configure Access Point</h3>
|
|
|
|
AP SSID (leave empty for no AP):<br> <input name="AS" maxlength="32"><br>
|
|
|
|
Hide AP name: <input type="checkbox" name="AH"><br>
|
2020-12-19 17:09:39 +01:00
|
|
|
AP password (leave empty for open):<br> <input type="password" name="AP" maxlength="63" pattern="(.{8,63})|()" title="Empty or min. 8 characters"><br>
|
2021-07-01 00:01:27 +02:00
|
|
|
Access Point WiFi channel: <input name="AC" type="number" class="xs" min="1" max="13" required><br>
|
2021-06-20 15:13:38 +02:00
|
|
|
AP opens:
|
|
|
|
<select name="AB">
|
|
|
|
<option value="0">No connection after boot</option>
|
|
|
|
<option value="1">Disconnected</option>
|
|
|
|
<option value="2">Always</option>
|
|
|
|
<option value="3">Never (not recommended)</option></select><br>
|
2020-06-10 12:45:44 +02:00
|
|
|
AP IP: <span class="sip"> Not active </span><br>
|
2020-05-17 21:39:57 +02:00
|
|
|
<h3>Experimental</h3>
|
|
|
|
Disable WiFi sleep: <input type="checkbox" name="WS"><br>
|
|
|
|
<i>Can help with connectivity issues.<br>
|
2021-06-20 15:13:38 +02:00
|
|
|
Do not enable if WiFi is working correctly, increases power consumption.</i>
|
|
|
|
<div id="ethd">
|
2021-01-15 10:37:45 +01:00
|
|
|
<h3>Ethernet Type</h3>
|
|
|
|
<select name="ETH">
|
2021-06-20 15:13:38 +02:00
|
|
|
<option value="0">None</option>
|
|
|
|
<option value="2">ESP32-POE</option>
|
|
|
|
<option value="6">ESP32Deux</option>
|
|
|
|
<option value="4">QuinLED-ESP32</option>
|
|
|
|
<option value="5">TwilightLord-ESP32</option>
|
|
|
|
<option value="3">WESP32</option>
|
|
|
|
<option value="1">WT32-ETH01</option>
|
|
|
|
</select><br><br>
|
|
|
|
</div>
|
2020-05-17 21:39:57 +02:00
|
|
|
<hr>
|
2020-06-10 12:45:44 +02:00
|
|
|
<button type="button" onclick="B()">Back</button><button type="submit">Save & Connect</button>
|
2019-11-27 22:28:13 +01:00
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|