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

How do I get the current connection state (TZ-1500) #544

Open
jonasbu01 opened this issue Jan 22, 2025 · 2 comments
Open

How do I get the current connection state (TZ-1500) #544

jonasbu01 opened this issue Jan 22, 2025 · 2 comments
Labels

Comments

@jonasbu01
Copy link

Question

How do I get the current zigbee connection status? (I want to use an LED as a connection-indicator)
Thank you

Additional context.

No response

@github-actions github-actions bot changed the title How do I get the current connection state How do I get the current connection state (TZ-1500) Jan 22, 2025
@xieqinan
Copy link
Contributor

The esp_zb_bdb_dev_joined() indicates whether the device is currently on the network, while the esp_zb_bdb_is_factory_new() indicates that the device may not currently be on the network but has previously joined one.

@jonasbu01
Copy link
Author

When I unplug the Zigbee dongle, the esp_zb_bdb_dev_joined() function still returns true. However, there are no other Zigbee devices in the network, meaning the ESP32-H2 has no connection in this scenario.

Is this normal and is there another way to check if the esp32 is connected to the network?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants