merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
364 stars 62 forks source link

Feature Request: Multiple states #561

Closed Willian-Zhang closed 5 months ago

Willian-Zhang commented 5 months ago

Describe the idea or improvement turns this (3 modes: manual, auto, sleep)

image

into something more like this

image

or this image

Describe the solution you'd like Merge states with same key into multiple state UI multiple choice or a big switch that supports multiple state (I'm not sure what those kind of UI would be, but I have saw them on different native HomeKit devices)

Additional context

merdok commented 5 months ago

Hi,

unfortunately this is not possible that easy. I have already investigated that possibilities.

For the first screenshoot I would need to make the accessory a TV which does not really makes sense that for example a fan will be displayed as a TV. For the second screenshot it is not possible to rename the buttons which would also be confusing as you do not know which mode is actually selected.

As far as I know there is currently no better way to display multiple states as simply with multiple switches...

Willian-Zhang commented 5 months ago

how about an option to make them like this:

image
merdok commented 5 months ago

There is also no way to change the labels or even the amount of displayed options! As you see unfortunately the home app is currently quite the limiting factor for a much better UX😅 We can only hope that Apple will improve that in future...

hejsiri commented 5 months ago

@merdok Cześć. Jak mogę się z Tobą skontaktować? Robię taki fajny projekt z Shelly API cloud i do niego potrzebuje przerobić plugin który już jest na gicie. www.teslagarage.app. Chce to po prostu dodać do HK przez HB.

merdok commented 5 months ago

@hejsiri discord albo x

hejsiri commented 5 months ago

@hejsiri discord albo x

Na X nie można wysłać do Ciebie wiadomość. FB lub @ ?

lub odezwij siÄ™ na X, uzytkownik @paweltucki