@christian said in MMM-Hue-Lights - new module for your Philips Hue lights!:
Hi,
I installed the module today with my Deconz gateway (not Hue).
Everything works fine but I´m not able to use my defined groups.
Lights are working great but the Hue bridge uses rooms and not groups, I think thats my problem.
The Deconz gateway uses only lights and groups.The module MMM-Hue works great with the Deconz gateway but it´s basic. The new module looks much better.
Is there a way to fix this problem?Regards,
Christian
Sure - open up the mmm-hue-lights.js
file and go to line 670
.
You’ll see a comment saying for the groups, let's immediately filter out anything that doesn't have a type of 'Room'
and a code block that looks like this:
Object.keys(data.groups).forEach(function(key) {
var itemType = data.groups[key].type.toLowerCase();
if (itemType !== 'room') {
delete data.groups[key];
}
});
If you delete or uncomment that code block, it will no longer filter out anything that isn’t a room.