Reverse Engineering Remote Control Power Sockets
Updated 2026: In Part 4 we switch a socket straight from an Arduino Uno, in Part 5 from an STM32F0DISCOVERY and in Part 6 with Zephyr from an STM32F429I-DISCO. The series ends with librsswitch, a small C library that lets a Raspberry Pi or a BeagleBone Black switch the sockets (Parts 7 to 9).


For about 13 EUR, the electronics mail-order shop Pollin sells a set of remote control power sockets: home automation on a budget. We can combine four sockets into one group, and the remote control switches them on and off.
An article in c't Hacks (3/2012) gave us the idea. In this series of posts we reverse engineer the remote control and replace it with a low-cost 433 MHz transmitter, driven by an Arduino Uno, an STM32F0DISCOVERY, an STM32F429I-DISCO with Zephyr, a Raspberry Pi or a BeagleBone Black. On the two Linux boards this is the job of librsswitch, a small C library that imitates the encoder chip of the remote control on a GPIO line. The transmitter modules cost a few euros, for example on Amazon; directly from China they are even cheaper, but shipping takes weeks.
For a later part we are planning a Linux kernel module that does the same job.
Tools and materials
To follow the posts or rebuild one of the projects, we need:
Arduino Uno, STM32F0DISCOVERY, STM32F429I-DISCO, Raspberry Pi or BeagleBone Black
433 MHz transmitter (e.g. from Amazon)
Linux PC or VM with Debian 13 for cross-compiling
Multimeter (optional, e.g. UNI-T UT61C)
Oscilloscope (optional, e.g. RIGOL DS1052E) or
Software-defined radio that works with rtl-sdr (e.g. Noxon DAB Stick)
Phillips screwdriver
Posts
Later: a Linux kernel module