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 1.9KB

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