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 progress to firmware update tab #53

Closed
PoltoS opened this issue Jan 1, 2015 · 9 comments
Closed

Add progress to firmware update tab #53

PoltoS opened this issue Jan 1, 2015 · 9 comments
Assignees
Milestone

Comments

@PoltoS
Copy link
Member

PoltoS commented Jan 1, 2015

In Configuration->FirmwareUpgrade add a lider (or just a caption) with % of progress.

% = FirmwareUpdate.data.fragmentTransmitted.value / FirmwareUpdate.data.fragmentCount.value * 100

@PoltoS PoltoS added this to the 2.0.2 milestone Jan 1, 2015
@vades vades added the question label Jan 30, 2015
@vades
Copy link
Contributor

vades commented Jan 30, 2015

FirmwareUpdate.data.fragmentTransmitted.value / FirmwareUpdate.data.fragmentCount.value

  1. This is a Zwavapi data holder node?
  2. Where and What is error response - if something is wrong with firmware update?
  3. Where and What is the response if firmware update is done?

@PoltoS
Copy link
Member Author

PoltoS commented Jan 30, 2015

  1. yes
  2. and 3. there is no error message. but indeed we can show last status: FirmwareUpdate.data.updateStatus:

0x00 The device was unable to receive the requested firmware data without checksum error. Not updated.
0x01 The device was unable to receive the requested firmware data. Not updated.
0x02 The transferred image does not match the Manufacturer ID. Not updated.
0x03 The transferred image does not match the Firmware ID. Not updated.
0x04 The transferred image does not match the Firmware Target. Not updated.
0x05 Invalid file header information. Not updated.
0x06 Invalid file header format. Not updated.
0x07 Insufficient memory. Not updated.
0xFD Firmware image downloaded successfully. Waiting for activation command.
0xFE Firmware image downloaded successfully. Manual restart needed.
0xFF Firmware image downloaded successfully. The device will now start upgrading. Then the device will restart itself.

if FirmwareUpdate.data.waitTime > 0 you can also add to 0xFF "Please wait xxx seconds."

@PoltoS
Copy link
Member Author

PoltoS commented Dec 28, 2016

Why closed?

@PoltoS PoltoS reopened this Dec 28, 2016
@vades
Copy link
Contributor

vades commented Mar 14, 2017

FirmwareUpdate.data.updateStatus,values returns NULL only and it doesn't matter what happens during upgrade process

@PoltoS
Copy link
Member Author

PoltoS commented Mar 14, 2017

Please show me the log of upgrade. Few tens of first lines are enough

@ronie-z-wave
Copy link
Contributor

Should be done with latest commits on develop branch :)

@PoltoS
Copy link
Member Author

PoltoS commented Mar 23, 2017

Does it work? Do you changes in fragmentTransmitted?

@ronie-z-wave
Copy link
Contributor

I do fragmentsCount/fragmentsTransmitted ... has worked in my tests - should be in the new build now

btw. any idea to this? #242

@ronie-z-wave
Copy link
Contributor

Done.

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

No branches or pull requests

4 participants