Open BigBill2000 opened 1 year ago
I am dealing with the same log messages. Started with the HA updates this month.
Until there is a fix... I have this automation...
BTW, I only use a single frequency. How well is yours working with 3?
- id: Restart_RTL-SDR_if_no_data
alias: Restart RTL-SDR if no data
trigger:
- platform: state
entity_id: sensor.acurite_porch_f
for: "00:15:00"
- platform: state
entity_id: sensor.acurite_stairs_f
for: "00:15:00"
action:
- service: hassio.addon_restart
data:
addon: d63406df_sdr2mqtt
- service: notify.sms_matt
data:
message: "SDR-MQTT restarted after 15 minute inactivity!"
Thanks Matt! I'm using your automation now and it's working great, had to extend to 30 min since I switch between 433 and 915 and don't always catch the updates. Great for a work around
Thanks Matt! I'm using your automation now and it's working great, had to extend to 30 min since I switch between 433 and 915 and don't always catch the updates. Great for a work around
I am happy to help when I can. This code and off frequency devices are a god send to me. I have 40'ish wifi devices in my network, network engineer by trade for 30 years, but some sensors should not be wifi... t&h are among those. I do not have a zigbee install other than a Hue hub and do not want to go down that path. The author has been very helpful in the past and I am sure he will be soon with your case and now mine. I have a couple of the Shelly h&t sensors and the expensive batteries and short life of the batteries made them a regrettable purchase. With the Acurite units I get months of use from nimh cells and no wifi interference. As cheap as SDR's are, I will likely add another one if I want another frequency as it is supported by this software.
Hey, if you are getting false triggers... I forgot to put "" around the alias name and it seems to maybe have cause false triggers.
Change to:
alias: "Restart RTL-SDR if no data"
I had a similar issue where my radio was showing as disconnected with "Check your RTL_SDR dongle" error. I tried multiple USB ports with no luck. I ended up using a short USB extension cable so the radio isn't supported by just the USB port. It's currently laying on top of my PC but hoping to find a better solution in the future. Since making the change I have not had any issues over the last week. Might be worth a try if you have a USB extension cable or hub laying around.
I have tried using this with extension cables from 6 inches to 3 feet and this seems to make no difference.
After the latest train of Home Assistant was installed, my RTL-SDR has been very unreliable.
MQTT Connection established.
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
cb transfer status: 5, canceling...
LIBUSB_ERROR_NOT_FOUND: Entity not found!
Check your RTL-SDR dongle, USB cables, and power supply.
WARNING: async read failed (-5).
Library error -5, exiting...
A simple restart of the addon makes it work a day or 2, but that is about it.
Home Assistant 2022.11.2 Supervisor 2022.10.2 Operating System 9.3 Frontend 20221108.0 - latest
Have been running just over a month now and constantly loosing connection. It happens at almost the exact same interval, last times were 2 days, 2 hours, 12 minutes and 2 days, 2 hours, 20 minutes. Very strange it is almost a pattern. Will see if it follows this 2 days from now. Running HA Blue, all latest. Tried 2 different USB ports on HA, but same. Tuner is Rafael Micro R820T tuner, I am running 433.92 and 915 with switching every 130 seconds. Thanks. Error log= Tuned to 433.920MHZ. Tuned to 915.000MHz. Tuned to 433.920MHZ. LIBUSB_ERROR_NOT_FOUND: Entity not found! Check your RTL_SDR dongle, USB cables, and power supply. Tuned to 915.000MHz. WARNING: async read failed (-5). Library error -5, exiting...