-
-
Notifications
You must be signed in to change notification settings - Fork 160
Add Secure MQTT-based lock control for Smart Lock C30 (T85D0) #797
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
Open
nick-pape
wants to merge
23
commits into
bropat:develop
Choose a base branch
from
nick-pape:feat/t85d0-smart-lock-c30
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
daf2f22
Add Smart Lock C30 (T85D0) device support
nick-pape 253782c
Add MQTT-based lock control for T85D0 Smart Lock C30
nick-pape c65c149
Add T85D0 Smart Lock C30 protocol specification
nick-pape 57a92c4
Add usesSecurityMqtt() helper and remove hardcoded T85D0 references
nick-pape 2b0f73d
Refactor SecurityMQTTService: interfaces, enums, doc comments, naming
nick-pape f318f96
Add unit tests for SecurityMQTTService protocol parsing
nick-pape 7501d66
Extract BleLockProtocol, add cmd/cmd_status enums, split authenticate…
nick-pape fd7ec46
Add T85D0 to P2P property update and user password conditional checks
nick-pape c01e193
Move protocol spec to dev-docs, add Smart Lock C30 to supported devices
nick-pape 8de9266
Add Smart Lock C30 (T85D0) product image to docs
nick-pape 45e3be7
Add related issues research for MQTT lock support
nick-pape b5b922d
Enable TLS certificate verification for security MQTT broker
nick-pape 2b3bc8d
Remove related-issues.md (moved to PR description)
nick-pape 96c6d0a
Replace text-art diagrams with GitHub Mermaid in protocol spec
nick-pape 2d26445
Fix Mermaid diagrams: use <br/> for line breaks, convert auth flow to…
nick-pape 09a532e
Eliminate EufyHome login from SecurityMQTTService
nick-pape 727e426
Address PR review: remove section dividers, use @remarks tag
nick-pape 6c51b10
Fix duplicate isLockWifiT85D0 from rebase
nick-pape 2de9c5d
Remove duplicate T85D0 images (upstream already has them)
nick-pape 8aa8a83
Merge remote-tracking branch 'upstream/develop' into feat/t85d0-smart…
nick-pape bdd350e
style: prettier-format SecurityMQTT and BLE lock protocol files
nick-pape 5530c6b
Route T85L0 Smart Lock through the security-MQTT path
nick-pape 1187cf6
style: prettier-format p2p/utils.ts (lowercase hex literal)
nick-pape File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋🏻 Testing with my T85L0 is working well, the only problem is the default 10 min delay in status updating. I found that forcing a cloud API refresh after the successful state change command that doesn't adhere to the global API refresh timer worked well when set to 7 seconds (it's not too aggressive). You could just add that bit from this (the 7 second cloud refresh) but I wrapped the commands in some retry behavior as well with some backoff in case anything is temporarily unresponsive.