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

stop stats on disconnect #624

Merged
merged 1 commit into from
Oct 1, 2019
Merged

stop stats on disconnect #624

merged 1 commit into from
Oct 1, 2019

Conversation

bertmelis
Copy link
Contributor

When a device loses WiFi, it keeps MQTT connected during keepalive. Homie doesn't check for WiFi during loop -only MQTT is checked- so it keeps sending stats (and spamming serial console)

Bugfix will also prevent filling tcp buffer on long keepalives.

@stritti stritti merged commit 3a52ecc into homieiot:develop-v3 Oct 1, 2019
@bertmelis bertmelis deleted the fix_statstimer branch October 2, 2019 05:16
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

Successfully merging this pull request may close these issues.

3 participants