|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <!DOCTYPE html>
- <html>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <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>
- <div class="topbar">Treppenlicht</div>
-
- <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>
-
- <div class="param_block">
- Active Brightness: <output id="out_act_pwm" class="val_range">50</output> %
- <div class="slider">
- <input type="range" class="regler" id="range_act_pwm" data-output="out_act_pwm" min="0" max="100" value="50">
- </div>
- </div>
-
- <div class="param_block">
- Idle Brightness Maximum: <output id="out_idl_pwm" class="val_range">50</output> %
- <label id="note">[100% == Active Brightness]</label>
- <div class="slider">
- <input type="range" class="regler" id="range_idl_pwm" data-output="out_idl_pwm" min="0" max="100" value="50">
- </div>
- <label id="note">idle brightness gets controlled via LDR measurments</label>
- </div>
-
- <div class="param_block">
- Time per stair [ms]: <output id="out_tim_sta" class="val_range">300</output> ms
-
- <div class="slider">
- <input type="range" class="regler" id="range_tim_sta" data-output="out_tim_sta" min="0" max="5000" value="300">
- </div>
- </div>
-
- <div class="param_block">
- Time LDR [ms]: <output id="out_tim_ldr" class="val_range">500</output> ms
- <div class="slider">
- <input type="range" class="regler" id="range_tim_ldr" data-output="out_tim_ldr" min="0" max="5000" value="500">
- </div>
- </div>
-
- <div class="param_block">
- LDR Schwelle [%]: <output id="out_ldr_shw" class="val_range">50</output> %
- <div class="slider">
- <input type="range" class="regler" id="range_ldr_shw" data-output="out_ldr_shw" min="0" max="100" value="50">
- </div>
- </div>
-
-
- <div class="terminal">
- <input type="button" id="clear_term" value="clear">
- <input type="checkbox" id="scroll" name="scroll" value="scroll" checked>
- <label for="scroll"> autoscroll </label>
- <textarea id="term">waiting for log messages ... </textarea>
- </div>
-
- </body>
-
- <script src="/input.js"></script>
-
- </html>
|