You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
allenb2800
pushed a commit
to allenb2800/arduino-home-assistant
that referenced
this issue
May 31, 2023
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.
The text was updated successfully, but these errors were encountered: