Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkabilov/esp32c6-zigbee-sample

sample project
https://github.com/mkabilov/esp32c6-zigbee-sample

Last synced: about 1 month ago
JSON representation

sample project

Awesome Lists containing this project

README

        

# ESP32C6 Zigbee sample project

## Wiring

RGB led with common cathode is used,
mind the resistors, they're not shown here

```
LED ESP32
--- -----
LED_RED --> GPIO_NUM_21
LED_GREEN --> GPIO_NUM_22
LED_BLUE --> GPIO_NUM_23

LED_GND --> GND
```

## Set the target to esp32-c6:
```bash
idf.py set-target esp32c6
```

## Build:
```bash
idf.py build
```

## Erase flash and flash:
```bash
idf.py erase-flash flash
```

## and optionally monitor:
```bash
idf.py monitor
```

## Zigbee2MQTT side:
put `esp32_lamp.js` into the `/opt/zigbee2mqtt/data` dir,
edit configuration.yaml:
```yaml
...
external_converters:
- esp32_lamp.js
...
```