BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       👉 SKETCH BUILDER

Set min and max value with setProperty function

I don’t think we can set min max value using Blynk.setProperty, we have to do it manually.

Since I got no response from @Dmitriy if it is implemented in Blynk 2.0 or not… has anyone tested it already?

BLYNK_CONNECTED(){
  Blynk.setProperty(V2, "min", 3);
  Blynk.setProperty(V2, "max", 5);
}

I just tested it:

Blynk.setProperty(V2, "min", 1);
Blynk.setProperty(V2, "max", 800);

Property values has changed to:

image

However, no effect in the gauge widget…

@Dmitriy Why the widgtes (min/max) are not following the datastream min/max properties?