-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using AWS OTA with ESP-Matter (CON-840) #691
Comments
We have a some docs which talks about Matter OTA. It also includes how to use encrypted OTA, you can take a look at that. You may need to increment version number which matter basic information cluster reads. Take a look at this FAQ. |
Thanks a bunch !! Ive done ESP AWS OTA demo and it works just fine. I've managed to make the AWS OTA as a component in my Matter project folder. When running with Matter, it has problem on connecting to my AWS endpoint which is not an issue when running AWS OTA without Matter. |
From my reading, Matter CSA allows any method of OTA update right ? Not strictly bind to their OTA method. |
This is from Matter Core Specification v1.2. There has to be some means to OTA the device either Matter OTA or proprietary one. |
Closing as the question is answered |
Can you check the free memory when using Matter. You can refer the below snippet for getting the values. esp-matter/components/esp_matter_console/esp_matter_console_diagnostics.cpp Lines 27 to 38 in 9bada61
|
Sorry for missing this. I have reopened the issue |
Hiii, Thanks for the responses.
Yeap, Ive read this and think this could work.
For this, Ive check the heap memory using |
Thanks @shubhamdp , I currently looking at this. |
This could be a problem. You may need to optimize the RAM usage. There's a guide from esp-idf to minimize the RAM usage. There's another blog post which talks about the minimizing the memory. Please take a look at them and see if you can reduce the RAM usage. Also, can you share the following details, which could help to try out this situation?
|
Hi @shubhamdp, Im so sorry for the late response. I tried to recreate the RAM issues as well as unable to reconnect to AWS endpoint after device completed the update but suddenly no RAM issue. RAM start at around 199Kb at the start of the firmware, once ble deinit (matter) and RAM value at the start of OTA function is around 85Kb to 90Kb which is enough. I cant find my previous log where the problem occured but I'll just provide with you guys the commit hash of my ESP-Matter and ESP-IDF. I'll also provide the same RAM issue on my team environment. Here are my environment details: Here are one of my team environment details: The log i provide is one of my team, since I cant recreate the issue. |
@anuarrozman With the latest main branch, some RAM optimizations are done. Please check those out. Please close the issue if resolved. |
@anuarrozman Any updates you can share? |
Im planning on using AWS OTA features with Matter. My OTA function is ready and has been tested. Ive created my AWS OTA as component in ESP-Matter. Any resources or help i can get regarding this thing ?
The text was updated successfully, but these errors were encountered: