Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Reconnection to mqtt server when connection lost #705

Closed
tp1de opened this issue Feb 17, 2021 · 2 comments
Closed

Reconnection to mqtt server when connection lost #705

tp1de opened this issue Feb 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@tp1de
Copy link

tp1de commented Feb 17, 2021

When mqqt server connection is lost (e.g. while mqqt server is restarted after sw-update) then ems-esp does not automatically reconnect. This has to be done manually.

I suggest that when connection is lost, every minute a reconnection try should be done.

@tp1de tp1de added the bug Something isn't working label Feb 17, 2021
@proddy
Copy link
Collaborator

proddy commented Feb 17, 2021

I'm pretty sure it does reconnect, but I'll recheck...

@tp1de
Copy link
Author

tp1de commented Feb 18, 2021

Hi @proddy,
I tested again and I can comfirm that the mqtt reconnection works if I shutdown the mqtt broker/server for some minutes.
Yesterday I updated the server and mqtt broker was down for approx. 40 minutes. Other mqtt clients reconnected afterwards but ems-esp does not. So I opened this issue.

I will further observe but in the meantime I will close this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants