esp-idf/examples/zigbee/light_sample
Harshit Malpani bbbede07d0
fix(partition_table): Check partition size for type APP
The size of partition of type APP should be multiple of 4 KB. Partition
generation tool now make this as a mandatory requirement. This is
minimum flash erase size. If the size of the APP type partition is not
aligned to 4 KB then the last erase operation could go beyond the allocated
partition and hence may fail. This issue would only be observed when the
firmware size grows very close to the allocated partition size, and hence
causing the OTA update to fail.

For already deployed devices on-field with the size of APP partition not
aligned to flash sector boundary, it is best to ensure that firmware
size always remains within the lower 4 KB boundary of the total
allocated space. While migrating to ESP-IDF 5.3 release, partition table
for an existing project can be adjusted accordingly for the build to
succeed.

Found during discussion in https://github.com/espressif/esp-idf/pull/12460
2023-12-11 10:14:57 +05:30
..
HA_on_off_light fix(partition_table): Check partition size for type APP 2023-12-11 10:14:57 +05:30
HA_on_off_switch fix(partition_table): Check partition size for type APP 2023-12-11 10:14:57 +05:30
pytest_esp_zigbee.py ci(zigbee): Add pytest for esp32h2 in CI 2023-07-13 15:15:33 +08:00
README.md esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00

Light Switch and Bulb Control Example

(See the README.md file in the upper level 'examples' directory for more information about examples.)

Overview

The folder contains examples demonstrating Zigbee Coordinator and End-Device roles

  • HA_on_off_light is a standard HA on-off light bulb example demonstrating Zigbee End-device. It provides a simple on/off condition for a Zigbee light. It runs on an 802.15.4 SoC like ESP32-H2. For more details see the example readme file.

  • HA_on_off_switch is a standard HA on-off switch example demonstrating Zigbee Coordinator role. It provides an on/off toggle to control a Zigbee HA on off light. It runs on an 802.15.4 SoC like ESP32-H2. For more details to see the example readme file.