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

Request for changing KeepAlive of mqtt connection #153

Closed
thierry7100 opened this issue Mar 26, 2023 · 0 comments
Closed

Request for changing KeepAlive of mqtt connection #153

thierry7100 opened this issue Mar 26, 2023 · 0 comments

Comments

@thierry7100
Copy link

Hi,

I am using this library on several project with success; However, for one among them which is using deep sleep (my ESP32 wakes up every 5mn) I have a problem. The default keepalive is 15s in the PubSub library so after 15s, my device is reported as offline by home assistant. I have just added a one line function in hamqqtt.cpp to be able to set the keepalive time in the PubSub object and it is working fine (I use 350s keepalive).
Would it be possible to enhance the library in a future release ?

Thanks in advance.

allenb2800 pushed a commit to allenb2800/arduino-home-assistant that referenced this issue May 31, 2023
@dawidchyrzynski dawidchyrzynski added the selected for development Feature will be implemented in the next version label Jul 1, 2023
dawidchyrzynski pushed a commit that referenced this issue Jan 31, 2024
Co-authored-by: Allen Benter <allen.benter@dpi.nsw.gov.au>
@dawidchyrzynski dawidchyrzynski removed the selected for development Feature will be implemented in the next version label Jan 31, 2024
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