|
|
@@ -70,7 +70,7 @@ void setup() { |
|
|
|
|
|
|
|
// start the Ethernet connection and the server: |
|
|
|
server.begin(); |
|
|
|
Serial.println("server is at "); |
|
|
|
Serial.print("server is at "); |
|
|
|
Serial.println(Ethernet.localIP()); |
|
|
|
|
|
|
|
if (!bme.begin()) { |
|
|
@@ -81,6 +81,8 @@ void setup() { |
|
|
|
|
|
|
|
//DNS Client starten |
|
|
|
dnClient.begin(Ethernet.dnsServerIP()); |
|
|
|
Serial.print("server is at "); |
|
|
|
Serial.println(Ethernet.dnsServerIP()); |
|
|
|
|
|
|
|
if (dnClient.getHostByName(MQTT_BROKER, mqttbroker) == 1) { |
|
|
|
Serial.print(F("loxberry = ")); |
|
|
|