Sub-$100 Networked 433Mhz Receiver for Home Assistant

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • I previously wrote about my install of RTL-433 on a Raspberry Pi, running Raspberry Pi OS Buster. With the release of Bullseye, rtl-433 is now merged into the repository and doesn't need to be compiled from source. So, I thought it would be a good time to revisit this project and make a video about it, this time using a cheap eBay thin client instead of a raspberry pi, and showcasing my setup a bit. As I'm using Home Assistant in my home automation system, anything that can publish to MQTT can be brought in, so buying fairly cheap off the shelf sensors which are rugged enough to survive for years outdoors is a great use case for me, even if there is virtually no security in the 433Mhz world. Overall, I was able to setup the receiver for under $100, which is pretty good as far as home automation products go.
    Link to my blog post on this:
    www.apalrd.net/posts/2022/sdr...
    My Discord Server, where you can carry on the discussion or suggest future topics:
    / discord
    If you find my content useful and would like to support me, feel free to here: ko-fi.com/apalrd
    Link to the RTL-433 Github page, which includes a list of all supported sensors:
    github.com/merbanan/rtl_433#r...
    Buy the Nooelec SDR receiver I'm using in this demo:
    From Amazon - amzn.to/3go6CZZ
    From Nooelec - www.nooelec.com/store/nesdr-m...
    Buy the Acurite 609TXC replacement sensor I'm using at my house:
    From Amazon - amzn.to/3eH5LmA
    From Acurite (select sensor #2) - www.acurite.com/shop-all/weat...
    Buy a Dell Wyse 3040 thin client on eBay:
    ebay.us/IHLTaf
    Timestamps:
    00:00 - Introduction
    00:52 - Hardware
    03:01 - Software
    07:40 - Systemd Service
    10:47 - Home Assistant Configuration
    11:00 - Conclusions
    Some links to products may be affiliate links, which may earn a commission for me.
    #homeassistant
    #homeautomation
    #433mhz
  • Наука та технологія

КОМЕНТАРІ • 59

  • @miked4122
    @miked4122 Рік тому +9

    I use a router with a USB2 port and flashed with Openwrt. RTL433 is available in the Openwrt repository.

  • @blevenzon
    @blevenzon Рік тому +4

    Such awesome stuff. I’m so trying this. I’ve been using decommissioned Dell wyse terminals from work (thanks to you) instead of RasPi as well. But I def want to try this. Also love the blooper outtakes at the end. Priceless. Thanks so much

  • @Qosmio1955
    @Qosmio1955 Рік тому +4

    Great tutorial and it works just great. I integrated sensors from my weather station into Home Assistant and it all toodled along perfectly until the batteries in the weather station went flat. When I put the new batteries in, the weather station gave itself a new ID number which meant that the mqtt path to the sensor was different to what I had configured in my yaml file. It took a while to suss it out, but all is good again...

  • @robertopontone
    @robertopontone Рік тому +2

    Great topic, explained in plain simple way. Thank you 😊

  • @GeoffSeeley
    @GeoffSeeley Рік тому +2

    Thanks for this! I just setup HA but getting my SDR/Acurite sensors hooked into it was still on the todo list as I knew I'd have to do something like this after playing with the rtl_433 software. I'm going to take this one step further and do it in a Proxmox CT or VM.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +2

      AFAIK there's an addon for HA already, but I run all of my radio stuff remotely since my Proxmox systems are in a corner of a concrete basement.

  • @bitterrotten
    @bitterrotten Рік тому

    This is exactly what I needed. Thank you.

  • @SandeepPuri
    @SandeepPuri Рік тому

    Very cool.. didn't know 433 mhz is used by these cheap sensors.. learned something new.. great usecase for my rtl sdr.

  • @XDaarn
    @XDaarn Рік тому +2

    Thanks!

  • @MkmeOrg
    @MkmeOrg Рік тому

    This was really helpful. Cheers

  • @Tntdruid
    @Tntdruid Рік тому +2

    Very cool, the 433 sensors are very cheap 👍

  • @jean-lucbezzina8382
    @jean-lucbezzina8382 Рік тому

    Hello
    Thanks for your tutorial. I am French and came across your very interesting explanation.
    i use 433 mhz in my project and also zigbbe with the mosquitto broker. But I see you are using homeassistant in a debian distribution. What I had managed to do because I did not want to free myself from the bone to do something else. Only I saw on I do not avsi the pluggins then qh'one has it when one loads a homeassistant version for RASBIAN.
    Do you have an idea or a tutorial that explains how to do it?
    Good continuation. Great !

  • @Black_Dollarz
    @Black_Dollarz Рік тому

    The mic sounds soooooooooooooooo much better

  • @meierthomas
    @meierthomas Рік тому

    Love the simplicity of this. Could this be made to work with 433Mhz remotes as well? I have a few of those and want to integrate them as well

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      It depends. Old garage door openers (with the DIP switches to set codes) should be possible, although I'm not sure what software if any exists to decode them.

  • @Madthrax23
    @Madthrax23 5 місяців тому

    You need a dedicated computer to connect the rtl-sdr and transmit through mqtt. Is there any solution to connect directly the dongle to an HA on rpi4 ?

  • @AntonisAsc
    @AntonisAsc Рік тому

    Very nice video! I know I want to start learning to setup Home Assistant and 433 is in many sensors etc. Your cute cat has some objections and interrupts your video :3

  •  Рік тому +2

    My TV tuner stick gets warm, almost hot by continuously running RTL-433 on it, so I'm not sure if it's a good idea to run this 24/7. It's one of those RTL2832U green RTLSDR sticks covered in aluminum from Ali Express. What is your experience with this? As you've said, 433MHz outdoor sensors are dirt cheap, so I'm considering this method.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      Mine doesn't get hot to the touch, but it's not enclosed or anything, just sitting out on a shelf.

  • @blevenzon
    @blevenzon Рік тому +1

    Oh I just noticed RTL433 has a Docker image so I wonder if we can pass through NESDR to proxmox 🤔

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +2

      You could, but I don't do this because my Proxmox server (which also runs Home Assistant) is in a corner of a concrete basememt, so all of my radios are remote

    • @blevenzon
      @blevenzon Рік тому +1

      @@apalrdsadventures thanks so much for taking the time to reply. Also hope you’re doing better personally, so glad you’re posting videos again.

  • @JC.72
    @JC.72 Рік тому +1

    Can we do the same on a rf 433 bridge device? Such as the modded sonoff rf433 with tasmota firmware mod?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +4

      The Sonoff RF433 doesn't support nearly as many 433Mhz device types as rtl433 does, even with alternative firmware for the RF chip. Stock, it only supports Sonoff 433Mhz devices.

  • @mmondello8787
    @mmondello8787 Рік тому +1

    Great how to video
    I do have a couple questions.
    How do I change the output to Imperial for the USA?
    How can I speed up the data transfer (refresh rate) from RTL443 server to MQTT?
    Thanks
    Mark

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +2

      You can switch -C s for -C customary (convert all to imperial) or -C native (use whatever the sensor sends) for different units. I keep everything in SI in home assistant though, even being in the US.
      As to update rate, it sends data whenever it gets data from the sensor, so it's entirely on the sensor. The devices I have update a few times a minute, and there's really nothing you can do about that, unless you're not getting the signal and missing sensor updates.

    • @mmondello8787
      @mmondello8787 Рік тому

      @@apalrdsadventures So in the command line /rtl/usr/bin/rtl_433 -C si _F ... now looks like /rtl/usr/bin/rtl_433 -C i _F ... Is that correct?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      /usr/bin/rtl_433 -C customary ... would be the argument

    • @mmondello8787
      @mmondello8787 Рік тому

      @@apalrdsadventures thanks again. Now im just working on getting the updated information to mqtt Mosquitto broker in HA. it got there when I first put it on line and now I dont see the updates.

  • @r7boatguy
    @r7boatguy Рік тому +1

    Seems that 433MHz is on its way out in N America in favor of 915MHz. I'm going to try your method with some ecowitt devices that use that frequency. Did you have any issues loading Linux o the thin client?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      No, I haven’t had any issues with Linux on the thin clients. Rtl433 does support 915Mhz sensors, but it’s still only doing fairly basic decoding and nothing like zigbee.

  • @dablet
    @dablet 11 місяців тому

    can it be used to control 433mhz devices???

  • @RossCanpolat
    @RossCanpolat Рік тому

    I've done a like for like install (Debian 11) and when I run sudo rtl_433 the last thing i see is "Allocating 15 zero-copy buffers" and then nothing, no data. Does this mean I'm not picking up anything or is there a fault? I've tried pressing buttons on a generic 433Mhz keyfob (not programmed to anything) right beside the antenna and I'm picking up nothing.

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      It sounds like it's not finding anything. You can try changing the frequency (default is 433, but it also has some decoders for 315 and 900mhz bands as well) to see if the keyfob is one of those. Depending on what kind of keyfob it is, it might not have a decoder for it.

    • @RossCanpolat
      @RossCanpolat Рік тому +1

      @@apalrdsadventures Nah still not picking up anything. I think ill try plug into a laptop and do a bit of a wardrive around my town with it. Its bound to pick up something unless the SDR dongle is faulty.

    • @RossCanpolat
      @RossCanpolat Рік тому +1

      @@apalrdsadventures Just to follow up, I left the VM running for 3 days doing the scan and I finally picked up something. I think my antenna & its placement is just awful

    • @norbertessel8169
      @norbertessel8169 Місяць тому

      Hello everyone. I have the same issue. And if I only put "rtl_433 -c -si" it is picking up in seconds. If I include the mqtt command, nothing.

  • @XDaarn
    @XDaarn Рік тому

    Can you use this to receive 868mhz also?
    do you have any idee for a transmitter?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +2

      It can receive 868 as well (the full list of protocols / devices is here - github.com/merbanan/rtl_433#running ) but 868 can't be used in the US.
      Also it can only do one frequency at a time, so to do both 433 and 868 you'll need two of them.

    • @XDaarn
      @XDaarn Рік тому

      @@apalrdsadventures thx you for your easy understanding videos many of my project have got so mush easier with you video. will you soon have a video of ceph fileshare?

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      CephFS is definitely coming!

  • @goldenshellback2811
    @goldenshellback2811 Рік тому

    The cat @1:20, there was a glitch in the matrix

  • @pavlovsky0
    @pavlovsky0 Рік тому

    make and AREDN node in one of your videos!

    • @apalrdsadventures
      @apalrdsadventures  Рік тому +1

      I'm not a licensed amateur radio operator, so I wouldn't be able to use it outside of the ISM bands. There also aren't any nodes within line of sight of my location, at any frequency.
      That said, I'd love to have a bigger location to play with PTP / PTMP radio systems and routing

    • @pavlovsky0
      @pavlovsky0 Рік тому

      @@apalrdsadventures yeah I’m thinking of getting licensed to play around with Aredn.

  • @shephusted2714
    @shephusted2714 Рік тому

    433 is way to go for longer range - it beats the hell out of 2ghz /5ghz - build some antennae #seattle wireless

  • @stargazer7644
    @stargazer7644 2 місяці тому

    Those are demons, not daymons. Yes, it is spelled daemon. It is pronounced demon. Also, sudo is sue-dew not sue-doh. The command uses su to do something, not to doe something.

  • @KeithWeston
    @KeithWeston Рік тому

    Thanks!