Skip to content

🔌 ESP32 Matter Based Multi Plug device

Notifications You must be signed in to change notification settings

tanishqmanuja/matter.multi-plug-device

Repository files navigation

Multi Plug

This example creates a Multi Plug device using the ESP Matter data model.

See the docs for more information about building and flashing the firmware.

Flashing Factory Partition

esptool.py write_flash 0x10000 mfg_binaries/*.bin

Generating Factory Partition

  1. Genrate the Certification Declaration
out/host/chip-cert gen-cd -f 1 -V 0xFFF1 -p 0x8001 -d 0x0016 \
                          -c "CSA00000SWC00000-01" -l 0 -i 0 -n 1 -t 0 \
                          -K credentials/test/certification-declaration/Chip-Test-CD-Signing-Key.pem \
                          -C credentials/test/certification-declaration/Chip-Test-CD-Signing-Cert.pem \
                          -O TEST_CD_FFF1_8001.der
  1. Generate the Factory Partition image & related files
./mfg_tool.py --passcode 89674523 \
              --discriminator 2245 \
              -cd TEST_CD_FFF1_8001.der \
              -cn Plug \
              -v 0xFFF1 --vendor-name Espressif \
              -p 0x8001 --product-name "Multi Plug" \
              --hw-ver 1 --hw-ver-str DevKit \
              --fixed-labels "0/fixedname/Multi Plug" "1/fixedname/Plug 1" "2/fixedname/Plug 2" "3/fixedname/Plug 3" "4/fixedname/Plug 4"

QR Code

QR Code