 byte server[] = {192, 168, 1, 5};         //MQTT Server Address
 MQTT mqttClient(server, 1883, callback);
 // Define Variables
-retained float _lastTempC;
-retained float _lastHumidity;
 unsigned short int _qos2messageid = 0;
 long _sleepTime = 60; // 1 minute
 long _ms = 0;

void callback(char *topic, byte *payload, unsigned int length);

// System setting
STARTUP(System.enableFeature(FEATURE_RETAINED_MEMORY));
SerialLogHandler logHandler(LOG_LEVEL_ALL);

// Specify data and clock connections

    mqttClient.publish("herbgarden/battery/voltage/min", "0.00");
    mqttClient.publish("herbgarden/battery/voltage/max", "");

    mqttClient.publish("herbgarden/battery/charge/value", String::format("%.4f", batteryMonitor.getSoC()));
    mqttClient.publish("herbgarden/battery/charge/tag", "XI-0001");
    mqttClient.publish("herbgarden/battery/charge/eu", "%");
    mqttClient.publish("herbgarden/battery/charge/min", "0.00");
    mqttClient.publish("herbgarden/battery/charge/max", "100.00");

  }

  // Check for a update
