   startMills = sentMills = millis();
   Wire.begin(0, 2);
 
-  T2 =  OT = PW = NW =  dustDensity = SquareWaveCount = old_SquareWaveCount = 0 ;
+//T2 =  OT = PW = NW =  dustDensity = SquareWaveCount = old_SquareWaveCount = 0 ;
+  T2 =  OT = PW = NW =  dustDensity = 0 ;
   PIR = HO = HL = moisture = unihost = rsphost = unitot = rsptot = 0;
   msgcallback = false;
 
+/*
   Rtc.Begin();
   Rtc.SetIsRunning(true);
   Rtc.SetSquareWavePin(DS1307SquareWaveOut_1Hz);
+*/
 
   lastReconnectAttempt = 0;
 
+/*
   pinMode(SquareWavePin, INPUT_PULLUP);
   attachInterrupt(SquareWavePin, check_SquareWaveCount, FALLING);
+*/
 
   getResetInfo = "hello from ESP8266 s03 ";
   getResetInfo += ESP.getResetInfo().substring(0, 30);

#include <Wire.h>
#include <PubSubClient.h>
#include "PietteTech_DHT.h"
#include <RtcDS1307.h>

#define REPORT_INTERVAL 5000 // in msec


  for (int i = 0; i < length; i++) {
    receivedpayload += (char)inpayload[i];
  }
  parseMqttMsg(receivedpayload, receivedtopic);
}

