added template

This commit is contained in:
2021-06-10 18:47:55 +02:00
parent e788da384f
commit 86c4a1bb48
4 changed files with 23 additions and 6 deletions
+4 -6
View File
@@ -110,14 +110,12 @@ void setup() {
ESP.restart();
}
// Port defaults to 8266
// ArduinoOTA.setPort(8266);
// Hostname defaults to esp8266-[ChipID]
ArduinoOTA.setHostname("myesp8266");
// setup OTA
ArduinoOTA.setPort(8266);
ArduinoOTA.setHostname("ESP_Treppenlicht");
// No authentication by default
// ArduinoOTA.setPassword("admin");
ArduinoOTA.setPassword("admin");
// Password can be set with it's md5 value as well
// MD5(admin) = 21232f297a57a5a743894a0e4a801fc3