Delay MQTT connecting on Ethernet

Hy,

I tried to find a solution as to how would one go about delaying the MQTT component on boot so the Nextion display would boot up first and also receive the retained messages from the broker. Right now the broker does send out to the ESP32-POE-ISO the retained messages but the Nextion display is not yet set up because… Well… There is a lot in there now, like a complete hmi… So it takes a bit more time to boot.

Any ideas?

Thank you

Hi and313,

It is an add-on, so in the add-on set-up screen turn off start on boot.

Then using the homeassistant_start trigger, delay from start-up however long you like and use the action to start the add-on then.

Automation Trigger - Home Assistant.

How to start/stop Add-ons via command in HA - #2 by aceindy.