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

Issue: Zigbee Bridge Example – Only One Device Connects; Unable to Remove Device in Home Assistant (CON-1578) #1306

Closed
iamiha opened this issue Mar 4, 2025 · 2 comments

Comments

@iamiha
Copy link

iamiha commented Mar 4, 2025

Description

I am working with the Zigbee bridge example and encountering two issues:

1. Only One Device Connects

  • I have flashed two ESP devices with the HA_on_off_light example program. However, only one device successfully connects; the other does not.
  • I added a log statement to print MAX_BRIDGED_DEVICE_COUNT, which shows a value of 14, indicating that the bridge should support multiple devices.

2. Unable to Remove Connected Device in Home Assistant

  • When attempting to remove the connected device from Home Assistant, I receive the error:
    ERROR Deleting device: failed to remove device entry, rejected by integration.
    
  • I have attached an image file illustrating this error message.

Steps to Reproduce

  1. Flash two ESP devices with the HA_on_off_light example program.
  2. Observe that only one device connects to the Zigbee bridge.
  3. Attempt to remove the connected device from Home Assistant and encounter the error message.

Expected Behavior

  • Both ESP devices should connect to the Zigbee bridge without issues.
  • Devices should be removable from Home Assistant without encountering errors.

Relevant Logs

  • Log output showing MAX_BRIDGED_DEVICE_COUNT: 14.
  • Screenshot of the Home Assistant error message when attempting to delete the device.

Environment

  • ESP-IDF Version: v5.2.3
  • ESP-Matter SDK Version: 2.0
  • Home Assistant Version: 2024.12.1
  • Hardware Used:
    • Zigbee Bridge: Zigbee Gateway V1.2 board
    • Zigbee Light: ESP32-H2

Troubleshooting Steps Taken

  • Verified that both ESP devices are flashed correctly with the HA_on_off_light example.
  • Checked network connectivity and ensured that there are no conflicts.
  • Restarted Home Assistant and attempted the removal process multiple times.

Attachments

Image

Request for Assistance

I would appreciate any guidance on:

  • Potential reasons why only one of the two ESP devices is connecting to the Zigbee bridge.
  • Steps to successfully remove or delete a connected device (using chiptool or home assistant) .

Thank you for your support!

@github-actions github-actions bot changed the title Issue: Zigbee Bridge Example – Only One Device Connects; Unable to Remove Device in Home Assistant Issue: Zigbee Bridge Example – Only One Device Connects; Unable to Remove Device in Home Assistant (CON-1578) Mar 4, 2025
@wqx6
Copy link
Contributor

wqx6 commented Mar 7, 2025

Potential reasons why only one of the two ESP devices is connecting to the Zigbee bridge.

Did you see the following logs in the second HA_onoff_light?

I (571) ESP_ZB_ON_OFF_LIGHT: Start network steering
I (3661) ESP_ZB_ON_OFF_LIGHT: Joined network successfully (Extended PAN ID: 74:4d:bd:ff:fe:62:62:6d, PAN ID: 0x2b4a, Channel:13, Short Address: 0x526b)

If you didn't get the logs, the second light didn't join the zigbee network so the bridge cannot create Matter endpoint for it. If you saw the above logs, could you send us the bridge's log so that we can analyze why the bridge didn't create Matter endpoint for the zigbee device.

Steps to successfully remove or delete a connected device (using chiptool or home assistant)

In fact, Matter controller/commissioner(chip-tool/home-assistant controller) has no way to delete a bridged device from a bridge. The bridged-devices management is only maintained by the bridge itself. Not sure why you can see the delete device button on your HA app, In my test, the DELETE button is unusable on iOS HA app.

@iamiha
Copy link
Author

iamiha commented Mar 10, 2025

solved !

@iamiha iamiha closed this as completed Mar 10, 2025
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

No branches or pull requests

2 participants