Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. Development
  4. New Adapter for rtl_433 incoming data

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

New Adapter for rtl_433 incoming data

Geplant Angeheftet Gesperrt Verschoben Development
adapter
34 Beiträge 11 Kommentatoren 8.1k Aufrufe 13 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R Radi

    @phillipssc Could You please explain the settings for tcp_ip mode. I'am not able to get it working. I get these messages:

    rtl_433.0
    	2021-09-28 17:52:52.688	debug	rtl_433 ret: -2:null
    rtl_433.0
    	2021-09-28 17:52:52.687	info	Go to https://github.com/merbanan/rtl_433 to for installation instructions
    rtl_433.0
    	2021-09-28 17:52:52.686	error	rtl_433 is not found on the system. Please check the installation of rtl_433
    rtl_433.0
    	2021-09-28 17:52:52.682	info	spawning: rtl_tcp=192.168.69.140
    rtl_433.0
    	2021-09-28 17:52:52.626	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:52:22.625	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:51:52.624	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:51:22.624	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:51:12.681	debug	killing rtl_433
    rtl_433.0
    	2021-09-28 17:51:12.680	error	rtl_433 disconnected, reconnecting in 100s ...
    rtl_433.0
    	2021-09-28 17:51:12.680	debug	rtl_433 ret: -2:null
    rtl_433.0
    	2021-09-28 17:51:12.678	info	Go to https://github.com/merbanan/rtl_433 to for installation instructions
    rtl_433.0
    	2021-09-28 17:51:12.677	error	rtl_433 is not found on the system. Please check the installation of rtl_433
    rtl_433.0
    	2021-09-28 17:51:12.673	info	spawning: rtl_tcp=192.168.69.140
    rtl_433.0
    	2021-09-28 17:50:52.624	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:50:34.582	silly	redis message expired/evicted __keyevent@0__:expired:io.system.adapter.dwd.0.connected
    rtl_433.0
    	2021-09-28 17:50:22.624	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:49:52.672	debug	killing rtl_433
    rtl_433.0
    	2021-09-28 17:49:52.672	error	rtl_433 disconnected, reconnecting in 80s ...
    rtl_433.0
    	2021-09-28 17:49:52.671	debug	rtl_433 ret: -2:null
    rtl_433.0
    	2021-09-28 17:49:52.669	info	Go to https://github.com/merbanan/rtl_433 to for installation instructions
    rtl_433.0
    	2021-09-28 17:49:52.669	error	rtl_433 is not found on the system. Please check the installation of rtl_433
    rtl_433.0
    	2021-09-28 17:49:52.663	info	spawning: rtl_tcp=192.168.69.140
    rtl_433.0
    	2021-09-28 17:49:52.623	debug	Checking for dead devices...
    rtl_433.0
    	2021-09-28 17:49:22.623	debug	Checking for dead devices...
    
    phillipsscP Offline
    phillipsscP Offline
    phillipssc
    schrieb am zuletzt editiert von phillipssc
    #25

    @radi - Sorry I didn't see this sooner.

    If you want to use TCP/IP to read an adapter. The remote host with the RTL-SDR dongle must be running rtl_sdr (rtl_tcp is included with the dist). Then on that host you would run the command:

    rtl_tcp -a hostname -I <ip address>

    On your ioBroker server you will need to run rtl_433 (which also requires rtl_sdr) and configure the instance with the ip address. You can take ioBroker out of the picture for testing and run the command:

    rtl_433 -F json -d rtl_tcp://<ip address>:1234

    In each case the <ip address> would be the address of the host with the RTL-SDR dongle - presumably 192.168.69.140

    From the looks of the log provided rtl_433 is not installed on the ioBroker host yet

    W 1 Antwort Letzte Antwort
    0
    • w00dst0ckW Offline
      w00dst0ckW Offline
      w00dst0ck
      schrieb am zuletzt editiert von
      #26

      Hello @phillipssc,
      I've installed your adapter yesterday and it works very well.
      But I've got a problem when I restart the adapter in iobroker.

      The spawned subprocess ob rtl_433 won't be killed and on the next restart it' not possible to start a new instance of rtl_433 because the usb device is blocked by the older process.

      Any advice?

      E 1 Antwort Letzte Antwort
      0
      • w00dst0ckW w00dst0ck

        Hello @phillipssc,
        I've installed your adapter yesterday and it works very well.
        But I've got a problem when I restart the adapter in iobroker.

        The spawned subprocess ob rtl_433 won't be killed and on the next restart it' not possible to start a new instance of rtl_433 because the usb device is blocked by the older process.

        Any advice?

        E Offline
        E Offline
        Elmar Faber
        schrieb am zuletzt editiert von
        #27

        @w00dst0ck @phillipssc I have the same problem, is there a chance to solve the problem?

        w00dst0ckW 1 Antwort Letzte Antwort
        0
        • E Elmar Faber

          @w00dst0ck @phillipssc I have the same problem, is there a chance to solve the problem?

          w00dst0ckW Offline
          w00dst0ckW Offline
          w00dst0ck
          schrieb am zuletzt editiert von
          #28

          @elmar-faber as you can see, my question is unanswered.

          1 Antwort Letzte Antwort
          0
          • phillipsscP phillipssc

            @radi - Sorry I didn't see this sooner.

            If you want to use TCP/IP to read an adapter. The remote host with the RTL-SDR dongle must be running rtl_sdr (rtl_tcp is included with the dist). Then on that host you would run the command:

            rtl_tcp -a hostname -I <ip address>

            On your ioBroker server you will need to run rtl_433 (which also requires rtl_sdr) and configure the instance with the ip address. You can take ioBroker out of the picture for testing and run the command:

            rtl_433 -F json -d rtl_tcp://<ip address>:1234

            In each case the <ip address> would be the address of the host with the RTL-SDR dongle - presumably 192.168.69.140

            From the looks of the log provided rtl_433 is not installed on the ioBroker host yet

            W Offline
            W Offline
            Wolfi
            schrieb am zuletzt editiert von Wolfi
            #29

            @phillipssc

            help can't get it to work in iobroker (TCP/IP)

            what command on the RTL-SDR host

            and which one in the iobroker adapter ??

            Please be more specific command with example IP

            42e2f40f-24b5-4e57-bb76-5e20f91e1693-image.png f91a5d7e-c3aa-4b51-91f7-4c752878e7d6-image.png

            phillipsscP 1 Antwort Letzte Antwort
            0
            • W Wolfi

              @phillipssc

              help can't get it to work in iobroker (TCP/IP)

              what command on the RTL-SDR host

              and which one in the iobroker adapter ??

              Please be more specific command with example IP

              42e2f40f-24b5-4e57-bb76-5e20f91e1693-image.png f91a5d7e-c3aa-4b51-91f7-4c752878e7d6-image.png

              phillipsscP Offline
              phillipsscP Offline
              phillipssc
              schrieb am zuletzt editiert von phillipssc
              #30

              @wolfi Sorry I missed this. I'm not sure what the test you did makes sense. What happens if you run rtl_433 -F json -d rtl_tcp://192.168.178.153:1234 ?

              R 1 Antwort Letzte Antwort
              0
              • phillipsscP phillipssc

                @wolfi Sorry I missed this. I'm not sure what the test you did makes sense. What happens if you run rtl_433 -F json -d rtl_tcp://192.168.178.153:1234 ?

                R Offline
                R Offline
                Radi
                schrieb am zuletzt editiert von
                #31

                @phillipssc
                Could You please explain, what is going wrong here and how to fix it?

                rtl_433.0
                	2023-11-02 12:40:55.617	error	Error: Parameter "parentChannel" needs to be of type "string" but type "undefined" has been passed
                rtl_433.0
                	2023-11-02 12:40:55.617	debug	Creating State rain_mm on TFA-Drop-538256
                rtl_433.0
                	2023-11-02 12:40:55.617	error	Error: Parameter "parentChannel" needs to be of type "string" but type "undefined" has been passed
                rtl_433.0
                	2023-11-02 12:40:55.616	debug	Creating State battery_ok on TFA-Drop-538256
                rtl_433.0
                	2023-11-02 12:40:55.615	debug	rtl_433:{"time":"2023-11-02 12:40:55","protocol":147,"model":"TFA-Drop","id":538256,"battery_ok":1,"rain_mm":2.794,"mic":"CHECKSUM","mod":"ASK","freq":433.902,"rssi":-4.738,"snr":15.883,"noise":-20.621}
                rtl_433.0
                	2023-11-02 12:40:28.695	debug	rtl_433.0.TFA-Drop-538256: ok
                

                There is another Sensor for wind running well. The rainsensor has got new batterys and has changed the number to TFA-Drop-538256.

                mcm1957M 1 Antwort Letzte Antwort
                0
                • R Radi

                  @phillipssc
                  Could You please explain, what is going wrong here and how to fix it?

                  rtl_433.0
                  	2023-11-02 12:40:55.617	error	Error: Parameter "parentChannel" needs to be of type "string" but type "undefined" has been passed
                  rtl_433.0
                  	2023-11-02 12:40:55.617	debug	Creating State rain_mm on TFA-Drop-538256
                  rtl_433.0
                  	2023-11-02 12:40:55.617	error	Error: Parameter "parentChannel" needs to be of type "string" but type "undefined" has been passed
                  rtl_433.0
                  	2023-11-02 12:40:55.616	debug	Creating State battery_ok on TFA-Drop-538256
                  rtl_433.0
                  	2023-11-02 12:40:55.615	debug	rtl_433:{"time":"2023-11-02 12:40:55","protocol":147,"model":"TFA-Drop","id":538256,"battery_ok":1,"rain_mm":2.794,"mic":"CHECKSUM","mod":"ASK","freq":433.902,"rssi":-4.738,"snr":15.883,"noise":-20.621}
                  rtl_433.0
                  	2023-11-02 12:40:28.695	debug	rtl_433.0.TFA-Drop-538256: ok
                  

                  There is another Sensor for wind running well. The rainsensor has got new batterys and has changed the number to TFA-Drop-538256.

                  mcm1957M Online
                  mcm1957M Online
                  mcm1957
                  schrieb am zuletzt editiert von
                  #32

                  @radi

                  I suggest to report issues using an github issue at adapter repository.

                  Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                  Support Repositoryverwaltung.

                  Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                  LESEN - gute Forenbeitrage

                  R 1 Antwort Letzte Antwort
                  0
                  • mcm1957M mcm1957

                    @radi

                    I suggest to report issues using an github issue at adapter repository.

                    R Offline
                    R Offline
                    Radi
                    schrieb am zuletzt editiert von Radi
                    #33

                    @mcm57 The issue is existing since Sep. the 28th made by Vetinari1977. Nothing to forget. ;)

                    1 Antwort Letzte Antwort
                    0
                    • phillipsscP phillipssc

                      Hello everyone.

                      You can check out this adapter, if you wish, at: https://github.com/phillipssc/ioBroker.rtl_433

                      I am relatively new to ioBroker having just started with it 7 months ago. I previously was running OpenHAB but liked the pure JavaScript approach to ioBroker.

                      When I saw how the Sonoff adapter was done I was interested if I could do something similar for rtl_433 data. For anyone wondering, rtl_433 builds off of rtl-sdr and uses largely former USB TV Tuner hardware to receive signals in the Rf spectrum (incoming data only). Often this will be at 433 MHz but it is not limited to that frequency. I use this to monitor temperature senders commonly used for weather stations and I have a large number of contact sensors as well. I have been running this adapter for about 6 months now, it is stable.

                      I created the adapter using the instructions on the site. Starting at: "npx @iobroker/create-adapter iobroker.rtl_433". I have run the utility through the adapter checker at: https://adapter-check.iobroker.in/ the only two errors I currently get are:
                      [E300] Not found on travis. Please setup travis
                      1
                      [W400] Cannot find "rtl_433" in latest repository
                      1

                      Travis is set up - however it does not pass due to the lack of an RTL-SDR USB stick nor the rtl_433 software in their environment.
                      The command that fails, "npm run test:integration" passes locally on my worstation. Messages in the log alert the user that the environment needs to be set up and points them to the rtl_433 site https://github.com/merbanan/rtl_433 for installation instructions.

                      I do not believe that my adapter will be in the latest repository until it is accepted by ioBroker at large.

                      I am trying to get this published using the instructions at https://www.iobroker.net/#en/documentation/dev/adapterpublish.md and this post seems to be the first step :)

                      Thanks, feel free to let me know what you think,
                      Sean

                      E Offline
                      E Offline
                      ETGermany
                      schrieb am zuletzt editiert von
                      #34

                      Hi @phillipssc, I have an ioBroker installation on Ubuntu and your Adaper works.
                      ___rtl_433 Instanz läuft.png
                      However, I had to set the protocols manually in the command line:
                      ___rtl_433 Protokolle manuell hinzugefügt.png
                      There are none in the overview:
                      ___rtl_433 keine Protokolle.png
                      Any ideas? What is wrong?

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      767

                      Online

                      32.4k

                      Benutzer

                      81.5k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe