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

add reconnectInterval as parameter #33

Merged
merged 1 commit into from
Nov 14, 2024
Merged

add reconnectInterval as parameter #33

merged 1 commit into from
Nov 14, 2024

Conversation

maniekes
Copy link
Contributor

I've encountered a similar issue to the one discussed in issue #25 regarding deep sleep behavior. After some testing, I believe introducing a single parameter could help address these concerns.

In my setup, I created a "smartknob" on ESPHome, which connects to OpenHAB. This device remains in deep sleep 99% of the time, only waking up when picked up. Waiting 20-40 seconds for OpenHAB to ping the device upon waking can be quite inconvenient. To improve this, I've made the ping interval configurable, with a default value of 20 seconds as it was previously.

Please let me know your thoughts on this PR and whether it might help other use cases as well.

@seime seime merged commit 90e7023 into seime:master Nov 14, 2024
1 check passed
@magx2
Copy link

magx2 commented Nov 14, 2024

@seime Will you gonna release it?

@seime
Copy link
Owner

seime commented Nov 14, 2024

It was released as part of the merge build :)

@magx2
Copy link

magx2 commented Nov 14, 2024 via email

@seime seime mentioned this pull request Dec 14, 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

Successfully merging this pull request may close these issues.

3 participants