Skip to content

Add UPGRADE <version_number> as an option to UPGRADE.#213

Open
crankyoldgit wants to merge 1 commit into
arendst:masterfrom
crankyoldgit:upstream
Open

Add UPGRADE <version_number> as an option to UPGRADE.#213
crankyoldgit wants to merge 1 commit into
arendst:masterfrom
crankyoldgit:upstream

Conversation

@crankyoldgit
Copy link
Copy Markdown

  • Allow cmnd of UPGRADE 3.1.13 which will only try to upgrade it the version
    specified is higher than our current one.
    This allows a "cmnd/<group_topic>/upgrade 3.1.13" to be issued repeatedly
    to cause tardy devices to upgrade via the OTAURL, but cause no interruption
    to devices already running the specified version (or newer).
  • Fix an issue where "UPGRADE 1" cmnds were being accepted due to poor parsing.
    e.g. "UPGRADE 1xx" & "UPGRADE 1.2.3" would always trigger an update.

* Allow cmnd of UPGRADE 3.1.13 which will only try to upgrade it the version
  specified is higher than our current one.
  This allows a "cmnd/<group_topic>/upgrade 3.1.13" to be issued repeatedly
  to cause tardy devices to upgrade via the OTAURL, but cause no interruption
  to devices already running the specified version (or newer).
* Fix an issue where "UPGRADE 1" cmnds were being accepted due to poor parsing.
  e.g. "UPGRADE 1xx" & "UPGRADE 1.2.3" would always trigger an update.
@wiktorschmidt
Copy link
Copy Markdown

@crankyoldgit maybe worth reimplementing on the new repo: https://github.com/arendst/Sonoff-Tasmota ?

@arendst
Copy link
Copy Markdown
Owner

arendst commented Jun 30, 2017

Implemented in Sonoff-Tasmota version 5.2.3 soon to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants