I replaced the batteries in my Apple TV remote and now it turns the Apple TV on, but it no longer controls my actual television — volume and power do nothing. It worked before the batteries died.
How do I re-pair the HDMI-CEC control?
That is usually an HDMI-CEC handshake issue rather than a remote fault. Unplug the Apple TV's power cable and the TV's power cable for 60 seconds, then plug the TV in first, wait a minute, then the Apple TV. This forces both devices to redo the CEC negotiation.
Next, check the TV's own settings — most brands have a CEC option under HDMI or General settings with a brand-specific name (Simplink, Anynet+, Bravia Sync). Turn it off and back on, then restart the Apple TV.
On the Apple TV go to Settings → Remotes and Devices → Control TV On/Off and make sure it is enabled. If it is already on, toggle it off, restart, and toggle it back on.
If nothing works, try a different HDMI port on the TV and use a high-speed HDMI cable. Cheap cables often carry video fine but fail the CEC control channel.