2021-06-23 02:13:48 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2021-07-22 03:42:51 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
2021-06-23 17:01:47 +02:00
|
|
|
<head>
|
|
|
|
<title>ESP8266 Treppenlicht</title>
|
|
|
|
<link href="/favicon.png" rel="icon" type="image/png" sizes="10x10">
|
|
|
|
<link href="/style.css" rel="stylesheet" type="text/css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="topbar">Treppenlicht</div>
|
|
|
|
|
2021-07-22 03:42:51 +02:00
|
|
|
<div class="param_block">
|
|
|
|
<input type="button" class="control" data-action="s_oben" value="sensor_oben">
|
|
|
|
<input type="button" class="control" data-action="s_unten" value="sensor_unten">
|
|
|
|
<input type="button" class="control" data-action="on_off" value="on_off">
|
|
|
|
</div>
|
|
|
|
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="param_block">
|
|
|
|
Active Brightness: <output id="out_act_pwm" class="val_range">50</output> %
|
2021-07-07 16:58:27 +02:00
|
|
|
<div class="slider">
|
2021-07-22 21:49:22 +02:00
|
|
|
<input type="range" class="regler" id="range_act_pwm" data-output="out_act_pwm" min="0" max="100" value="50">
|
2021-07-07 16:58:27 +02:00
|
|
|
</div>
|
2021-06-23 17:01:47 +02:00
|
|
|
</div>
|
2021-06-24 11:34:05 +02:00
|
|
|
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="param_block">
|
2021-07-19 11:54:37 +02:00
|
|
|
Idle Brightness Maximum: <output id="out_idl_pwm" class="val_range">50</output> %
|
|
|
|
<label id="note">[100% == Active Brightness]</label>
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="slider">
|
2021-07-22 21:49:22 +02:00
|
|
|
<input type="range" class="regler" id="range_idl_pwm" data-output="out_idl_pwm" min="0" max="100" value="50">
|
2021-07-07 16:58:27 +02:00
|
|
|
</div>
|
2021-07-19 11:54:37 +02:00
|
|
|
<label id="note">idle brightness gets controlled via LDR measurments</label>
|
2021-06-24 13:41:20 +02:00
|
|
|
</div>
|
2021-06-24 11:34:05 +02:00
|
|
|
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="param_block">
|
2021-07-19 11:54:37 +02:00
|
|
|
Time per stair [ms]: <output id="out_tim_sta" class="val_range">300</output> ms
|
2021-07-07 18:28:05 +02:00
|
|
|
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="slider">
|
2021-07-22 21:49:22 +02:00
|
|
|
<input type="range" class="regler" id="range_tim_sta" data-output="out_tim_sta" min="0" max="5000" value="300">
|
2021-07-05 18:15:57 +02:00
|
|
|
</div>
|
2021-06-24 13:41:20 +02:00
|
|
|
</div>
|
2021-06-24 11:34:05 +02:00
|
|
|
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="param_block">
|
2021-07-19 11:54:37 +02:00
|
|
|
Time LDR [ms]: <output id="out_tim_ldr" class="val_range">500</output> ms
|
2021-07-05 18:15:57 +02:00
|
|
|
<div class="slider">
|
2021-07-22 21:49:22 +02:00
|
|
|
<input type="range" class="regler" id="range_tim_ldr" data-output="out_tim_ldr" min="0" max="5000" value="500">
|
2021-07-07 16:58:27 +02:00
|
|
|
</div>
|
2021-06-24 13:41:20 +02:00
|
|
|
</div>
|
2021-06-23 17:01:47 +02:00
|
|
|
|
2021-07-19 11:54:37 +02:00
|
|
|
<div class="param_block">
|
2021-07-25 17:38:12 +02:00
|
|
|
LDR Schwelle [lx]: <output id="out_ldr_shw" class="val_range">50</output> lx
|
2021-07-19 11:54:37 +02:00
|
|
|
<div class="slider">
|
2021-07-22 21:49:22 +02:00
|
|
|
<input type="range" class="regler" id="range_ldr_shw" data-output="out_ldr_shw" min="0" max="100" value="50">
|
2021-07-19 11:54:37 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-07 17:13:40 +02:00
|
|
|
|
2021-07-07 16:58:27 +02:00
|
|
|
|
2021-07-07 18:28:05 +02:00
|
|
|
<div class="terminal">
|
2021-07-22 03:42:51 +02:00
|
|
|
<input type="button" id="clear_term" value="clear">
|
2021-07-07 18:28:05 +02:00
|
|
|
<input type="checkbox" id="scroll" name="scroll" value="scroll" checked>
|
|
|
|
<label for="scroll"> autoscroll </label>
|
|
|
|
<textarea id="term">waiting for log messages ... </textarea>
|
2021-06-26 10:49:29 +02:00
|
|
|
</div>
|
|
|
|
|
2021-06-23 17:01:47 +02:00
|
|
|
</body>
|
2021-06-23 02:13:48 +02:00
|
|
|
|
2021-07-07 18:28:05 +02:00
|
|
|
<script src="/input.js"></script>
|
2021-06-23 02:13:48 +02:00
|
|
|
|
2021-06-23 17:01:47 +02:00
|
|
|
</html>
|