hassio_addons icon indicating copy to clipboard operation
hassio_addons copied to clipboard

MQTT Availability topic goes offline randomly.

Open Yersi88 opened this issue 3 years ago • 3 comments

image

Availability topic goes offline even though other entities still work fine and update regularly. This makes the default auto-discovered mqtt sensors go unavailable even though they are still being updated.

Solution is to restart addon, it will work again for couple of days or hours. Alternative solution is to create mqtt sensors in configuration.yaml without availability topic included.

Yersi88 avatar Nov 14 '21 12:11 Yersi88

I'm not sure on this one yet. Trying to track down what could be making it go offline.

thejeffreystone avatar Nov 20 '21 02:11 thejeffreystone

I'm not seeing an availability_template that actually makes the resulting entities register as offline either. I may be missing how this is supposed to work.

If I get a chance I will test out https://www.home-assistant.io/integrations/binary_sensor.mqtt/#expire_after and see if that works and PR if it does.

doozers-do avatar Feb 18 '22 19:02 doozers-do

Auto discovered MQTT entities go offline. I made a workaround and created them manually, which are fine!

Yersi88 avatar Feb 19 '22 14:02 Yersi88