Closed liuguoping1024 closed 1 week 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!
(message by CodeOwnersMention)
matter documentation matter source (message by IssueLinks)
This is an issue of the ThirdReality bridge, its reporting the same devices under the same serial - that results in a mess. They should fix that in their implementation and then this will resolve itself.
The problem
I used a Smart Bridge MZ1 (https://3reality.com/product/smart-bridge-mz1/) to connect several Zigbee devices, but later discovered that some devices were unavailable and some were invisible. After investigation, I found the following issues:
part-1、error device json
1-1: error-1, two devices into one device, one is Window Covering, the other is sonsor.
{"area_id":"b2","config_entries":["65f8ce1b335c39d5f1a9e2d6dc4726fc"],"configuration_url":null,"connections":[],"disabled_by":null,"entry_type":null,"hw_version":"","id":"31ce9f9cc0cd93b9d67f9ce4b55f76e8","identifiers":[["matter","deviceid_E4FFD621BB0649DA-000000000000000B-13"],["matter","deviceid_E4FFD621BB0649DA-0000000000000009-14"],["matter","serial_282C02BFFFEA086D"],["matter","serial_F442500023410000"]],"labels":[],"manufacturer":"Third Reality, Inc","model":"3RSB015BZ","name_by_user":null,"name":"Window Covering","serial_number":"282C02BFFFEA086D","sw_version":"v1.00.72","via_device_id":"894e888f806f6c11860c602fdb13c43b"},
1-2: error-2, two devices into one device partly{"area_id":"b4","config_entries":["65f8ce1b335c39d5f1a9e2d6dc4726fc"],"configuration_url":null,"connections":[],"disabled_by":null,"entry_type":null,"hw_version":"","id":"09e8a2b8fbc0c0f0d7d52b67e2c177e9","identifiers":[["matter","serial_282C02BFFFE99E0B"],["matter","deviceid_E4FFD621BB0649DA-000000000000000B-14"],["matter","serial_282C02BFFFEA8813"]],"labels":[],"manufacturer":"Third Reality, Inc","model":"3RSS009Z","name_by_user":null,"name":"OnOff Switch4-2","serial_number":"282C02BFFFE99E0B","sw_version":"v1.00.19","via_device_id":"9073d4012433d251dc24d7b8b12b68e7"}
part-2:
2-1: two devices' entities mapping to one device based on "error-1", (generated by python script):
{ "index": "35", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "name": "Window Covering", "model": "3RSB015BZ", "entities": [ { "index": "0", "id": "67e7b5c2eb2b3d4d4d668f4c54c677ba", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_temperature_3", "unique_id": "E4FFD621BB0649DA-0000000000000009-14-14-TemperatureSensor-1026-0", "platform": "matter", "original_name": "Temperature" }, { "index": "0", "id": "a57d9528a3cc45772a9e946ed5c3cf5e", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_humidity_3", "unique_id": "E4FFD621BB0649DA-0000000000000009-14-14-HumiditySensor-1029-0", "platform": "matter", "original_name": "Humidity" }, { "index": "0", "id": "de1346610b0450c45df9767c54a253fc", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_battery_3", "unique_id": "E4FFD621BB0649DA-0000000000000009-14-14-PowerSource-47-12", "platform": "matter", "original_name": "Battery" }, { "index": "0", "id": "9617b2ef00863e30cdac9364a4ec436a", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_temperature_5", "unique_id": "E4FFD621BB0649DA-000000000000000B-13-13-TemperatureSensor-1026-0", "platform": "matter", "original_name": "Temperature" }, { "index": "0", "id": "b9c8a5102cb72a74c079a21366199864", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_humidity_5", "unique_id": "E4FFD621BB0649DA-000000000000000B-13-13-HumiditySensor-1029-0", "platform": "matter", "original_name": "Humidity" }, { "index": "0", "id": "8e7dd0a609e24a465152ac05d4bb248f", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "sensor.t_h_sensor_lite_battery_5", "unique_id": "E4FFD621BB0649DA-000000000000000B-13-13-PowerSource-47-12", "platform": "matter", "original_name": "Battery" }, { "index": "0", "id": "10a7b699fdecd085d19e0a1f28568bdf", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "cover.window_covering", "unique_id": "E4FFD621BB0649DA-0000000000000009-14-14-MatterCoverPositionAwareLiftAndTilt-258-10", "platform": "matter", "original_name": null }, { "index": "0", "id": "cffc36f126a8cc21dff2fd104ca6b99c", "device_id": "31ce9f9cc0cd93b9d67f9ce4b55f76e8", "entity_id": "switch.window_covering", "unique_id": "E4FFD621BB0649DA-0000000000000009-14-14-MatterSwitch-6-0", "platform": "matter", "original_name": null } ] }
2-2: error-3, a sensor is mapping to one matter bridge(https://3reality.com/product/smart-bridge-mz1/).
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"65f8ce1b335c39d5f1a9e2d6dc4726fc","device_class":null,"device_id":"9073d4012433d251dc24d7b8b12b68e7","disabled_by":null,"entity_category":null,"entity_id":**"sensor.bridge_4_temperature"**,"hidden_by":null,"icon":null,"id":"0f3f4704a471fc5ba04bba9c6a8398c8","has_entity_name":true,"labels":[],"name":null,"options":{"conversation":{"should_expose":true}}
device id: 9073d4012433d251dc24d7b8b12b68e7 is mapping to a bridge.What version of Home Assistant Core has the issue?
2024.6.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
matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Here is the bridge: {"area_id":"b2","config_entries":["65f8ce1b335c39d5f1a9e2d6dc4726fc"],"configuration_url":null,"connections":[],"disabled_by":null,"entry_type":null,"hw_version":"1.0.0","id":"894e888f806f6c11860c602fdb13c43b","identifiers":[["matter","deviceid_E4FFD621BB0649DA-0000000000000009-MatterNodeDevice"],["matter","serial_3RM04-3455-00709"]],"labels":[],"manufacturer":"ThirdReality","model":"Smart Bridge MZ1","name_by_user":null,"name":"Bridge 2","serial_number":"3RM04-3455-00709","sw_version":"v1.00.68","via_device_id":null},
{"area_id":"b4","config_entries":["65f8ce1b335c39d5f1a9e2d6dc4726fc"],"configuration_url":null,"connections":[],"disabled_by":null,"entry_type":null,"hw_version":"1.0.0","id":"9073d4012433d251dc24d7b8b12b68e7","identifiers":[["matter","deviceid_E4FFD621BB0649DA-000000000000000B-MatterNodeDevice"],["matter","serial_3RM04-3455-00718"]],"labels":[],"manufacturer":"ThirdReality","model":"Smart Bridge MZ1","name_by_user":null,"name":"Bridge 4","serial_number":"3RM04-3455-00718","sw_version":"v1.00.68","via_device_id":null}