Caution! Article for developersInformation on this page is intended particularly for users with advanced technical knowledge.
Update your Treon Gateway via DM Commands
Feb 27, 2024 · 3 minutes to read
This article describes how to update your Treon Aito Release for Gateway via DM commands.
For a full guide on working with DM Commands on the Treon Gateway, please read this article.
Please Note: In case you have a custom Treon Aito Release for Gateway configuration, or you are not sure which Treon Aito Release for Gateway version to install, please contact Treon Support.
If you have files and settings stored on your Treon Gateway that should persist after the update, please read our article on Persist Move.
In case you would like to run software on the Treon Gateway after the update process has been successful, please read our article on Update Hooks.
Update Treon Aito Release for Gateway
The update is performed by setting an update URI which will initiate the download. After the download has completed, the actual update can be performed. The Treon Gateway has a so called A/B partition update, meaning that during the last part of the update the gateway will reboot and is not able to respond.
Supported access protocols are http and https. Treon hosts images at https server which does mutual authentication using device and server certificates.
Result of the update should be checked finally by reading FW image version (Object: 3, Resource : 3)
Firmware Update Object (ID:5)
The Treon Gateway firmware can be updated by using this object.
|Firmware package download URI
|Updates the downloaded software
|Firmware update status
|Firmware update status
|Idle (before downloading or after successful update)
|Initial value. Once the updating process is initiated (download/update)
|Firmware updated successfully
|Not enough memory for the new firmware package
|Out of RAM during downloading process
|Connection lost during downloading process
|Integrity check failure for new downloaded package
|Unsupported package type
|Firmware update failed
These are additional error codes returned with the
E:[<Error code>] field.
|Package download failed or exec update failed
|Trying to set uri while updating
|Verification of SSL-certificates failed
|State is incorrect to perform given operation
Software Management Object (ID:9)
This object is used to manage single software packages in the Treon Gateway.
|URI for fetching FW image
|Start installation of downloaded FW image
|FW update status
Firmware Update Status:
|Initial state, before downloading
|The downloading process has started and is on-going
|The package has been completely downloaded
|The package has been correctly downloaded and is ready to be installed
If executing the Install Resource failed, the state remains at 3.
If executing the Install Resource was successful, the state changes from 3 to 4.
You still have questions? Our dedicated team of experts is happy to help you! Please contact Treon Support directly by e-mail.
Did you know? Treon offers Premium Support and Maintenance Packages for our customers. Get even more out of Treon and boost your sales - inquire now about features and prices!