Skip to content
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

No Data after Core Update or Supervisor restart #88

Open
LaCruz75 opened this issue Apr 21, 2022 · 6 comments
Open

No Data after Core Update or Supervisor restart #88

LaCruz75 opened this issue Apr 21, 2022 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@LaCruz75
Copy link

There are no data from rtl_433, when a core update was performed or supervisor was restartet. Only reboot host helps.

@deviantintegral
Copy link
Collaborator

Interesting, I've done several core upgrades in the past few weeks without issue.

Is the problem that updates aren't making it to the mqtt broker, or that home assistant isn't reading or connecting properly to mqtt?

@LaCruz75
Copy link
Author

ok, I turned logging in for rtl_433, there seems data come in. So the core restart issue belongs to the addon "rtl_433 MQTT Auto Discovery"
After manually restart this addon after a core restart, data come in.
So, how to fix that?

@deviantintegral
Copy link
Collaborator

Do you have mqtt_retain turned on in the auto discovery addon? If not, that would explain it.

@LaCruz75
Copy link
Author

LaCruz75 commented May 2, 2022

havn't set mqtt_retain..
If that is need, why is standard not true?
I had no idea if I needed that.

Thanx for your help.

@deviantintegral
Copy link
Collaborator

I'm actually not sure why it defaults to false. It was added over at 41b6e03 but that doesn't explain the thinking behind it.

I'm not sure it's completely "required". For example, I think with a device that sends updates often it will get reregistered quickly. If it's longer, such as a door sensor that only updates every few hours unless it's opened, it may lag.

What kind of sensor were you trying to read, and to confirm flipping that setting worked?

@deviantintegral deviantintegral changed the title No Data after Core Update or Supervisor retart No Data after Core Update or Supervisor restart Jun 12, 2022
@deviantintegral
Copy link
Collaborator

Let's change the default at https://github.com/pbkhrv/rtl_433-hass-addons/blob/main/rtl_433_mqtt_autodiscovery/config.json#L16 from false to true to finish up this issue.

@deviantintegral deviantintegral added this to the Next Release milestone Jun 12, 2022
@deviantintegral deviantintegral added the enhancement New feature or request label Aug 26, 2022
deviantintegral added a commit that referenced this issue Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants