diff --git a/Weatherdisplay_Nokia_5110/mqtt_callback.ino b/Weatherdisplay_Nokia_5110/mqtt_callback.ino index 37cdea6..0854dd3 100644 --- a/Weatherdisplay_Nokia_5110/mqtt_callback.ino +++ b/Weatherdisplay_Nokia_5110/mqtt_callback.ino @@ -32,7 +32,10 @@ void reconnect() while (!client.connected()) { if (client.connect("WetterDisplay", mqtt_user, mqtt_pass)) + { client.subscribe("wetter_display/set"); + updatedisplay(); + } else { display_error("MQTT Error");