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

fix: race condition causing successful OTW update to be considered timed out #6912

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

AlCalzone
Copy link
Member

It seems that newer bootloaders (or the better hardware, who knows) can cause the menu screen to be sent too quickly after an successful OTW update, causing Z-Wave JS to miss it due to sequential waiting.
With this change, we wait for both the "serial upload complete" message and the bootloader menu at the same time.

This means that successful OTW updates on a Zooz 800 series stick no longer end with Error_Timeout.

Fixes: #5356

@AlCalzone AlCalzone changed the title fix: race condition causing OTW update to be considered timed out fix: race condition causing successful OTW update to be considered timed out Jun 10, 2024
@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

@zwave-js-bot zwave-js-bot enabled auto-merge (squash) June 10, 2024 10:02
@zwave-js-bot zwave-js-bot merged commit 170d51b into master Jun 10, 2024
15 checks passed
@zwave-js-bot zwave-js-bot deleted the fix-otw-timeout branch June 10, 2024 10:08
AlCalzone added a commit that referenced this pull request Jun 10, 2024
### Features
* Add `ZWaveNode.createDump()` method to save debug information in a format Z-Wave JS understands (#6906)
* Support node dumps created by `ZWaveNode.createDump()` as input for `mock-server' (#6907)
* `mock-server`: enable mDNS discovery (#6909)
* Add driver option to configure vendor-specific constants Z-Wave JS uses to reply to requests from other nodes, including manufacturer ID, product type/ID and hardware version (#6876)

### Bugfixes
* Fixed a race condition that would cause a timeout error to be shown after an actually successful OTW update (#6912)
* Create `supportedNotificationTypes` and `supportedNotificationEvents` values with `alarmMapping` compat flag (#6914)

### Config file changes
* Correct config parameters for Minoston MP21ZD Dimmer Plug (#6686)
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.

OTW update of Zooz ZST39 800-series controller stick completed successfully with timeout error.
2 participants