rtl_433-hass-addons icon indicating copy to clipboard operation
rtl_433-hass-addons copied to clipboard

No Data after Core Update or Supervisor restart

Open LaCruz75 opened this issue 2 years ago • 6 comments

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

LaCruz75 avatar Apr 21 '22 05:04 LaCruz75

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?

deviantintegral avatar Apr 25 '22 15:04 deviantintegral

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?

LaCruz75 avatar Apr 28 '22 06:04 LaCruz75

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

deviantintegral avatar Apr 28 '22 12:04 deviantintegral

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.

LaCruz75 avatar May 02 '22 07:05 LaCruz75

I'm actually not sure why it defaults to false. It was added over at https://github.com/pbkhrv/rtl_433-hass-addons/commit/41b6e03bbcb1acf1fb66d7915637042e829ba669 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 avatar May 09 '22 18:05 deviantintegral

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 avatar Jun 12 '22 18:06 deviantintegral