more documentation

This commit is contained in:
simonox 2022-12-30 11:18:10 +01:00
parent ae1df2f647
commit d8421a9068
5 changed files with 9 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View file

@ -75,4 +75,11 @@ esphome upload esphome.yaml
Download hier: https://www.arduino.cc/ Download hier: https://www.arduino.cc/
ESP board mangager hinzufügen (Einstellungen -> Board Manager URLs): http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json Um mit den ESP-basierten Boards entwickeln zu können, müssen diese hinzugefügt werden (Einstellungen -> Board Manager URLs): "http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json"
![Einstellungen](preferences.png "board manager URLs")
Um den DHT11 auslesen, benötigen wir zusätzlich noch eine Library (Tools -> Manage Libraries): DHT sensor libarary for ESPx:
![Library Manager](librarymanager.png "library manager")

View file

@ -106,7 +106,7 @@ void loop(){
client.println("<p><b>Soil moisture value:</b> "); client.println("<p><b>Soil moisture value:</b> ");
client.println(soil); client.println(soil);
client.println("</p>"); client.println("</p>");
client.println("<script>window.setTimeout(() => {window.location.href = window.location.href}, 1000)</script>"); client.println("<script>window.setTimeout(() => {window.location.href = window.location.href}, 10000)</script>");
client.println("</body></html>"); client.println("</body></html>");
// The HTTP response ends with another blank line // The HTTP response ends with another blank line

BIN
librarymanager.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
preferences.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB