- Newest
- Most votes
- Most comments
Per my info unfortunately, FreeRTOS OTA currently doesn't provide a direct mechanism to exclude specific thing groups from an update job.
The primary reason for this is that OTA updates are typically designed to target a specific software version or a set of devices based on their firmware version. While you can filter devices based on these criteria, excluding devices based on custom tags or groups like "beta" or "production" is not directly supported.
While not ideal , a potential workaround you can consider: 1/ Assign unique firmware versions to devices in different thing groups. 2/ Create OTA update jobs targeting specific firmware versions. 3/ This approach requires careful management of firmware versions and can become complex with frequent updates.
Relevant content
- asked 2 years ago
- Accepted Answerasked a year ago
- Accepted Answerasked 6 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 6 months ago
I should have clarified my set up a little more, but this sounds on the right track.
My things have attributes that are assigned dynamically based on their user profile in my application. So a given thing may have attributes like:
Then the thingGroups I have defined are dynamic based on those attributes. Given this extra information is the only real way to filter out things to update by using the thing's current firmware version?
A job targets things and thing groups. So the way to remove things is to change group membership. Firmware version wouldn't be the only way. But you need some way of knowing whether a device is already updated. Knowing it's current version would generally be a very good way.