Slider 'Steps' Stuck to 1 in the App

hasan_
Posts: 20
Joined: Wed Apr 05, 2023 9:03 am

Slider 'Steps' Stuck to 1 in the App

Postby hasan_ » Tue Apr 11, 2023 12:08 am

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

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

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

Postby ESP_Piyush » Tue Apr 11, 2023 10:20 am

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.

Who is online

Users browsing this forum: No registered users and 73 guests