Well, before advising wrongly I’ve tried a new install myself to confirm it is still working with the current master branch.
I’ve recorded all steps I made to give you a reference. Sure, the following is likely identical to the thousend other rtl_433-install-howto’s out there…
Let’s go …
Prerequisites:
sudo apt-get install libtool libusb-1.0-0-dev librtlsdr-dev rtl-sdr build-essential autoconf cmake pkg-config
sudo apt-get install -y mosquitto mosquitto-clients
Step 1: clone the rtl_433 master branch:
root@raspberrypi(rw):/home/pi# git clone https://github.com/merbanan/rtl_433.git rtl_433_MQTT
Klone nach 'rtl_433_MQTT' ...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 12578 (delta 20), reused 32 (delta 15), pack-reused 12527
Empfange Objekte: 100% (12578/12578), 4.16 MiB | 1.42 MiB/s, Fertig.
Löse Unterschiede auf: 100% (9701/9701), Fertig.
Step 2: Make it:
root@raspberrypi(rw):/home/pi# cd rtl_433_MQTT/
root@raspberrypi(rw):/home/pi/rtl_433_MQTT# mkdir build && cd build
root@raspberrypi(rw):/home/pi/rtl_433_MQTT/build# cmake ..
-- The C compiler identification is GNU 6.3.0
< -- truncated -->
-- Build files have been written to: /home/pi/rtl_433_MQTT/build
root@raspberrypi(rw):/home/pi/rtl_433_MQTT/build# make
Scanning dependencies of target rtl_433
[ 0%] Building C object src/CMakeFiles/rtl_433.dir/abuf.c.o
[ 1%] Building C object src/CMakeFiles/rtl_433.dir/am_analyze.c.o
<-- truncated -->
[ 99%] Building C object tests/CMakeFiles/test_fileformat.dir/__/src/fileformat.c.o
[100%] Linking C executable test_fileformat
[100%] Built target test_fileformat
root@raspberrypi(rw):/home/pi/rtl_433_MQTT/build#
Step 3: If succeeded - install it:
root@raspberrypi(rw):/home/pi/rtl_433_MQTT/build# make install
Install the project...
-- Install configuration: "Release"
<-- truncated -->
root@raspberrypi(rw):/home/pi/rtl_433_MQTT/build#
Step 4: Start it with your options (protocols, output, etc.):
root@raspberrypi(rw):/home/pi# rtl_433 -R12 -R25 -R79 -F mqtt://localhost:1883,retain=0,devices=sensors[/type][/model][/subtype][/channel:0][/id]
rtl_433 version 18.12-284-g7c6b415 branch master at 201908261453 inputs file rtl_tcp RTL-SDR
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Publishing MQTT data to localhost port 1883
Publishing device info to MQTT topic "sensors[/type][/model][/subtype][/channel:0][/id]".
Consider using "-M newmodel" to transition to new model keys. This will become the default someday.
A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986.
Registered 3 out of 136 device decoding protocols [ 12 25 79 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
MQTT Connected...
MQTT Connection established.
Step 5: Verify the result:
pi@raspberrypi(rw):~$ mosquitto_sub -v -t sensors/#
sensors/GT-WT02/1/215/id 215
sensors/GT-WT02/1/215/channel 1
sensors/GT-WT02/1/215/battery OK
sensors/GT-WT02/1/215/button 0
sensors/GT-WT02/1/215/temperature_C 26.100000
sensors/GT-WT02/1/215/humidity 56.000000
sensors/GT-WT02/1/215/mic CHECKSUM
sensors/THGR122N/2/238/id 238
sensors/THGR122N/2/238/channel 2
sensors/THGR122N/2/238/battery LOW
sensors/THGR122N/2/238/temperature_C 25.000000
sensors/THGR122N/2/238/humidity 59
^C
So - I can confirm, the things suggested above are working with the current master branch:
rtl_433 version 18.12-284-g7c6b415 branch master
Sorry, if this doesn’t help. Can’t provide more