Skip to content

Conversation

@melsawy93
Copy link

This adds support to C30 and E330 locks. It reports battery, lock status (unlocked or locked). I did expose a property to lock or unlock but that doesnt work. These locks dont support P2P afaik or im missing something. I suspect they use MQTT that I am not sure how to get working but atleast this is something better than nothing.

feat: Add Eufy Smart Lock C30 (T85D0) support

- Add LOCK_85D0 device type with complete property set
- Update all station methods for full C30 functionality
- Add device detection and serial number recognition
- Enable push notifications and event processing
- Fix StationCommands corruption bug

C30 locks now have full feature parity with C220/C210 models.
Adds a new method to determine if a device is a T85D0 lock, which is necessary for proper device identification and functionality within the application.
Adds support for detecting standard wifi locks and also considers the T8531 model.
For non-integrated locks connected to a separate HomeBase, the device's channel is now explicitly included in the unlock command payload. This ensures that the command is routed to the correct device.

Adds channel parameter to debug log output.
@melsawy93
Copy link
Author

Update: E330 now works for full features (lock status, locking & unlocking, battery). C30 is only missing the controlling feature (locking and unlocking) but reports everything else accurately. Tested locally. @martijnpoppen please review.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's hard to see any changes as the whole file is reformatted. Please use the same indentation

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, sorry about that.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest commit should show the changes there cleanly.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sill shows 9k lines changed. Can you skip the prettier on the file?
We will enforce the prettier in the next few weeks but for now it is easier to keep as it is.

@martijnpoppen martijnpoppen requested a review from max246 December 1, 2025 12:48
@melsawy93
Copy link
Author

@max246 @bropat @martijnpoppen any review?

@max246
Copy link
Collaborator

max246 commented Dec 15, 2025

@max246 @bropat @martijnpoppen any review?

sorry been busy on refactorig some code, will give a look tomorrow :)

@@ -1,12 +1,12 @@
{
"name": "eufy-security-client",
"version": "3.1.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to rebase to the new develop

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sill shows 9k lines changed. Can you skip the prettier on the file?
We will enforce the prettier in the next few weeks but for now it is easier to keep as it is.

@max246
Copy link
Collaborator

max246 commented Dec 16, 2025

Just need to restore the formatting as it was before, sorry I know it is ugly but we will take care of it in the future, I have a PR open for it.

And rebase so we dont have package changes.

Then I will approve it.

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