Skip to content

Smart home matter over thread roof window controller based on an Espressif ESP32 C6 EVB from Olimex.

Notifications You must be signed in to change notification settings

lemauee/esp32c6-matter-over-thread-roof-window-controller

Repository files navigation

ESP32 C6 Matter Over Thread Roof Window Controller

Smart home matter over thread roof window controller based on an Espressif ESP32 C6 EVB from Olimex. I use this via a Home Assistant ZBT-1 / Skyconnect running as Thread boarder router. Still under development, but might be helpful for others starting out on building custom Matter over Thread devices.

Setup

ESP-IDF

https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/get-started/linux-macos-setup.html

ESP Matter

https://docs.espressif.com/projects/esp-matter/en/latest/esp32c6/developing.html

VSCode extension

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md

https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/C_CPP_CONFIGURATION.md

Build the light example as a first test. To build the thread version of it, use the sdkconfig.defaults.c6_thread by renaming it to sdkconfig.defaults.esp32c6. See the API-Guides for further info. Flash it and commission the device to your thread network. Setup of a thread network using the Home Assistant ZBT-1 / Skyconnect can be found in the next section.

Optional: Home assistant with ZBT-1 / Skyconnect open thread border router

Thread Setup Matter Setup

Sync thread credentials

Taken from a reddit post.

On the Android Companion App open Settings → Companion App → Troubleshooting (I think that is what it is called in english, but it list logfiles and other tools to diagnostics as description of the item). In this next window click the Sync Thread Login Credentials (Again it might not be named exactly that, but close to and there should not be that many options and it should be in the bottom) It should say either something with “Added …” or “Already using the same credentials”. The trick here is to run it again and make sure that it does not say “Added …” the second time.

Commission your device

Scan the QR Code from the ESP Matter documentation to initiate. For Home Assistant, do this using the companion app (Add device -> Matter).

View your thread network

Enable the open thread web port in the open thread border router addon. Navigate to this webpage and click the topology sidebar entry.

Build & Flash

  1. Source ESP IDF and ESP Matter: cd esp-idf source ./export.sh cd esp-matter source ./export.sh
  2. Switch to this repos root: cd esp32c6-matter-over-thread-roof-window-controller
  3. Set target: idf.py set-target esp32c6
  4. Build: idf.py build
  5. Plug in your board and erase flash: idf.py erase_flash
  6. Flash & monitor console: idf.py flash monitor

About

Smart home matter over thread roof window controller based on an Espressif ESP32 C6 EVB from Olimex.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published