Open mreeves1 opened 7 years ago
That's (unfortunately) working as designed, see here:
https://github.com/blitzcode/hue-dashboard#groups
Basically, Hue had no idea of rooms etc. when I originally wrote this software and I simply implemented the most basic thing that worked for me, grouping on prefix. We had the prefixes anyway since HomeKit, Alexa etc. wants pronounceable and unique names for bulbs. So you can't call two bulbs 'Table', so we simply had 'Kitchen Table' etc.
I realize this might not work for everybody's setup. I'm thinking I could either actually respect the rooms from the Hue API or maybe have my own scheme where you can just pick bubs like in the scene creation dialog.
It's always a good idea to learn Haskell ;-) If you're interested, the grouping is done here:
https://github.com/blitzcode/hue-dashboard/blob/master/App.hs#L51
(Also note the TODOs)
OK, thanks. I will try to take a look when I get a moment.
I'm thinking it would be nice to have a command line option to select between the prefix grouping and pulling the Hue rooms, might be a while till I get around to implementing that, though
Here is a dump of my groups and lights via the Clip API debugger shown below:
The specific issue I have is the Iris and the GE Link Flood are both in the living room group but appear in "weird" groups not returned in the Group API call. You can see lights 6 and 10 should be in the living room group.
I don't know haskell at all but maybe now is a good time to learn 📚 so if I get a chance I'll investigate. Just wanted to let you know.
Groups:
Lights: