How do you make a tag turn the lights on?
Easily, once your system already controls the light from a phone. The honest question is whether a tap beats the switch on the wall, and it usually does not. The cases where it does are specific, and knowing them saves building the ones that fail.
The switch is the competitor
A wall switch is instant, needs no phone, works for everyone including a child or a visitor, and works when the network does not.
Against that, a tag requires an awake phone, an application, a working connection and a deliberate gesture.
So a tag replacing a switch is almost always worse, and it is the first thing most people build.
Knowing this early saves the disappointment of an automation that works perfectly and is never used.
When a tag beats it
When there is no switch where you need one: a lamp plugged in behind furniture, a room with the switch by the wrong door.
When one gesture should do several things at once, which no switch does.
When the setting matters rather than the state: a particular brightness and colour for reading, which a switch cannot express.
And where a switch would need wiring, which is where a tag is genuinely the cheap answer.
Building it
Confirm the action works reliably from your system's own application first. A tag cannot improve an unreliable action, only trigger it faster.
Choose the route: an automation on your phone, or an address your system answers. The second is what lets anyone else in the household use it.
Place the tag where a hand naturally goes, at switch height, and not on a metal fitting.
Label it, because an unlabelled tag beside a door is a mystery to everyone who does not live in your head.
The toggle problem
A tag that toggles is tempting and it fails in a specific way: leaving and re entering the field counts as two taps, so a settling phone can toggle twice and end where it started.
It also has no idea what state the light is in if somebody used the switch, so the toggle and reality drift apart.
Setting a state rather than flipping one is more predictable: this tag means bright, that one means off.
Where a single tag must do both, let the home system decide from the actual state rather than asking the tag to remember, since the tag remembers nothing at all.
Frequently asked questions
Is a tag better than a light switch?
Usually not. A switch is instant, works for everyone and works offline. A tag wins where no switch exists or where one gesture should do several things.
Why does my toggle tag end up wrong?
Either it ran twice from one gesture, or somebody used the switch and the tag has no idea. Setting a state is more predictable than flipping one.
Can the tag control the light directly?
No. It tells the phone, which asks your home system. The tag adds no capability of its own.
Where should I put it?
At switch height, where a hand naturally goes, not on a metal fitting, and labelled so others know what it does.