Skip to content
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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

crankyoldgit
Copy link

  • 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

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

@arendst
Copy link
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