Allow Selection of Firmware Version for Hub Updates

I would appreciate the ability to choose between the latest version of each firmware train when updating the Hub rather than being forced to go to the latest version of the current train in development.

I value stability over the latest features and generally hold off on performing updates to a new train until the inevitable flood of bug fixes subsides. Unfortunately that means trying to time the window between the latest bug fix on one train and the initial release of the next since the previous train is immediately made unavailable once the new one comes out. There are times when there is a week or less between the last bugfix of one train and the initial release on the next, and it puts users in the position of choosing between known bugs on their current firmware and unknown ones on the next. Offering the ability to at least update to the latest version of the current train the Hub is running would alleviate this choice and offer user far more flexibility in choosing when to upgrade to the next train.

There is an endpoint that allows exactly this, downloading the latest version of any recent-ish release:

/hub/advanced/downloadPlatform/<xyz>

For example, http://<hubIP>/hub/advanced/downloadPlatform/251.

You'd then use the Diagnostic Tool to switch to this version (after waiting a few minutes or so for it to download).

That being said, in most cases, the current version would be recommended, probably why this isn't a prominent option. It sounds like you've given this some thought. If you were not aware, you can also use the Diagnostic Tool to downgrade to any of a few recent previous versions as well (it will always try to save at least one from the last "major" release, not just the last few, depending on what you have), so that may also help if you run into problems.

Thank you for sharing this! It is exactly what I was looking for. I was aware of the ability to downgrade to previous versions through the Diagnostic Tool, but was unaware of that endpoint to pull down the latest version of a release.

I wish I'd remembered about this last week before my latest trip. I don't generally update before a trip, but I did want to get the newest 2.5.1 for a minor fix. The problem is that at the same time the beta for 2.5.2 came out, and I certainly didn't want to switch to that if I was going to be away. This endpoint would have solved that.