Page 1 of 1

Slider 'Steps' Stuck to 1 in the App

Posted: Tue Apr 11, 2023 12:08 am
by hasan_
I am not sure if this is a bug or not, but when I try to use the Fan device with Slider UI to have 'steps' other than the default 1, it does not change the steps. The steps remain 1 at all times.

For example, if I make I change value(1) to value(10) in steps:

Code: Select all

  Param level_param("Angle", "custom.param.level", value(0), PROP_FLAG_READ | PROP_FLAG_WRITE);
  level_param.addBounds(value(0), value(90), value(10));
  level_param.addUIType(ESP_RMAKER_UI_SLIDER);
..I expect the slider to have 10 discrete selectable positions, or snap to 0, 10, 20,.. 90. BUT it doesn't change anything, I can still slide it to any number.

Can someone please check.
Thanks

Re: Slider 'Steps' Stuck to 1 in the App

Posted: Tue Apr 11, 2023 10:20 am
by ESP_Piyush
As of now, only the RainMaker iOS app supports steps but the Android app does not. We will work on adding the support asap and bringing the apps in sync.