Comments (3)
I don't think this is a rate limiting issue, as we'd likely see much more corruption of the output. My guess is something is setting the width of the terminal incorrectly, though we don't do anything like that in the addon.
This may be already fixed in #14. Running there, I can see multiline output correctly, such as this which wraps at my browser width:
[doorbell] baseband_demod_FM: low pass filter for 1000000 Hz at cutoff 200000 Hz, 5.0 us[weather_station] Use -h for usage help and see https://triq.org/ for documentation.
Or, is it possible it's a UI bug on the web side? Can you horizontally scroll the text if you have a trackpad?
from rtl_433-hass-addons.
OK, so I figured out what causes the weirdness to happen.
There's no horizontal scroll bar at the bottom of the log window, so it doesn't look like a width problem
However, I did get an interesting result when I intentionally misconfigured the rtl_433_conf_file variable to a nonexistant file - I can see the startup messages now and the device seems to be recognized. So I rewrote the config file again from scratch and can see normal startup stuff now. MQTT isn't working, but figuring out how that is supposed to work I'll leave for another day.
So in this case it looks like I wasn't actually getting slammed by the armhf issue on my HA0S setup because it must be using ARM64 of some sort or other? The other issue is still a valid problem if there are any folks using 32bit HAOS or normal RPOS Supervised installations.
When I took the same configuration file I was using back to the Mac and ran it, it gave me a "Protocol number specified (187) is larger than number of protocols" error. This in turn spits out a list of protocols it supports, of which the tail end is what we're seeing in the first two screenshots. Turns out the default file found at https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf has configurations for protocols 187 - 199. Comment them out and everything works great.
Looks like a warning in https://github.com/pbkhrv/rtl_433-hass-addons/blob/main/rtl_433/README.md is worthwhile here to not include those protocols. Maybe they only apply to a later RTL_433 build or something?
It would also be nice to be able to see all the spew from rtl_433 when a bad configuration file like that is sent to it.
from rtl_433-hass-addons.
So in this case it looks like I wasn't actually getting slammed by the armhf
armhf
is different than armv7l
. I also have an HA installation on a Raspberry Pi 4, and I'm able to run rtl_433
fine using Alpine 3.14. Let's keep any discussion of that over at #23 .
it gave me a "Protocol number specified (187) is larger than number of protocols" error.
Yes, that's because you're using the configuration from "master" which represents the in-development work. You'd need to switch to the 21.05 tag from the dropdown to see the example config from that version.
A similar topic came up recently on the forums: https://community.home-assistant.io/t/home-assistant-add-on-rtl-433-with-mqtt-auto-discovery/260665/105?u=deviantintegral
Since it sounds like the logging issue is solved, are we good to close this?
from rtl_433-hass-addons.
Related Issues (20)
- Frequency error
- rtl_433_mqtt_hass.py: error: argument -p/--port: invalid int value: 'null' HOT 10
- Feature Request : Filter for auto-add HOT 6
- Discovered entities with a name that starts with the device name HOT 5
- Nothing is being sent to MQTT broker HOT 1
- Auto Discover-Next Startup Error "rtl_433_mqtt_hass.py: error: unrecognized arguments: -T null" HOT 14
- Move repo to its own organization on github? HOT 9
- Support for Govee Water leak sensor HOT 2
- Can't use protocols above 223 HOT 1
- rtl_433 MQTT Auto Discovery (next) does not start HOT 12
- How can you tell which version of rtl_433 you're actively using? HOT 6
- How to install in HA Core? HOT 4
- 0.4.1 Stopped receiving HOT 66
- Is it possible to Filter devices and add fields to data to InfluxDB ? HOT 3
- Auto Discovery publishes SCMPlus time value, skips the rest such as gas meter consumption. Case sensitive? HOT 3
- Device added by Auto Discovery doesn't persist across reboots. "This entity is no longer being provided by the mqtt integration" HOT 2
- on AmbientWeather-TX8300 report Battery statur from rtl_433 MQTT Auto Discovery (next) HOT 6
- DEVICE_TOPIC_SUFFIX config problem HOT 8
- Enable devices disabled by default in config?
- New repository HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtl_433-hass-addons.