Reports widget only get data ones a minute and not every second

Hello ,

I have a simple test sketch what send every second a value between 0 - 100 to V(0)
i use reports widget on the android phone.
so i have one data streem virtual pin V(0)
On the phone i have a value display what shows the new value every second ,
so the server received the info right.
when it sends the report it seems the granularity is only ones a minute.
Why is the resolution not in seconds ?

Thanks , Christiaan

attached arduino one code with esp8266 and exel results

Excel results

2019-01-17 21:45:00,Druk (bar),2.2
2019-01-17 21:46:00,Druk (bar),6.6
2019-01-17 21:47:00,Druk (bar),3.4
2019-01-17 21:48:00,Druk (bar),5.4
2019-01-17 21:49:00,Druk (bar),5.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~

sketch
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

char auth[] = "***";
char ssid[] = "***";
char pass[] = "***;

float druk = 0;

#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
#define ESP8266_BAUD 9600


ESP8266 wifi(&EspSerial);
BlynkTimer timer;

void senddruk()
{
  druk++;
  if (druk > 99) druk = 0; 
  Blynk.virtualWrite(V0, druk/10); 
}
 
void setup()
{
  EspSerial.begin(ESP8266_BAUD);
  delay(1000);

  Blynk.begin(auth, wifi, ssid, pass);
  timer.setInterval(1000L, senddruk); 
}

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

http://docs.blynk.cc/#widgets-displays-superchart

“ Superchart supports currently 2 types of granularity:

  • Minute granularity - 1h , 6h , 1d ;
  • Hour granularity - 1w , 1m , 3m ;

This means that minimum chart update interval is 1 minute for 1h , 6h , 1d periods. 1 hour for 1w , 1m and 3m periods. As Blynk Cloud is free to use we have a limit on how many data you can store. At the moment Blynk Cloud accepts 1 message per minute per pin. In case you send your data more frequently your values will be averaged. For example, in case you send value 10 at 12:12:05 and than again 12 at 12:12:45 as result in chart you’ll see value 11 for 12:12.”

Pete.

Thanks Pete for your answher,

I saw in the discription that when you choose 1 minute granularity it saves 24 * 60 * 60 results in a day
but this is then only on a local server not on the blynk cloud server as i understood.

I need a saving time for every 10 seconds (ones a second is not nessesary) Is there a change that you improve Blynk cloud server to 10 seconds granularity :slight_smile:

m.v.g
Christiaan

That’s a question for the local server boys. Maybe @Gunner?

Pete.

I recall references to using a RAW data setting in Local Server for finer granularity, but not sure if that is applicable for the new Reports Widget or only the SuperChart CSV option. I don’t use either, so @ArduinoFan would have to search the forum for more details.

1 Like