{"id":24881686,"url":"https://github.com/technoo10201/esp32-c6-zigbee-example-platformio","last_synced_at":"2025-07-02T09:04:58.601Z","repository":{"id":275211259,"uuid":"925418659","full_name":"technoo10201/esp32-c6-zigbee-example-platformio","owner":"technoo10201","description":"An ESP32 C6 Zigbee light bulnb on/off example with platformio","archived":false,"fork":false,"pushed_at":"2025-02-19T21:03:28.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T07:15:27.221Z","etag":null,"topics":["arduino","esp32","esp32c6","home-assistant","platformio","platformio-arduino","zigbee","zigbee2mqtt"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technoo10201.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-31T20:58:53.000Z","updated_at":"2025-03-17T19:24:29.000Z","dependencies_parsed_at":"2025-01-31T22:30:11.209Z","dependency_job_id":null,"html_url":"https://github.com/technoo10201/esp32-c6-zigbee-example-platformio","commit_stats":null,"previous_names":["technoo10201/esp32-c6-zigbee-example-platformio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/technoo10201/esp32-c6-zigbee-example-platformio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technoo10201%2Fesp32-c6-zigbee-example-platformio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technoo10201%2Fesp32-c6-zigbee-example-platformio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technoo10201%2Fesp32-c6-zigbee-example-platformio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technoo10201%2Fesp32-c6-zigbee-example-platformio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technoo10201","download_url":"https://codeload.github.com/technoo10201/esp32-c6-zigbee-example-platformio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technoo10201%2Fesp32-c6-zigbee-example-platformio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108809,"owners_count":23415005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","esp32","esp32c6","home-assistant","platformio","platformio-arduino","zigbee","zigbee2mqtt"],"created_at":"2025-02-01T12:13:12.368Z","updated_at":"2025-07-02T09:04:58.581Z","avatar_url":"https://github.com/technoo10201.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-C6 Zigbee Light Bulb Example\n\nThis repository contains an example code to flash an ESP32-C6 and enable Zigbee functionality, allowing it to be discovered as an on/off light bulb. This project is designed to be used with PlatformIO.\n\n## Prerequisites\n\nBefore getting started, ensure you have the following installed on your machine:\n\n- [PlatformIO](https://platformio.org/) (recommended for dependency management and flashing)\n- [ESP-IDF](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html) (if you prefer using ESP-IDF directly)\n- An ESP32-C6 with Zigbee-compatible firmware\n- A development environment configured for PlatformIO (e.g., VSCode with the PlatformIO extension)\n\n## Repository Structure\n\n- `src/`: Contains the application source code.\n- `include/`: Contains header files.\n- `partitions.csv`: Partition table file for the ESP32-C6.\n- `platformio.ini`: PlatformIO configuration file.\n\n## Flashing the ESP32-C6\n\n### 1. Clone the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/technoo10201/esp32-c6-zigbee-example-platformio\ncd esp32-c6-zigbee-example-platformio\n```\n\n### 2. Configure PlatformIO\n\nOpen the project in VSCode with PlatformIO. Ensure the platformio.ini file is properly configured for your environment.\n\n### 3. Flash the Partitions\n\nBefore flashing the code, you need to flash the partitions to the ESP32-C6.\nUse the following command in the PlatformIO terminal:\n```bash\npio run --target uploadfs\n```\n\nThis will flash the partitions defined in partitions.csv to the ESP32-C6.\n\n### 4. Flash the Code\n\nOnce the partitions are flashed, you can flash the code to the ESP32-C6 using the following command:\n```bash\npio run --target upload\n```\n\n### 5. Monitor the Output\n\nTo view the logs from the ESP32-C6, use the following command:\n```bash\npio device monitor\n```\n\n### Zigbee Light Bulb Discovery\n\nOnce the code is flashed, the ESP32-C6 should be discovered as a Zigbee light bulb in your Zigbee network.\nYou can use a Zigbee control application (such as Zigbee2MQTT or a compatible app) to interact with the light bulb.\n\n\nThe main code is located in src/main.cpp. It implements a basic Zigbee light bulb with the following features:\n\n- Turn the light bulb on/off\n- Respond to Zigbee commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnoo10201%2Fesp32-c6-zigbee-example-platformio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnoo10201%2Fesp32-c6-zigbee-example-platformio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnoo10201%2Fesp32-c6-zigbee-example-platformio/lists"}