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

Feature Request: Implement -adt 0 Option in keyble-mqtt for Persistent Connection #5

Open
R3ITOSv87 opened this issue Jun 15, 2023 · 0 comments

Comments

@R3ITOSv87
Copy link

Issue: The current implementation of keyble-mqtt does not support the -adt 0 option available in keyble-sendcommand. This option allows for a persistent connection to the smart lock, reducing the command execution delay from 5-10 seconds to approximately 1-1.5 seconds.

Steps to Reproduce:

  1. Install keyble and keyble-mqtt using the standard installation process.
  2. Send a command to the smart lock via keyble-sendcommand --command open.
  3. Observe the delay before the smart lock executes the command.

Expected Result: The command is executed with minimal delay.

Actual Result: There is a delay of 5-10 seconds before the command is executed.

Proposed Solution: Implement the -adt 0 option in keyble-mqtt to allow for a persistent connection to the smart lock. This would reduce the command execution delay, improving user experience.

Potential Implications: A persistent connection may prevent other devices from connecting to the smart lock and could potentially increase battery usage. However, the benefits of reduced delay may outweigh these potential downsides for many users.

Request: Please consider adding support for the -adt 0 option in keyble-mqtt.

I would be happy to assist with the implementation if provided with the right approach.

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

1 participant