Hue dimmer with Node-RED

Hi guys,

I been researching how to best programme the hue dimmer to control a zigbee rgb bulb. Seen some cool looking configurations around here for nodered that look like exactly what I’m after.

I’m new to nodered and I’m struggling to get my head around how I can connect the hue dimmer to mqtt. How do I find what topic I need to subscribe to in order to link in actions to the button presses? I’m sure once I get my head around it I’ll be a convert but I’m so confused at the moment. I have been trying to dissect other peoples nodes in order to see how it works but the mqtt bit baffles me!

If you have a Windows machine, then download and install MQTT explorer.

Once installed you connect it to your MQTT broker and then see the events.
It makes MQTT much easier to understand.

Well, it actually looks like it exist to all kind of operating systems. :grinning:

Thanks managed to get that installed. Strangely I don’t see any topics other than zigbee2mqtt. Can’t work it out!

Never tried running the hue dimmmer on MQTT, so no clue there.

Here’s a complete Philips Hue Dimmer in node-red. I warn you, it’s huge. It won’t even let me attach to this post, so I copied the exported code to this google doc:

philips hue node-red code