Compare commits

...

2 commits

Author SHA1 Message Date
starcalc
b021ea29e8 OTA petzen
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-07 22:49:51 +02:00
starcalc
a72adc471c Don't leak 2022-06-07 22:49:41 +02:00
2 changed files with 4 additions and 1 deletions

View file

@ -25,5 +25,5 @@ lib_deps =
https://github.com/adafruit/DHT-sensor-library
https://github.com/adafruit/Adafruit_Sensor
upload_protocol = espota
upload_port = HOSTNAME # 172.23.23.12 # volumeknob3
upload_port = HOSTNAME
upload_flags = --host_port=54321

View file

@ -97,6 +97,9 @@ void setup() {
Homie.setup();
ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);
ArduinoOTA.onStart([]() {
Homie.getLogger() << "Arduino OTA angefragt" << endl;
});
ArduinoOTA.begin();
}