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

Restart hub necessary after Homey restart #96

Open
robvos opened this issue Nov 13, 2023 · 1 comment
Open

Restart hub necessary after Homey restart #96

robvos opened this issue Nov 13, 2023 · 1 comment

Comments

@robvos
Copy link

robvos commented Nov 13, 2023

After Homey is restarted, mqtt hub won't work or not al devices are broadcasted.
After I restart mqtt hub everything is OK.

Is this normal?
Is there a way to delay mqtt hub to be started?

@RonnyWinkler
Copy link

Just saw this comment right now.
You can use a workadound with a flow:

  1. Take over the HA online state in a variable
    That prevents app restarte on every topic update.
    grafik

  2. If the state changes (offline>online), the restart the MQTT Hub.
    grafik

This brings your devices online again after a HA restart.

On Homey restart you can start a flow and restart the Hub with a delay.
Homey restart trigger and app restart actions are shown after activating the Homey Experiments in Homey settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants