- Notifications
You must be signed in to change notification settings - Fork7.8k
-
Related areaArduino Library Hardware specificationAll Boards Is your feature request related to a problem?The Matter specification has been released, and there has been IDF support for quite some time. At one level is would be good to see examples of using these APIs from the Arduino environment. At another level it would be great if there was a higher level Arduino library created that leveraged these APIs and provided examples for both implementing and controlling a Matter device. Describe the solution you'd likeIt would be great if there was a higher level Arduino library created that leveraged the IDF Matter APIs and provided examples for both implementing and controlling a Matter device. Describe alternatives you've consideredThere are some other people outside of this project starting to experiment with this, but they are not fully open source nor sponsored by Espressif. Additional contextFor the Espressif platform to dominate in the market for Matter devices it could be engaging the Arduino developers better. I have checked existing list of Feature requests and the Contribution Guide
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 5
Replies: 84 comments 2 replies
-
Why does this need to be part of the core? It can be handled in a 3rd party library. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello@Humancell, thanks for opening this feature Request. I'm adding this to next major milestone 3.0.0 and we will evaluate it. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, Thank you for considering this! @lbernstone I can understand your question, but I see this no differently from all of the other libraries that are already a part of core. We already have Bluetooth, HTTP, DNS, Webserver, NetBIOS, RainMaker and many more. Just as many of these are built on the esp-protocols, this - it seems - would be built onhttps://github.com/espressif/esp-matter . It is a protocol layer provided by Espressif in the IDF, and besides the technical reasons I believe by exposing it to Arduino developers it could assist the ESP32 in becoming an even more powerful platform for the development of Matter controllers and devices. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
You can try library I have created few days agohttps://github.com/jakubdybczak/esp32-arduino-matter |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello,
I did see this library, but from my understanding you have not made this 100% open source, which is a problem for us. We can not use any closed source code in our projects. If I am incorrect, and this really is 100% open source then we could take a look. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@Humancell |
BetaWas this translation helpful?Give feedback.
All reactions
-
We will consider this request for next releases in 2023... please be patient. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I have done an initial effort to build Matter and Arduino as Component. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hi all Is there any progress for supporting Matter to the Arduino core? |
BetaWas this translation helpful?Give feedback.
All reactions
👀 2
-
@HamzaHajeir - We are currently working to release OpenThread as an Arduino Library. This shall be done later this month. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
About Matter Library implementation for Arduino Core 3.0.x:
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 10
-
Glad to hear that's coming support of Matter in the Arduino core. I have just some questions and comments:
With thanks, |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
@HamzaHajeir - Thanks for the comments.
Not as part of the tools that ESP32 Arduino would provide.
Commissioning will always be done on-network. Therefore, On-Network Commissioning method will be included.
Yes, correct.
We may consider it for future feature. At first, we'll focus on the Matter 1.0 device types as described above. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
@SuGlider Nice, that explains all, I was mixing between commissioning discovery and commissioning process, seems two different operations. However, it seems that allFactory Data Providers would be 'custom' in Arduino, correct? |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Arduino will set the Matter Device as a Testing unit using a VIDs allocated by the CSA for testing purposes. Commissioning will happen as defined in the description fromhttps://developers.home.google.com/matter/primer/commissioning Discovery may be done using BLE and/or WiFi AP, as described here:https://developers.home.google.com/matter/primer/commissionable-and-operational-discovery |
BetaWas this translation helpful?Give feedback.
All reactions
-
Good day! If it's not a secret, tell me how to use PSRAM with Matter? |
BetaWas this translation helpful?Give feedback.
All reactions
-
For ESP32 Arduino, it is transparent. If the Sketch or the Matter Library "mallocs" more than 4KB, it will use PSRAM as well. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello! Thanks for the answer! |
BetaWas this translation helpful?Give feedback.
All reactions
-
A bit hard to see what could be the issue here based on the report. It sounds like the Arduino Libraries used in this project may be allocating memory in a different way. It would require you to read its code and understand how it works. This may not be easy for a beginner. Note that some IDF components may be using HEAP directly. It is possible for IDF to manage which memory sapce to use when allocating memory. I think that it will be better to change your project to use Arduino as IDF Component and then you will be able to tune IDF Components to use the memory the best way for your application. IDF has Good luck! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you!!! class MatterColorLight does not contain onChangeBrightness call, when using the device, the brightness control scale is there but does not work. Thank you for your efforts!!! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes, mostly, your observations are correct.
My suggestion would be moving the project to Arduino as IDF Component in order to change When the application reaches the MCU peripherals limits, it may require better tools, tunning the configuration, planning the resources and even changing the development framework. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
With the community Platformio fork |
BetaWas this translation helpful?Give feedback.
All reactions
-
Once again, thank you very much!!! I have been writing my projects for a long time, in my free winter time, this is more of a hobby, that's why Arduino. I have already started preparing the ground for the transition, but before the transition I got stuck on optimizing the memory in the project. I want to bring everything to perfection, while I remember everything well. If I started with IDF it would be better, because I consider it a habit. In any case, my transition will not happen before next winter, when there will be enough time. In Arduino, you also can't allocate memory in psram for a task, allocating memory leads to a reboot). So Arduino and psram are quite incompatible concepts, it is configured very strangely Thank you!!! |
BetaWas this translation helpful?Give feedback.
All reactions
-
@ValdayMl - Please describe it. I'd like to better understand this problem. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Good day! Yes, of course. ` xStack_loop_15s=(uint8_t*)malloc(4124); SPIRAM Memory Info: Compile Date/Time : Apr 14 2025 07:13:20 Decoding stack results ` 7:33:43.785 -> 93860 psram used bytes Decoding stack results |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Core 3.2.0 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Psram sometimes uses ESPAsyncWebServer.
If you allocate memory before starting psramInit() PSRaMEsp32TrueLoad=psramInit();` Memory is allocated, but the same error occurs when used. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@SuGlider what's the milestone (if already set) for Bluetooth commissionable discovery ? Thanks! |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
This is ready for the Arduino Core 3.3.x release. It can already be tested using The examples are using BLE for WiFi or Thread commissioning. WiFi: ESP32-S3, ESP32-C3, ESP2-C6 WiFi, but no BLE Comissioning: |
BetaWas this translation helpful?Give feedback.
All reactions
-
@SuGlider With availability of Matter over Thread, could we implement the arduino-esp32/libraries/Matter/src/Matter.cpp Lines 178 to 182 infc8ce8f
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
Yes, this was left behind. I'll take a look and test it. |
BetaWas this translation helpful?Give feedback.
All reactions
🚀 2
-
This is implemented by#12140 |
BetaWas this translation helpful?Give feedback.
All reactions
🚀 1
This discussion was converted from issue #7432 on October 29, 2025 07:02.