 
 bool connect_and_get(WiFiClient &client, const char *path) {
   if (client.connect(host, 80)) {
-    client.print(String("GET /api/") + key + "/" + path + "/q/" + station
+    client.print(String("GET /api/") + cfg.key + "/" + path + "/q/" + cfg.station
                  + ".json HTTP/1.1\r\n"
                  + "Host: " + host + "\r\n"
                  + "Connection: close\r\n"

    update_display(screen);
  }
  
  if (now - last_fetch_conditions > conditions_interval) {
#ifdef DEBUG
    out.println(F("Updating conditions..."));
#endif


static void display_time(time_t &epoch) {
  char buf[32];
  strftime(buf, sizeof(buf), cfg.metric? "%H:%S": "%I:%S%p", localtime(&epoch));
  tft.setCursor(centre_text(buf, tft.width()/2, 1), 109);
  tft.print(buf);
  strftime(buf, sizeof(buf), "%a %d", localtime(&epoch));
