-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groups are odd on my v1 Hub #3
Comments
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:
The text was updated successfully, but these errors were encountered: