honk79
honk79
I tried it and placed it as the firts command in the loop(), but still the same problem.
yes, actually it is a very short loop. ``` void loop() { Ethernet.maintain(); if (!client.connected()) { mqttReconnect(); } if (millis() - timeSensorLastUpdate >= timeSensorInterval) { timeSensorLastUpdate += timeSensorInterval; pir.readStatus(); Serial.print("HardwareStatus:...
yes, the rest is running. when the mqtt-client tries to connect everything has to wait round about 5 seconds, and the sensor is reading. the link-status is still "1".