more documentation
This commit is contained in:
parent
ae1df2f647
commit
d8421a9068
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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
BIN
librarymanager.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
BIN
preferences.png
Normal file
BIN
preferences.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 171 KiB |
Loading…
Reference in a new issue