blynkkk / blynk_Issues

6 stars 6 forks source link

Web Dashboard slider glitch #213

Closed CMJ111 closed 2 years ago

CMJ111 commented 2 years ago

Web dashboard slider on Windows10, Chrome Browser

When slider is left at minimum range value a value of zero is sent. If the slider is moved above min val it works properly.

doom369 commented 2 years ago

When slider is left at minimum range value a value of zero is sent.

Why is that a bug? What is your minimum setting for the datastream?

CMJ111 commented 2 years ago

Same as the minimum setting of slider(not zero) but if that's the way its supposed to work then I misunderstood.

CMJ111 commented 2 years ago

To be specific DataStream range is set from 150 - 300. Slider range is set to 150 - 300. When slider is at 150 it sends a value of 0 when it is set to 151 or above it sends that value. The slider isn't ranging anything so why would it ever send a zero if you do not have a minimum value of zero set?

doom369 commented 2 years ago

@CMJ111 looks like a bug. Thanks for the detailed info. We'll check.

doom369 commented 2 years ago

@CMJ111 what data stream type do you have? Are you sure you print the value that slider sends (in other words - where exactly do you check that slider send 0)? I just checked the code 0 can't be send if DS.min is 150. Server adjust the values to min/max. We'll try to reproduce of course. But quick look says that's not possible.

CMJ111 commented 2 years ago

Virtual Pin, Integer, no default value set and no exposure to automation. Now the values sent are correct but I am not sure what changed it. Before posting I did re-launch browser and mobile app with no change. The only thing I did after my post was to edit one of the data streams and widget's max value for an unrelated reason. Now when I test it all is well. I double checked my serial monitor and it was definitely happening but like I said I cannot re-produce right now.

doom369 commented 2 years ago

@CMJ111 did you change the min/max values of the Data Stream after you created it?

CMJ111 commented 2 years ago

No not initially

CMJ111 commented 2 years ago

image image

DmytroTool commented 2 years ago

@CMJ111 You have slider widget set for V16 pin DS and and settings you provided on the screen is V15

CMJ111 commented 2 years ago

image Sent wrong SS, sorry about that.

doom369 commented 2 years ago

Ok. So closing for now. Fill free to reopen if you able to reproduce.