 {
   Serial.begin(115200);
   adc.Init(0x1);
+  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
+    Serial.print("\n\r \n\rConnecting to WiFi.");
+  // Wait for connection
+  while (WiFi.status() != WL_CONNECTED) {
+    delay(100);
+    Serial.print(".");
+  }
+  Serial.println("");
+  Serial.print("Connected to ");
+  Serial.println(WIFI_SSID);
+  Serial.print("IP address: ");
+  Serial.println(WiFi.localIP());
 }
 
 float TempC(const uint8_t channel) {

#include <Math.h>
#include <Wire.h>
#include <prometheus.h>

#define ADC_ADDR 0x37
#define NUM_CHANNELS 4


#define WIFI_SSID           "Embedded Pie"
#define WIFI_PASSWORD       "embedded"


const String channels[NUM_CHANNELS] = {
  "hot_water_out",
  "recirc_return",
  "cold_water_in",
  "ambient",
};

// TODO(z2amiller):  Cut this out into a separate library.
