-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hanging on [rtl_433] Allocating 15 zero-copy buffers #202
Comments
Installing librtlsdr won’t do anything there because that’s not inside the addon container. But, we already include otherwise your radio wouldn’t show up at all. I would start by enabling verbose mode, enabling key / value output, and disabling any protocol filters. See if you’re getting any data at all, even if it’s not from devices you care about. I’ll also say some of the radios out there are not very robust. In one of my installs I had to both move the radio to a separate powered USB hub, and I had to disable frequency hopping and use two radios because they would lock up after a while. |
My first SDR radio i bought last week Beginning oct 2024 worked without any issues at all. Took the complete setup to my summer house as its there i have the need for 433. However as i had one working instance and one failing i did some comparision. I copied the content from the working HA instans to the failing and then the failing started to wrok. Config in working HA instance. ( note that i never configured this file in the working HA instance.. ) |
Unfortunately the comments created a mess in the config example.. But below is the config statements only without comments.. output mqtt://${host}:${port},user=${username},pass=${password},retain=${retain} protocol -59 |
Only diff that i now can think of is that on the first install i went for the standard rtl_433 and then later decided to install the "next" version. On the second i installed the "next" version immediately. |
Ok, so now devices are being detected by it, but on startup it does not seem to be publishing to MQTT (mosquito, default settings). Initially when I first installed the rtl433 addon, it automatically published to mqtt without any config file. Since then I have installed, uninstalled the addons, tried next and non-next versions trying to get things to work. Now it is not publishing to mqtt on startup even when I created a manual config file with mqtt credentials... I'm thinking all of my installing & uninstalling has messed things up. I removed the config/rtl_433 folder after uninstalling, but is there anything else I need to remove to completely fresh install everything?
|
That should be it. It should create the rtl_433 folder and default configuration file on first start. Does your addon config have the legacy conf_file directive set? If so, remove that: https://github.com/pbkhrv/rtl_433-hass-addons/blob/main/rtl_433/run.sh#L27 |
Where you able to solve this issue? I'm having the same Allocating 15 zero-copy buffers problem. |
Hi, I have very similar issue. I installed the addon, but there is Allocating 15 zero-copy buffers problem. I was able to get some detailed log (please check below). I think this coule be problematic line? [sdr_set_center_freq] Failed to set center freq.
Hope this will help to solve the issue. Thanks! |
Could it be cause by driver incopatibility? I found interesting post here. They are using different drivers, which should be backward-compatible with older devices.. |
I have the same problem with RTL-SDR Blog v4. I tried it on windows, where I had similar problem, but updating drivers solved the problem. Should it be possible to update driver in this addon? |
The problem
Setup:
HomeAssistant Green device
Mosquitto broker installed & working
rtl_433_next never worked (didn't auto-connect to mosquitto)
Successfully installed rtl_433, and device pings started showing up in the logs, and it was automatically pushing to MQTT (seen in mqtt explorer)
After a couple hours, it stopped publishing/working. After trying to restart it multiple times, the startup of rtl_433 keeps hanging on [rtl_433] Allocating 15 zero-copy buffers
Strange, since it worked fine a few hours ago.
Tried uninstalling it, reinstalling it.
Tried updating librtlsdr:
What addon are you reporting the bug for?
rtl_443
What is the addon version?
0.5.2
What type of MQTT Broker are you using?
Home Assistant Mosquitto MQTT Broker
Addon log messages
Additional information
No response
The text was updated successfully, but these errors were encountered: