git clone https://github.com/merbanan/rtl_433.git
cd rtl_433/
mkdir build
cd build
cmake ../
make
sudo make install
Для Raspberry Pi еще потребовалось исключить модуль из ядра:
sudo modprobe -r dvb_usb_rtl28xxu
автор сделал тестовый репозиторий с нашим протоколом rc-switch
https://github.com/merbanan/rtl_433/issues/543
git clone -b feat-rcswitch https://github.com/zuckschwerdt/rtl_433.git rtl_433_rcswitch
cd rtl_433_rcswitch
mkdir build
cd build
cmake ..
make
Код: Выделить всё
Tuned to 433920000 Hz.
pulse_FSK_detect(): Maximum number of pulses reached!
2017-05-20 17:42:12 : RC-Switch : 05fdab80
2017-05-20 17:42:15 : RC-Switch : 05fdae80
2017-05-20 17:42:16 : RC-Switch : 05fdab80
2017-05-20 17:42:17 : RC-Switch : 05fdae80
2017-05-20 17:42:20 : RC-Switch : 1d706d80
2017-05-20 17:42:21 : RC-Switch : 05fdae80
2017-05-20 17:42:21 : RC-Switch : 05fdad80
2017-05-20 17:42:22 : RC-Switch : 05fdab80
2017-05-20 17:42:23 : RC-Switch : 05fdae80
2017-05-20 17:42:25 : RC-Switch : 1d706d80
2017-05-20 17:42:26 : RC-Switch : 05fdad80
2017-05-20 17:42:27 : RC-Switch : 05fdab80