Skip to content

volkerp/ESP32C6_Zigbee_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ESP32C6_Zigbee_Example

Use Zigbee with ESP32C6 and Arduino

Turns a ESP32C6 dev board into a dimmable zigbee light.

Arduino setup

  • Add ESP32 board support in Arduino File :: Preferences :: Add. boards manager URLs Add https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json (notice the dev for development/alpha)
  • In Tools :: Board :: Boards Manager search for 'esp32 by Expressif Systems', install 3.0.0-alphaX release
  • Select your board from the Tools :: Board menu. E.g. ESP32C6 Dev Module
  • Select Tools :: Partition Scheme Zigbee 4MB with spiffs
  • Select Tools :: Zigbee Mode Zigbee ED (end device)
  • Select Tools :: Core Debug Level Verbose to get log output in the serial monitor

Reset device

For reset/rejoin uncomment the line that reads esp_zb_nvram_erase_at_start(true);

zigbee2mqtt external definition

const {identify, light} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['LedLight'],
    model: 'LedLight',
    vendor: 'DIY',
    description: 'ESP32C6',
    extend: [identify(), light()],
    meta: {},
};

module.exports = definition;