 
 //---------------
 
+
+
+
+

#include <pgmspace.h>
#include <Wire.h>
//#include <RtcDS3231.h>
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <LiquidCrystal_I2C.h>
#include <ArduinoJson.h>
#include <WiFiUdp.h>
#include <Time.h>

#define REPORT_INTERVAL 3000 // in msec


    Serial.println(ESP.getFreeHeap());
  }

  char json[] = "{\"VIrms\":595,\"revValue\":718.56,\"revMills\":8350,\"powerAvg\":656.78,\"Stddev\":66.70,\"calcIrmsmillis\":153,\"revCounts\":126,\"FreeHeap\":46336,\"RSSI\":-61,\"millis\":1076571}";
  //char json[] = "{\"Humidity\":41.90,\"Temperature\":25.90,\"DS18B20\":26.25,\"SENSORTEMP\":29.31,\"PIRSTATUS\":0,\"FreeHeap\":40608,\"RSSI\":-47,\"millis\":3831709269}";

  receivedpayload.toCharArray(json, 300);
  StaticJsonBuffer<300> jsonBuffer;
