-
Notifications
You must be signed in to change notification settings - Fork 76
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
Feature request: Ability to update node firmware from provided Url #833
Comments
We actually have this already but we didnt yet have time to document it. Stay tuned as it will follow soon |
Great! I was just looking at the API-commands in the source code and couldn't see how one could trigger the update from a provided Url. Can you give me a hint until the docs gets there? |
Not yet as we need to finish it. Currently the path to store manual update json files is hardcoded. Ensure that the path /root/updates exists and place the json files in there. Here is one example of such a file. |
Wouldn't it be better to put the updates directory under the data directory by default? |
I see that this was released now: Where can I find any docs on how to use this new feature? |
I would also be interested in details on how to use the local OTA feature. Btw. I put a .json-file for my device under test in /root/updates/ of the docker container, but when I click "update device" in the Web UI it tells me there is no update available.
|
@fish12345 you need to have the json file in place when the Matter Server starts (the json files are only parsed on startup). You may need to use |
@agners Do you have a sample json file with the correct file::// syntax for the update directory with the corresponding --ota-provider-dir syntax? |
Thanks @agners, the information that the json files are only parsed on startup was the key for me. I copied the json file to Now the update can be started. @olavt, I also tried to copy the firmware image next to the .json file and use |
@agners Maybe there should be an API to be able to create the json information without having to upload it to the filesystem and without having to re-start the Python Matter Server? |
That is out of scope for now. Feel free to PR that if you like. |
I'm looking into the firmware upgrade functionality that was recently added and it looks like it's only possible to update the firmware through the DCL.
It would be nice to have the ability to download the firmware from a provided Url directly for testing.
The text was updated successfully, but these errors were encountered: