MakerMachine translation, not yet reviewed

Cloning a 2.4GHz remote without SDR

An ESP32 with nRF24L01+ and CC2500 chips cloned a Lindby Velua ceiling light remote for Home Assistant.

The arrival of RTL-SDR projects turned software-defined radio from lab equipment into something hobbyists could pick up for twenty dollars. More than a decade later, the crowd that once used cheap receivers to snoop on wireless protocols is still finding practical uses for that capability.

But listening at higher frequencies usually means much more expensive gear. Henrikbiscuit recently hit that wall: he wanted to bring a Lindby Velua ceiling light into Home Assistant, which meant cloning the signal from its 2.4GHz remote. With no SDR covering that band, he turned to an ESP32 paired with nRF24 and CC2500 transceiver chips.

Lindby Velua ceiling light and remote

Intuitively, this seems easy. The nRF24 and CC2500 are the very chips many consumer devices use for 2.4GHz communication. The real problem is figuring out what the remote actually sends over the air. Without the convenience of tools like Universal Radio Hacker, capturing packets with transceiver chips alone is far trickier.

Inside the Lindby Velua remote

The inside of the remote offered few clues.

A sync word found in promiscuous mode

He first set the nRF24L01+ to promiscuous mode and began receiving packets over the air. The captured data showed the remote used the sync word B9 A1 99. He then configured the CC2500 with the same sync word and replayed the captured packets; the light did respond, but only intermittently.

At first he suspected the remote used a rolling code, since only about 30% of the commands sent were acknowledged by the light. But after analyzing dozens of packets from the remote and replaying them in different forms, he largely ruled out deliberate cryptographic protection. He also tracked down and fixed an issue in the CC2500 transmit settings, which helped slightly but not much.

The missing preamble

Going back to the start and rechecking, he finally found that his packets were missing a preamble. He had not noticed because this sequence sits before B9 A1 99 the sync word. The preamble is not strictly required, but the receiver uses it to fine-tune its RF parameters for more stable reception. The commands that occasionally worked were simply lucky.

With the global view an SDR provides, this kind of problem is often obvious at a glance; without one, he had to grind it out through repeated experiments. After prepending the correct sequence to every packet, the light began accepting all his commands. With a bit more code, remote control was smoothly integrated into Home Assistant.

Henrikbiscuit has published the whole effort on GitHub for others using the same light. But as with attempts to reverse-engineer some random Bluetooth Low Energy device, the more valuable part of such projects is often not the final implementation but the problem-solving approach and the shared experience.

Listed

Comments

0 comments

More in this category

Maker