bilan / connectlife-api-connector

Connectlife API proxy / MQTT Home Assistant integration
67 stars 17 forks source link

Delay start of add on? #16

Open harishvelli opened 7 months ago

harishvelli commented 7 months ago

I've noticed when HASS is rebooted the devices go unavailable on mqtt. I believe this is because the addon is starting before mqtt.

A quick reboot of the plugin brings the devices online. Is there a way we can add logic to delay the start of the plugin or keep polling mqtt until it becomes available?

bilan commented 7 months ago

I will try to fix that in future versions.

For now you can use: service: hassio.addon_start
and event: homeassistant_start

to make an automation and restart connectlife-api-connector addon after some delay after home assistant startup.

bilan commented 7 months ago

Should be fixed in v2.1.1

harishvelli commented 6 months ago

Still having the same issue on 2.1.1.

bilan commented 6 months ago

I need your addon logs.

bilan commented 6 months ago

Please check if the problem is fixed in newest v2.1.2.