Hue NFC Command Builder
Pick lights or rooms, choose what should happen, preview it, and copy the request into MacroDroid or Tasker for your NFC tag.
1 Your bridge
No username yet?
- Open
http://<bridge-ip>/debug/clip.htmlin a browser on your home Wi-Fi. - URL
/api, body{"devicetype":"nfc_tags#phone"}. - Press the round button on the bridge, then POST within 30 seconds.
- The response contains
"username": "…": that's your key. Keep it private; anyone on your network with it can control your lights.
…or paste the JSON you got from the CLIP debugger
Paste the response of /api/<username>/lights, /groups, or the full /api/<username>. You can paste lights and groups one after the other: they get merged.
2 What should the tag control?
Load or paste your bridge data first.
3 What should happen?
Power
100%
Colour
White tone
Colour
Only colour bulbs react to this.
2 s
4 Preview
Select a light or room to see it here.
Each bulb shows what that light can do: a white bulb ignores a colour, colour bulbs only reach the colours their hardware can make. A screen can't show light exactly, so take the colours as a close guide.
5 Requests for your tag
Select at least one light or room.