-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to start SDRMR addon successfully #20
Comments
Okay, I was able to setup the package individually (outside of Home Assistant) and it seems I'm now able to grab both water and gas usage 🎊
Now that I've done it this way, it seems that the docker container is missing the rtl_tcp "spectrum" server running? |
The addon is not able to find the USB device. Assuming you are running HA on a RPI, try performing a power cycle and then check if the RTL-SDR dongle is detected. |
I've set it back up on the HA server (was using my laptop to test
|
Turn on both of the debug switches. Post the new logs and your raw yaml for the addon configuration. |
Debug
YAML debug: true
rtltcpdebug: true
msgType: all
ids:
duration: 15
pause_time: 30
gas_unit_of_measurement: ft³
electric_unit_of_measurement: kWh
water_unit_of_measurement: l
water_use_tenths: false
scm_plus_gas_divisor: 1 Side note I'm not sure if it makes a difference, though I'm using a NooElec NESDR Nano 2+. I was reading this jdeath/RTLAMR2MQQT#10 (comment) saying that it's probably better to use another dongle? If so, I could switch it out to something better. Though when I tested it on my laptop, it worked without issue so it may be some config issue I have or something. |
I don't think it is a hardware issue since it worked on your laptop. I'm trying to reproduce the issue on my HA server. |
Oh awesome, thanks! Let me know if I can help in anyway 🙂 |
No luck on my end with reproducing the issue. Can you attempt to run RTLAMR in the terminal addon in the same way you got it working on your laptop? Also, check the output of |
Just managed to reproduce the issue after a full reboot
|
There seems to not be enough space in the USBFS buffer. The default buffer size is only 16mb. Try adding |
@N3rdP1um23, were you able to resolve this issue? |
@pasyn My apologies for the delay. I've just updated the plugin and it didn't initially work out of the gate. The I was able to play around with it a little more, and found that the following plugin works without issue https://github.com/allangood/rtlamr2mqtt |
Actually, stopping the rtlamr2mqtt addon and restarting the this one seems to have done the trick! I am able to see an individual sensor now which is awesome! I do have a few questions however
|
cmdline.txt is found in the boot partition if you are running HA on a raspberry pi. To access this file, you will have to chuck the sdcard into a computer.
I'm looking into a fix for this one. As far as I know, it is only an issue on the first run/install. You can override the value to a decimal by editing the YAML.
I agree but this is a limitation of Addons in homeassistant and the HA core dev team has made it clear that this will not change. See: #10 (comment)
Personally, I have the duration set to 120 and the pause left at the default value. Check the logs with the debug switch on. You should see something similar to the following when your meter signal is picked up.
|
Describe the bug
Have tried to follow the instructions as best as possible and have attempted to use different ID's for the water/gas/electric components, though I'm unable to get it working. It also seems that it starts, doesn't find any devices, then crashes as it's unable to connect to the spectrum server.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Start the addon, find the sensors, log the data in Home Assistant.
Screenshots
N/A
Desktop
Additional context
Is there possibly a way to continually listen to scans and view the data to determine which ids are the correct ones? Or even if it's setup/working to pickup data?
The text was updated successfully, but these errors were encountered: