Build and deploy the Matter lighting app example on an ESP32 using the esp-matter SDK and commission it with chip-tool

domain: docs.espressif.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install the esp-matter SDK and its dependencies (ESP-IDF, the Matter submodules) following the esp-matter Getting Started guide; source the environment scripts
  2. Navigate to the examples/light directory, run idf.py set-target esp32 (or your target variant), then idf.py menuconfig to configure Wi-Fi credentials and matter-specific options
  3. Build and flash: idf.py build flash monitor; observe the serial log for the QR code URL and manual pairing code
  4. On a host with chip-tool and BLE access, commission the device: chip-tool pairing ble-wifi <node_id> <ssid> <password> <pin_code> <discriminator>
  5. Toggle the light: chip-tool onoff toggle <node_id> 1 and verify the GPIO or LED state changes on the device
  6. Read the device's BasicInformation cluster to confirm vendor ID, product ID, and software version are set correctly for your product

Known gotchas

Related routes

commission a matter device onto wi-fi using chip-tool's pairing ble-wifi command
project-chip.github.io · 5 steps · unrated
Commission a Matter-over-Thread device using chip-tool and an operational Thread dataset from OTBR
project-chip.github.io · 6 steps · unrated
Add a Matter device to a second fabric using chip-tool multi-admin (open commissioning window and re-pair)
project-chip.github.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans