Change max min datastream

Hello, I need help with Blynk 2.0 min/max widget management.

The old Blynk 1.0 use the following expression to set widget properties (i.e. widget LEVEL H/V)

Blynk.setProperty(V1, "max", 10); 
Blynk.setProperty(V1, "min", 0); 

In the new one 2.0, directions are to move this limits into the datastream properties. And so I did (V23 min 0 max 10).

I have the change “max value” form the APP, and I did not solved the problem of migrating to the new approach 2.0.

Let’s say that on the APP I have two widgets:

  • STEP widget linked to a VirtualPin V2 that hold the “max days” information. From the APP I can change the “max value” (i.e. from 10 to 15 days)
  • LEVEL H widget linked to a VirtualPin V1 used as a countdown showing the remaining days (I decrease every day 1 unit programmatically), and this works fine. I need to change the “max value” of V1 according to the “STEP” widget V2.

In Blynk 1.0 this task was done easily reading from the VirtualPin V2 of the STEP widget ( i.e. iStepReadVale=param.asInt() ) and I can set “max value” with the following code
Blynk.setProperty(V1, "max", iStepReadVale);

Question: how can programmatically change the datastream min/max limits?

====

I’m on ESP32 (library 6.1.0), communication on wifi
Blynk library: 1.20
Android 13

BR
Guido

It’s always good to do a search before creating a new topic.

This issue is being discussed here…

so I’ve closed this topic.

Pete.