Compare commits
2 Commits
453076a1ab
...
b021ea29e8
Author | SHA1 | Date |
---|---|---|
starcalc | b021ea29e8 | |
starcalc | a72adc471c |
|
@ -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
|
||||
|
|
|
@ -97,6 +97,9 @@ void setup() {
|
|||
|
||||
Homie.setup();
|
||||
ArduinoOTA.setHostname(Homie.getConfiguration().deviceId);
|
||||
ArduinoOTA.onStart([]() {
|
||||
Homie.getLogger() << "Arduino OTA angefragt" << endl;
|
||||
});
|
||||
ArduinoOTA.begin();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue