Closed CMJ111 closed 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?
Same as the minimum setting of slider(not zero) but if that's the way its supposed to work then I misunderstood.
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?
@CMJ111 looks like a bug. Thanks for the detailed info. We'll check.
@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.
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.
@CMJ111 did you change the min/max values of the Data Stream after you created it?
No not initially
@CMJ111 You have slider widget set for V16 pin DS and and settings you provided on the screen is V15
Sent wrong SS, sorry about that.
Ok. So closing for now. Fill free to reopen if you able to reproduce.
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.