Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ dependencies:
espressif/esp_modem:
version: "^1.1.0"
espressif/esp-zboss-lib:
version: "==1.6.3"
version: "==1.6.4" # compatible with esp-zigbee-lib 1.6.5
require: public
rules:
- if: "target not in [esp32c2, esp32p4]"
espressif/esp-zigbee-lib:
version: "==1.6.3"
version: "==1.6.5"
require: public
rules:
- if: "target not in [esp32c2, esp32p4]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"fqbn_append": "PartitionScheme=zigbee_zczr,ZigbeeMode=zczr",
"requires": [
"CONFIG_SOC_IEEE802154_SUPPORTED=y"
"CONFIG_ZB_ENABLED=y"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@

/* Zigbee power outlet configuration */
#define ZIGBEE_OUTLET_ENDPOINT 1
uint8_t led = RGB_BUILTIN;

#ifdef LED_BUILTIN // Use built-in LED if defined for the board
uint8_t led = LED_BUILTIN;
#else
uint8_t led = 2; // Use custom LED pin
#endif

uint8_t button = BOOT_PIN;

ZigbeePowerOutlet zbOutlet = ZigbeePowerOutlet(ZIGBEE_OUTLET_ENDPOINT);
Expand Down
1 change: 0 additions & 1 deletion libraries/Zigbee/examples/Zigbee_Power_Outlet/ci.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"fqbn_append": "PartitionScheme=zigbee_zczr,ZigbeeMode=zczr",
"requires": [
"CONFIG_SOC_IEEE802154_SUPPORTED=y",
"CONFIG_ZB_ENABLED=y"
]
}