Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Dashboard slider glitch #213

Closed
CMJ111 opened this issue Aug 25, 2021 · 12 comments
Closed

Web Dashboard slider glitch #213

CMJ111 opened this issue Aug 25, 2021 · 12 comments
Assignees
Labels
bug Something isn't working web

Comments

@CMJ111
Copy link

CMJ111 commented Aug 25, 2021

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
Copy link
Collaborator

doom369 commented Aug 25, 2021

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
Copy link
Author

CMJ111 commented Aug 25, 2021

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

@CMJ111
Copy link
Author

CMJ111 commented Aug 25, 2021

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
Copy link
Collaborator

doom369 commented Aug 25, 2021

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

@doom369 doom369 self-assigned this Aug 25, 2021
@doom369 doom369 added bug Something isn't working web labels Aug 25, 2021
@doom369
Copy link
Collaborator

doom369 commented Aug 25, 2021

@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
Copy link
Author

CMJ111 commented Aug 25, 2021

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
Copy link
Collaborator

doom369 commented Aug 25, 2021

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

@CMJ111
Copy link
Author

CMJ111 commented Aug 25, 2021

No not initially

@CMJ111
Copy link
Author

CMJ111 commented Aug 25, 2021

image
image

@DmytroTool
Copy link

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

@CMJ111
Copy link
Author

CMJ111 commented Aug 25, 2021

image
Sent wrong SS, sorry about that.

@doom369
Copy link
Collaborator

doom369 commented Aug 26, 2021

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

@doom369 doom369 closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web
Projects
None yet
Development

No branches or pull requests

3 participants