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

Adding Sonoff sensor support for Matter Zigbee Bridge example (CON-1452) #1189

Open
CreLab opened this issue Dec 3, 2024 · 1 comment
Open

Comments

@CreLab
Copy link

CreLab commented Dec 3, 2024

Is it possible to add Sonoff sensors to the Matter Zigbee Bridge, especially temperature and humidity sensors?

I have installed the Matter Zigbee Bridge on my Espressif Zigbee Gateway board and successfully added it to the Home Assistant. But I can't find a solution to add a Sonoff sensor to the Matter Zigbee Bridge.

Please give me more information on how to add sensors to the Matter Zigbee Bridge. And if it is not supported, how can I add this feature to the Matter Zigbee Bridge source code example?

@github-actions github-actions bot changed the title Adding Sonoff sensor support for Matter Zigbee Bridge example Adding Sonoff sensor support for Matter Zigbee Bridge example (CON-1452) Dec 3, 2024
@wqx6
Copy link
Contributor

wqx6 commented Dec 18, 2024

Hi, does the sonoff sensor use install code to join a ZigBee network?
If yes, you can call esp_zb_zdo_permit_joining_req() and esp_zb_secur_ic_add() to allow the sensor end device joining the network. And you should also add the device type of the sensor to the create_bridge_devices(). so that the dynamic endpoint can be added to the matter data model after the sensor joins the zigbee network.
If no, you need to find the way how the sonoff sensor joins a ZigBee network, and add it to the Zigbee network.

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