mvdwetering / service.huecontrol

Kodi addon to control the Philips Hue lights when playing movies
14 stars 5 forks source link

Rework lamp selection #9

Open mvdwetering opened 7 years ago

mvdwetering commented 7 years ago

This is a reminder to myself. Current light selection is based on the light IDs on the API. This is inconvenient because there does not need to be a logical order in the numbers and the grouping of the lights. Also e.g. the official Hue app does not show the numbers anymore so it is hard to get the numbers and if you have more than a few lights (e.g. a whole house) it gets really hard.

So rework the light selections to it shows lights grouped by room, or if there are no rooms sort them alphabetically so it is easier to find the lights.

The challenging part will be to build the UI in Kodi since there seems to be no support for something like this in the settings UI framework so it has to be custom.