home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.72k stars 28.88k forks source link

Switchbot Lock Pro recognize, functional but status is always UNKNOWN #120694

Open distante opened 5 days ago

distante commented 5 days ago

The problem

After adding the Switchbot lock Pro to home assistant using the Switch hub Mini, I am able to control the device but the state is never shown, I have remove and add everything again but as soon as the lock is recognized it goes into "Unknown" state.

image

What version of Home Assistant Core has the issue?

core-2024.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Matter

Link to integration documentation on our website

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

Diagnostics information

config_entry-matter-cadadee117fc821eb92a20b92449300c (1).json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-06-27 01:02:00.604 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-06-27 01:02:14.597 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000004]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-06-27 01:02:14.597 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2024-06-27 01:02:14.598 (MainThread) INFO [matter_server.server.device_controller.node_4] Previous subscription failed with Error: 50, re-subscribing in 5921 ms...
2024-06-27 01:02:54.434 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-06-27 01:03:08.415 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000004]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-06-27 01:03:08.415 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2024-06-27 01:03:08.416 (MainThread) INFO [matter_server.server.device_controller.node_4] Previous subscription failed with Error: 50, re-subscribing in 5899 ms...
2024-06-27 01:03:08.416 (MainThread) INFO [matter_server.server.device_controller] Marked node 4 as unavailable
2024-06-27 01:03:46.506 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-06-27 01:04:00.476 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000004]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-06-27 01:04:00.476 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2024-06-27 01:04:00.477 (MainThread) INFO [matter_server.server.device_controller.node_4] Previous subscription failed with Error: 50, re-subscribing in 13600 ms...
2024-06-27 01:04:11.238 (MainThread) INFO [matter_server.server.device_controller.mdns] Node 4 re-discovered on MDNS
2024-06-27 01:04:11.238 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting-up node...
2024-06-27 01:04:11.476 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting up attributes and events subscription.
2024-06-27 01:04:12.180 (MainThread) INFO [matter_server.server.device_controller.node_4] Subscription succeeded with report interval [0, 60]
2024-06-27 01:05:16.407 (Dummy-2) CHIP_ERROR [chip.native.DMG] Subscription Liveness timeout with SubscriptionID = 0xc3868b7b, Peer = 01:0000000000000004
2024-06-27 01:05:16.408 (MainThread) INFO [matter_server.server.device_controller.node_4] Previous subscription failed with Error: 50, re-subscribing in 0 ms...
2024-06-27 01:05:17.409 (MainThread) INFO [root] Re-subscription succeeded!
2024-06-27 01:05:17.409 (MainThread) INFO [matter_server.server.device_controller.node_4] Re-Subscription succeeded
2024-06-27 02:29:49.312 (MainThread) INFO [matter_server.server.device_controller.mdns] Node 4 re-discovered on MDNS
2024-06-27 02:29:49.313 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting-up node...
2024-06-27 02:29:49.315 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting up attributes and events subscription.
2024-06-27 02:29:50.096 (MainThread) INFO [matter_server.server.device_controller.node_4] Subscription succeeded with report interval [0, 60]
2024-06-27 04:37:34.340 (MainThread) INFO [matter_server.server.device_controller.mdns] Node 4 re-discovered on MDNS
2024-06-27 04:37:34.341 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting-up node...
2024-06-27 04:37:34.343 (MainThread) INFO [matter_server.server.device_controller.node_4] Setting up attributes and events subscription.
2024-06-27 04:37:35.117 (MainThread) INFO [matter_server.server.device_controller.node_4] Subscription succeeded with report interval [0, 60]
2024-06-27 08:19:04.720 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:04.721 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:04.721 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:04.721 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:04.722 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:04.722 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.103 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.103 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.104 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.104 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.104 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.104 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.604 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.604 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.604 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.604 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.605 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:05.605 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.107 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.107 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.107 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.108 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.108 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.108 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.606 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.607 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.607 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.607 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.608 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:06.608 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.110 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.110 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.111 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.111 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.111 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 08:19:07.111 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.081 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.082 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.082 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.082 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.083 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.083 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.584 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.585 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.585 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.585 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.585 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:50.586 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.097 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.098 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.098 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.098 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.098 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.099 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.583 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.584 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.584 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.584 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.584 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:51.585 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.121 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.121 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.122 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.122 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.122 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.123 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.587 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.587 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.587 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.587 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.588 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes
2024-06-27 17:17:52.588 (Dummy-2) CHIP_ERROR [chip.native.DIS] Packet to small for mDNS data: 4 bytes


### Additional information

_No response_
home-assistant[bot] commented 5 days ago

Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `matter` 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 matter` 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)


matter documentation matter source (message by IssueLinks)