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

Switchbot Lock Pro: Lock / Open status not properly reported #121254

Closed
ollo69 opened this issue Jul 4, 2024 · 5 comments · Fixed by #121804
Closed

Switchbot Lock Pro: Lock / Open status not properly reported #121254

ollo69 opened this issue Jul 4, 2024 · 5 comments · Fixed by #121804

Comments

@ollo69
Copy link
Contributor

ollo69 commented Jul 4, 2024

The problem

The status of my Switchbot Lock Pro (supported from core 2024.7.0) is not reported properly. When the lock is unlocked, it appear as unlocked for few seconds, than come back to locked. The binary sensor that represent the status of the door is always in status closed. All these informations are properly reported by SwitchBot app.

Let me know any kind of information that I can provide you to help to analyze the issue (info from debug or any other kind of test, may be directly using the library)

Thanks.

What version of Home Assistant Core has the issue?

core-2024.7.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

SwitchBot Bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switchbot

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jul 4, 2024

Hey there @Danielhiversen, @RenierM26, @murtas, @Eloston, @dsypniewski, mind taking a look at this issue as it has been labeled with an integration (switchbot) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of switchbot can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign switchbot Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


switchbot documentation
switchbot source
(message by IssueLinks)

@Jogiarea
Copy link

Jogiarea commented Jul 8, 2024

I can confirm the same problem for me, no feedback in HA for door status, but it is displayed correctly in the smartphone app

@wunderbaum
Copy link

Same here, when the door is locked, the status keeps to be locked and green in the gui.
When somebody opens the door(by app, manually etc), it first goes to state red, after a while, it changes in state "yellow" and I cannot unlatch it to open it in the gui. I have to close it first and then can open it.
Connection is via a bluetooth-proxy with active connection set to true.

Sometimes, when I open it via home assistant, it starts to flicker wildly in the webcard from red, to yellow and in the logfile its changing state several times within seconds.

@richsimpson
Copy link

richsimpson commented Jul 10, 2024

Same issue is presenting for me too. Showing Locked in HASS after a short time when the status is Unlocked.
Was fine via matter previously with the lower level of support, over Bluetooth with the higher level of supported features (battery, door state etc) the lock reverts to thinking it is locked.

Following a reboot, if you hit unlock on HASS, the lock will beep and go to unlocked. That is the right synced state now with the lock and the switchbot app.

Sometimes its seconds, other times minutes to drop back to the incorrect locked status.

Might be useful: I left the original matter connection live, just under a different name (front_door_lock / matter_front_door_lock) and the matter entity remains accurate.
Lock was unlocked overnight (due to automation failing thinking door was locked already)
You can also see where the status is different which is where the bluetooth version drops to the wrong state of locked at times.

image

@richsimpson
Copy link

Edit - I have updated my automation and the lock entity on my dashboards etc to the matter version for now and will monitor for updates.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants