 
 WiFiClient wclient;
 PubSubClient client(wclient, server);
+
+/////////////////////////////////////////////////////////////////////////////
+// temperature sensor stuff /////////////////////////////////////////////////
+OneWire ds(2); // DS1820 on pin 2 (a 4.7K resistor is necessary)
+DallasTemperature tempSensor(&ds);  // pass through reference to library
+float waterCelsius;
+boolean GOT_TEMP_SENSOR = false; // we'll change later if we detect sensor
+DeviceAddress tempAddr; // array to hold device address
 
 void setup()
 {

    Serial.println("WiFi connected");
    Serial.println(WiFi.localIP());
  }

  if (client.connect("arduinoClient")) {
    client.publish("outTopic","hello world!!");
    client.subscribe("inTopic");
  }
}

void loop()
{
  client.loop();
}



#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <OneWire.h>
#include <DallasTemperature.h>

const char *ssid =	"UnionSt Coworking 4G1";		// cannot be longer than 32 characters!
const char *pass =	"welcometounionst4g1";		//
