Confirmed - Pin Data is now logged while attached to Superchart trend

Hi,

I have a Pin storing a cumulative kwhr reading, and a SyncVirtual on reboot to retrieve the last value. I noticed it got reset to 0 today and it’s likely my code [EDIT: Found the gap], but when I went to extract the data via the API (to restore the history) it said “No Data”

Write Command
Blynk.virtualWrite(V79, String(CalculatedImmersionkWhrConsumption,6));

The SuperChart also showed no data but now it appears to be starting to store history and the API has the couple of values in it. I have other PINs doing the same, but I think they all have trends associated.

So does logging only get enabled for Trended Pins?

Thanks,
omegab

Hello. Since the recent update Blynk server stores history only for pins that are assigned to the SuperChart. So history is collected only after you add the SuperChart for corresponding pin. If you remove superchart data will be removed too within few days.

Hi @Dmitriy, I can see how that would make sense from a performance / storage perspective.

To confirm:

  1. Without logging the current PIN value is preserved indefinitely?
  2. And say a device was offline for a couple of days (and the SuperChart is still in place) the history will be maintained?
  3. And also if the project was accidentally stopped for a few days?
  1. For half a year. Inactivate accounts are removed also;
  2. If SuperChart is present data is there too;
  3. Same as 2.
1 Like

Hi @Dmitriy, after what period of time does a SuperChart consider a pin to have missing values due to a lack of update?

Not sure what do you mean. We don’t have such limitation.

The SuperChart shows data as missing (visual gaps) if you don’t send a PIN update for a period of time. Thinking about it now, I guess it’s per minute based on how the data is logged?

It depends on the resolution and period you’re viewing. For example, a day range in high resolution plots 1440 points (that is 1 per minute, therefore missing points for 1 minute would break a line).

1 Like

Resolution also depends on the selected period. For example, standard resolution for 1d means you’ll get 24 points per day (1 per hour), with high resolution you’ll get for 1d 1440 points per day (1 per minute).

And

At the moment Blynk Cloud accepts 1 message per minute per pin. In case you send your data more frequently your will values be averaged.