RTL433 over rtl_tcp
Posted: Thursday 30 January 2020 18:21
I've just got a NooElec SDR dongle which I had planned to plug into my Raspbery Pi 4 directly (which lives outdoors in an IP66 case) but on doing so the temperature inside the case shot up by over 20 degrees so I've had to put the SDR dongle elsewhere.
On the remote host (the machine hosting the rtl_sdr) I have the device connected to rtl_tcp running on the default port of 1234. I have enabled the UFW rules for both IPv4 and IPv6.
In Domoticz, I've added the additional parameter to the RTL433 config of "-d rtl_tcp://host:1234" and Domoticz cannot connect to the host.
If I fire up rtl_433 from the commandline on the same host as Domotic, and pass the same parameter, it connects successfully to the host.
I noticed in the logs that the following is output, and I'm not sure if it's a quirk of how the log is output or if this is what is being passed to rtl_433:
Note the lack of slashes and colons in the address.
When I was setting up the rtl_sdr yesterday, I managed to get Domoticz to connect via rtl_tcp when the device was running locally, but for some reason, it doesn't like connecting to a remote host (despite rtl_433 itself being happy).
I also installed rtl_mus (which is a Python script which allows multiple clients to connect to rtl_tcp). This runs on the same host as Domoticz and again it can connect to my remote rtl_tcp connection fine. If I then point Domoticz at this "proxy" it still won't connect, despite the "proxy" running on localhost.
Any help would be greatly appreciated.
On the remote host (the machine hosting the rtl_sdr) I have the device connected to rtl_tcp running on the default port of 1234. I have enabled the UFW rules for both IPv4 and IPv6.
In Domoticz, I've added the additional parameter to the RTL433 config of "-d rtl_tcp://host:1234" and Domoticz cannot connect to the host.
If I fire up rtl_433 from the commandline on the same host as Domotic, and pass the same parameter, it connects successfully to the host.
I noticed in the logs that the following is output, and I'm not sure if it's a quirk of how the log is output or if this is what is being passed to rtl_433:
Code: Select all
2020-01-30 17:17:20.122 Status: Rtl433: Worker started... (Extra Arguments: -d rtl_tcphostname1234)
When I was setting up the rtl_sdr yesterday, I managed to get Domoticz to connect via rtl_tcp when the device was running locally, but for some reason, it doesn't like connecting to a remote host (despite rtl_433 itself being happy).
I also installed rtl_mus (which is a Python script which allows multiple clients to connect to rtl_tcp). This runs on the same host as Domoticz and again it can connect to my remote rtl_tcp connection fine. If I then point Domoticz at this "proxy" it still won't connect, despite the "proxy" running on localhost.
Any help would be greatly appreciated.