ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html>
  3. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  4. <head>
  5. <title>ESP8266 Treppenlicht</title>
  6. <link href="/favicon.png" rel="icon" type="image/png" sizes="10x10">
  7. <link href="/style.css" rel="stylesheet" type="text/css">
  8. </head>
  9. <body>
  10. <div class="topbar">Treppenlicht</div>
  11. <div class="param_block">
  12. Active Brightness: <output id="out_act_pwm" class="val_range">50</output> %
  13. <div class="slider">
  14. <input type="range" class="regler" id="range_act_pwm" min="0" max="100" value="50">
  15. </div>
  16. </div>
  17. <div class="param_block">
  18. Idle Brightness Maximum: <output id="out_idl_pwm" class="val_range">50</output> %
  19. <label id="note">[100% == Active Brightness]</label>
  20. <div class="slider">
  21. <input type="range" class="regler" id="range_idl_pwm" min="0" max="100" value="50">
  22. </div>
  23. <label id="note">idle brightness gets controlled via LDR measurments</label>
  24. </div>
  25. <div class="param_block">
  26. Time per stair [ms]: <output id="out_tim_sta" class="val_range">300</output> ms
  27. <div class="slider">
  28. <input type="range" class="regler" id="range_tim_sta" min="0" max="5000" value="300">
  29. </div>
  30. </div>
  31. <div class="param_block">
  32. Time LDR [ms]: <output id="out_tim_ldr" class="val_range">500</output> ms
  33. <div class="slider">
  34. <input type="range" class="regler" id="range_tim_ldr" min="0" max="5000" value="500">
  35. </div>
  36. </div>
  37. <div class="param_block">
  38. LDR Schwelle [%]: <output id="out_ldr_shw" class="val_range">50</output> %
  39. <div class="slider">
  40. <input type="range" class="regler" id="range_ldr_shw" min="0" max="100" value="50">
  41. </div>
  42. </div>
  43. <div class="terminal">
  44. <input type="button" id="clear_term" value="clear" onclick="clearTerminal();">
  45. <input type="checkbox" id="scroll" name="scroll" value="scroll" checked>
  46. <label for="scroll"> autoscroll </label>
  47. <textarea id="term">waiting for log messages ...&#10;</textarea>
  48. </div>
  49. </body>
  50. <script src="/input.js"></script>
  51. </html>