SmartHome-yourself / m5-dial-for-esphome

M5 Stack Dial - Custom Component for ESPHome
MIT License
57 stars 8 forks source link

Multiple light modes; how does it work? #26

Closed fusionstream closed 2 months ago

fusionstream commented 2 months ago

In the example configuration, it is possible to enable dimm_mode, rgb_mode, white_mode all at the same time.

How does one change between modes from the dial itself? Is it possible?

danielscheidler commented 2 months ago

Swipe Up/down

fusionstream commented 2 months ago

Awesome. Thank you!

For anyone coming across this, the swipe must occur from either edge of the screen. If it's too close to the middle, it'll just adjust the relevant setting

danielscheidler commented 2 months ago

Incidentally, this applies to both swipes. Both vertically and horizontally. It also goes out of the middle, but the swipe must make up at least 30% of the screen width. Otherwise it will not be considered a swipe, otherwise touch was often recognized as a swipe