History Graph shown no data

History Graph shown no data after passed run about 10 minute.
My Hard Ware:
ESP8266 V2.0 + DHT22.
On yesterday this my project are good working shown line of temp and hum.
After I try Export to CSV and Erase Data. This project can’t shown graph of Temp+Humidity,But the value temp+humidity shown on Gauge shown normally.
Please help advise me.
Thank you for help.

Hello. Please carefully read doc - http://docs.blynk.cc/#widgets-displays-history-graph

Hi Dmitriy, Thank you very much for your support.
I try get pin data via HTTP API. by command below:
http://blynk-cloud.com/b58ab7b35bf64eec99a58a71f1463dbc/data/V2

We found the respond.

My code:

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>

#define DHTPIN 12
#define DHTTYPE DHT22

DHT_Unified dht(DHTPIN, DHTTYPE);

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “b58ab7b35bf64eec99a58a71f1463dbc”;

SimpleTimer timer;

// Your WiFi credentials.
// Set password to “” for open networks.
char ssid[] = “MooMoo”;
char pass[] = “ploypleng11”;

unsigned char status;
void setup()
{
Serial.begin(9600);
pinMode(16,OUTPUT); //D0
pinMode(14,OUTPUT); //D5
Blynk.begin(auth, ssid, pass);

dht.begin();

// Setup a function to be called every second
timer.setInterval(5000L, sendUptime);
status=false;
}

void sendUptime()
{
Blynk.virtualWrite(V5, millis() / 1000);
sensors_event_t event;
dht.temperature().getEvent(&event);

// V1 ที่ set ใน app อ่านค่าอุณหภูมิ
if (!isnan(event.temperature)) {
Blynk.virtualWrite(V1, event.temperature);
}
// V2 ที่ set ใน app อ่านค่าความชื้น
dht.humidity().getEvent(&event);
if (!isnan(event.relative_humidity)) {
Blynk.virtualWrite(V2, event.relative_humidity);
}

if(status==false){

  Blynk.virtualWrite(V0,0);
  Serial.println("status 0");
  status=true;

}else {

    Blynk.virtualWrite(V0,255);
    Serial.println("status 1");        
    status=false;
}

}

void loop()
{
Blynk.run();
timer.run();
}

Please advise next action for solve this issue.

This error could be because of “no data” for pin. What you see when you do get http request for V2?

I saw something blink below.

I had the same problem.
“History Graph shown no data after passed run about 10 minute.
My Hard Ware:
ESP8266 V2.0 + DHT22.”

Please help me how to fix it?
Thank you for help.

K. Anusit ถ้าพบวิธีแก้ไขช่วยแจ้งด้วยครับ หรือว่ามันไม่สามารถเรียกกลับคืนมาได้หรือบันทึกสร้างขึ้นใหม่ได้ตลอดกาลตามที่เจ้าของเว๊ปแจ้ง ขอบคุณล่วงหน้าครับที่แบ่งปั้นข้อมูล.:slight_smile:

รับทราบครับ พี่ Sakchai. ผมพยายามแก้มา หลายชั่วโมงแล้ว ยังไม่ได้เลยครับ ทดลองเปลี่ยน user name ก็ไม่หาย ขึ้น no data เหมือนเดิม

1 Like

Now available,…
I solve by with changed the new virtualWrite and set time interval 1 sec. for send data
But i don’t understand for why value of x axis (time) is display 1477813080000

please advise me.? (I’m sory for my english maybe do you confuse)

I don’t see this value, please provide screenshot.

I send data to my e-mail and open it.

That is the time in epoch form. Enter 1477813080000 at http://www.epochconverter.com/ and it gives you:

Sun, 30 Oct 2016 07:38:00 GMT

You can write formulas in Excel to do the conversion for you.

1 Like

Ok , i see
Thank you very much for the help and share information.

P’ Sakchai ,Thank you for your advise the solve this issue.

1 Like