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

Add repeater and bridge for Zigbee #10877

Open
1 task done
DaTTcz opened this issue Jan 18, 2025 · 3 comments
Open
1 task done

Add repeater and bridge for Zigbee #10877

DaTTcz opened this issue Jan 18, 2025 · 3 comments
Assignees
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32

Comments

@DaTTcz
Copy link

DaTTcz commented Jan 18, 2025

Related area

Zigbee

Hardware specification

ESP32-C6

Is your feature request related to a problem?

I miss using ESP32-C6 as a repeater in Zigbee.
And much greater using ESP32-C6 as a bridge in Zigbee. For example between Zigbee and MQTT(via LAN module) or Zigbee and RS485 MySensors.

Describe the solution you'd like

As Integration in an existing system.

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@DaTTcz DaTTcz added the Type: Feature request Feature request for Arduino ESP32 label Jan 18, 2025
@Greginkansas
Copy link

Add these lines for a repeater

#ifndef ZIGBEE_MODE_ZCZR /////////////// Router here

esp_zb_cfg_t zigbeeConfig = ZIGBEE_DEFAULT_ROUTER_CONFIG(); //////////////// Router here

@P-R-O-C-H-Y
Copy link
Member

Hi @DaTTcz,

to use the device as a router (repeater), all you need is to select this role in the call Zigbee.begin():

Roles defined in the ZigbeeCore.h:

// enum of Zigbee Roles
typedef enum {
  ZIGBEE_COORDINATOR = 0,
  ZIGBEE_ROUTER = 1,
  ZIGBEE_END_DEVICE = 2
} zigbee_role_t;

Zigbee.begin call in your sketch:
Zigbee.begin(ZIGBEE_ROUTER);

About the second part, the bridge (gateway) is a more complex stuff. For this I currently recommend to move using esp-zigbee-sdk directly. This is not currently on the roadmap, but it may be added in future.

@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Jan 20, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y added the Area: Zigbee Issues and Feature Request about Zigbee label Jan 20, 2025
@DaTTcz
Copy link
Author

DaTTcz commented Jan 20, 2025

Hi @DaTTcz,

to use the device as a router (repeater), all you need is to select this role in the call Zigbee.begin():

Roles defined in the ZigbeeCore.h:

// enum of Zigbee Roles
typedef enum {
  ZIGBEE_COORDINATOR = 0,
  ZIGBEE_ROUTER = 1,
  ZIGBEE_END_DEVICE = 2
} zigbee_role_t;

Zigbee.begin call in your sketch: Zigbee.begin(ZIGBEE_ROUTER);

About the second part, the bridge (gateway) is a more complex stuff. For this I currently recommend to move using esp-zigbee-sdk directly. This is not currently on the roadmap, but it may be added in future.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

No branches or pull requests

3 participants