{"id":19057223,"url":"https://github.com/tanishqmanuja/matter.multi-plug-device","last_synced_at":"2026-02-23T12:04:40.309Z","repository":{"id":240179218,"uuid":"801666883","full_name":"tanishqmanuja/matter.multi-plug-device","owner":"tanishqmanuja","description":"🔌 ESP32 Matter Based Multi Plug device","archived":false,"fork":false,"pushed_at":"2024-05-19T09:08:18.000Z","size":83,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T20:48:16.371Z","etag":null,"topics":["esp","esp-idf","esp-matter","esp32","matter","plugin-unit","relay"],"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/tanishqmanuja.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":"2024-05-16T17:16:44.000Z","updated_at":"2024-11-05T15:34:57.000Z","dependencies_parsed_at":"2025-01-02T11:42:51.759Z","dependency_job_id":"612787cd-871e-40a1-b782-d9acb8c866da","html_url":"https://github.com/tanishqmanuja/matter.multi-plug-device","commit_stats":null,"previous_names":["tanishqmanuja/matter.four-plug-device","tanishqmanuja/matter.multi-plug-device"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishqmanuja%2Fmatter.multi-plug-device","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishqmanuja%2Fmatter.multi-plug-device/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishqmanuja%2Fmatter.multi-plug-device/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanishqmanuja%2Fmatter.multi-plug-device/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanishqmanuja","download_url":"https://codeload.github.com/tanishqmanuja/matter.multi-plug-device/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245689510,"owners_count":20656417,"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":["esp","esp-idf","esp-matter","esp32","matter","plugin-unit","relay"],"created_at":"2024-11-08T23:54:24.184Z","updated_at":"2025-10-25T08:33:35.698Z","avatar_url":"https://github.com/tanishqmanuja.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi Plug  \n\nThis example creates a Multi Plug device using the ESP Matter data model.\n\nSee the [docs](https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html) for more information about building and flashing the firmware.\n\n## Flashing Factory Partition\n\n1. First Flash the Factory Partition\n```bash\nesptool.py write_flash 0x10000 mfg_binaries/*.bin\n```\n\n2. Flash the Firmware\n```bash\nidf.py flash\n```\n\nGenerate the Factory Partition image \u0026 related files\n```bash\nesp-matter-mfg-tool -cn \"Plug\" -v 0xFFF2 -p 0x8001 --pai \\\n    -k $MATTER_SDK_PATH/credentials/test/attestation/Chip-Test-PAI-FFF2-8001-Key.pem \\\n    -c $MATTER_SDK_PATH/credentials/test/attestation/Chip-Test-PAI-FFF2-8001-Cert.pem \\\n    -cd $MATTER_SDK_PATH/credentials/test/certification-declaration/Chip-Test-CD-FFF2-8001.der \\\n    --vendor-name \"Espressif\" --product-name \"Multi Plug\" \\\n    --hw-ver 1 --hw-ver-str DevKit \\\n    --fixed-labels \"0/fixedname/Multi Plug\" \"1/fixedname/Plug 1\" \"2/fixedname/Plug 2\" \"3/fixedname/Plug 3\" \"4/fixedname/Plug 4\" \\\n    --passcode 89674523 --discriminator 2245\n```\n\n## QR Code\n\n![QR Code](./mfg_binaries/b7bd2e21-89b0-4ddb-b05e-f6c8795a7805-qrcode.png)\n\n\n### Multi Plug Device Configuration\n\n| Config Option               | Type   | Default | Description                                |\n|----------------------------|--------|---------|--------------------------------------------|\n| `CONFIG_NUM_PLUGS`         | `int`  | 4       | Number of total plugs (range: 1–6)         |\n| `CONFIG_ACTIVE_HIGH_PLUGS`| `bool` | `y`     | Logic level: `y` for active-high plugs     |\n\n### Default GPIO Pin Mapping\n\n| Plug Component | Config Option               | Default GPIO |\n|----------------|-----------------------------|--------------|\n| Power Outlet   | `CONFIG_GPIO_POWER_OUTLET`  | 4            |\n| Plug 1         | `CONFIG_GPIO_PLUG_1`        | 32           |\n| Plug 2         | `CONFIG_GPIO_PLUG_2`        | 33           |\n| Plug 3         | `CONFIG_GPIO_PLUG_3`        | 27           |\n| Plug 4         | `CONFIG_GPIO_PLUG_4`        | 26           |\n| Plug 5         | `CONFIG_GPIO_PLUG_5`        | 13           |\n| Plug 6         | `CONFIG_GPIO_PLUG_6`        | 14           |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanishqmanuja%2Fmatter.multi-plug-device","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanishqmanuja%2Fmatter.multi-plug-device","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanishqmanuja%2Fmatter.multi-plug-device/lists"}