this post was submitted on 05 Jul 2023
4 points (100.0% liked)

homeassistant

12080 readers
4 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I'm hoping it's just something stupid.

I've been playing around with rtl_433 for a while, and started making decoders for various bits of kit I have. When I run things on a laptop, with the same dongle, I pick things up no problem.

Yesterday, I tried to start integrating it with HASS. I installed this 433 wrapper, and Mosquitto Broker.

The 433 wrapper seems to work, and devices are decoded in the log when I use a generic config. But when I use one that pushes to MQTT, nothing shows up in the 433 logs other than the connection to MQTT, and nothing seems to be logged on the MQTT.

I vaguely remember reading that the simple Mosquitto broker only had a limited set of devices supported, but I can't seem to find where I read that now :|

top 5 comments
sorted by: hot top controversial new old
[–] leaskovski@kbin.social 3 points 1 year ago

I don't have any RTL433 in mysetup anymore, but from my notes, when I had my doorbell integrated into HA, I was using this HASSIO addon...
https://github.com/DarwinData/hassio-addons

[–] klangcola@reddthat.com 2 points 1 year ago* (last edited 1 year ago)

You might be on the wrong track with the last paragraph. Does the mosquito broker even support "devices"? Doesn't it just support generic topics and messages?

It sounds like for whatever reason rtl_433 is not pushing messages to your MQTT broker. Check with MQTT Explorer if you haven't already

Double check your MQTT connection settings in rtl_433. Also try changing QOS settings to see if it helps

[–] vacuumpizzas@t.bobamilktea.xyz 2 points 1 year ago (1 children)

I’m a few versions behind, but I’m using the add-on without issue. A few things I would check if my setup failed:

  1. The wrapper has 2 major components. Make sure you’re running both of them.
  2. Slim down your config.
  3. You mentioned you have your own decoders. Double check the rtl_433 version that’s being used in the add-on to ensure everything is compatible.

From the /r/homeassistant lurking days, I know that some other people skip the add-on in favor of using a script or another machine that proxies the data into HA. So there are a few other options in case the add-on approach doesn’t seem to be working quite right.

[–] GreatAlbatross@feddit.uk 1 points 1 year ago

The decoders I'd hashed together were not very "proper" at all, just devices with chunks of the data interpreted as values.

What I should really do is figure out how to contribute them properly to the project as actual devices, then pull that in.

[–] GreatAlbatross@feddit.uk 2 points 1 year ago

Hello, thankyou for all the helpful comments.

rtl_433 MQTT Auto Discovery is now installed. Following that being set up, I got a couple of pushes of data from the (well known) temperature sensor I have. Just the one, because I think I broke something afterwards.
But that's OK; We're starting to win the battle!

load more comments
view more: next ›