Skip to content

Conversation

@Nezaemmy
Copy link

@Nezaemmy Nezaemmy commented Dec 1, 2025

Updated Matter settings to include WiFi and OpenThread configurations, and added endpoint IDs for both networks.

Description

Related

Testing


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

Updated Matter settings to include WiFi and OpenThread configurations, and added endpoint IDs for both networks.
@me-no-dev
Copy link
Member

@Nezaemmy I think this caused issues.

@SuGlider PTAL

@Nezaemmy
Copy link
Author

Nezaemmy commented Dec 1, 2025

@Nezaemmy I think this caused issues.

@SuGlider PTAL

On esp32c5 Matter over Wi-Fi is disabled. Refer to defconfig.esp32c6 has the same Radios as esp32c5

@me-no-dev
Copy link
Member

On esp32c5 Matter over Wi-Fi is disabled.

As far as I remember, this is on purpose. Matter + WiFi could not fit in the memory. @SuGlider will explain further.

@SuGlider
Copy link
Contributor

SuGlider commented Dec 1, 2025

@Nezaemmy I think this caused issues.
@SuGlider PTAL

On esp32c5 Matter over Wi-Fi is disabled. Refer to defconfig.esp32c6 has the same Radios as esp32c5

Hi @Nezaemmy - C5 and C6 are quite the same about WiFi, OpenThread and Matter.
Arduino Libraries for the Arduino IDE are precompiled, therefore it requires picking an IDF / Component settings (sdkconfig).

Based on the ESP-Matter Library, currently, it is not possible to have both, WiFi and OpenThread running over Matter.
It is not also possible to pick one or another using user functions.
ESP-Matter will always pick first WiFi, even when it has been also configured to run over OpenThread.

C5 has less SRAM than C6, 384KB vs 512KB.
Therefore we decided to configure it with just OpenThread support for Matter.
It can also run over WiFi, but we would leave it for an Arduino as IDF Component project configuration.

C5 also can't have more endpoints, like the C6 because of the RAM limitation.

I'd like to hear from you about your point of view about it.

@Nezaemmy
Copy link
Author

Nezaemmy commented Dec 1, 2025

@Nezaemmy I think this caused issues.

@SuGlider PTAL

On esp32c5 Matter over Wi-Fi is disabled. Refer to defconfig.esp32c6 has the same Radios as esp32c5

Hi @Nezaemmy - C5 and C6 are quite the same about WiFi, OpenThread and Matter.

Arduino Libraries for the Arduino IDE are precompiled, therefore it requires picking an IDF / Component settings (sdkconfig).

Based on the ESP-Matter Library, currently, it is not possible to have both, WiFi and OpenThread running over Matter.

It is not also possible to pick one or another using user functions.

ESP-Matter will always pick first WiFi, even when it has been also configured to run over OpenThread.

C5 has less SRAM than C6, 384KB vs 512KB.

Therefore we decided to configure it with just OpenThread support for Matter.

It can also run over WiFi, but we would leave it for an Arduino as IDF Component project configuration.

C5 also can't have more endpoints, like the C6 because of the RAM limitation.

I'd like to hear from you about your point of view about it.

@SuGlider Thank you for your detailed response! Since Wi-Fi is far more popular than OpenThread, I believe it would be better for us to prioritize Wi-Fi support. All my current projects are based on Matter over Wi-Fi, and leveraging the ESP32-C5’s dual-band capability (2.4 GHz and 5 GHz) would be a great advantage.
If this proposed change happens, I promise to thoroughly test this feature and share my final thoughts with you. I work on Matter projects daily, so I have enough time and experience to provide meaningful feedback. Arduino as IDF Component project configuration requires additional skills it's not user friendly as Arduino library

@SuGlider
Copy link
Contributor

SuGlider commented Dec 2, 2025

OK, it sounds good that the C5 could support Matter over WiFi 5GHz instead of over Thread.
H2 will be the one for Matter over Thread.

@SuGlider
Copy link
Contributor

SuGlider commented Dec 2, 2025

Let me check which configuration will run with the C5.

@Nezaemmy
Copy link
Author

Nezaemmy commented Dec 5, 2025

Let me check which configuration will run with the C5.

@SuGlider Is there any update?

@Nezaemmy Nezaemmy closed this Dec 5, 2025
@Nezaemmy Nezaemmy reopened this Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants