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

Reconnect Neccessary #26

Open
ApolloSK opened this issue Dec 11, 2023 · 3 comments
Open

Reconnect Neccessary #26

ApolloSK opened this issue Dec 11, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@ApolloSK
Copy link

Describe the bug

Since ecoflow's MQTT stops sending regularly, especially when the app is used and completely closed,
Please install a monitoring of the last incoming messages. If nothing new comes from PowerStream for 5 minutes,
the connection to the MQTT should completely rebuilt.

@foxthefox foxthefox added the enhancement New feature or request label Dec 12, 2023
@foxthefox
Copy link
Owner

I will think about a proper reconnection.
What should happen in your opinion when the device is switched OFF? In such cases there will no mqtt packets send.

@foxthefox
Copy link
Owner

I have created a checkbox in the config page, checking it enables the reconnection.
Please have a trial with version 0.0.13 if it satisfacatory.
Hopefully the reconnect counter is not increasing too much.

@foxthefox
Copy link
Owner

in the meantime I have implemented a cyclic trigger to get data from power stream, that should replace the reconnection.
the option is still there, but would only indicate if there were no telegrams received in 10min. it would be an indicator that really a reconnection would be needed

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

No branches or pull requests

2 participants