This commit is contained in:
parent
a72adc471c
commit
b021ea29e8
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,9 @@ void setup() {
|
||||||
|
|
||||||
Homie.setup();
|
Homie.setup();
|
||||||
ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);
|
ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);
|
||||||
|
ArduinoOTA.onStart([]() {
|
||||||
|
Homie.getLogger() << "Arduino OTA angefragt" << endl;
|
||||||
|
});
|
||||||
ArduinoOTA.begin();
|
ArduinoOTA.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue