Skip to content

Commit

Permalink
fix: move workaround for 500 series controller bug to master template…
Browse files Browse the repository at this point in the history
…, enable for Zooz ZST10 (#6372)
  • Loading branch information
AlCalzone authored Oct 5, 2023
1 parent ae9a87b commit 9d4316e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
8 changes: 2 additions & 6 deletions packages/config/config/devices/0x0000/husbzb-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
"max": "255.255"
},
"compat": {
// In some situations, AssignSUCReturnRoute and DeleteSUCReturnRoute get answered with a wrong callback function type,
// triggering Z-Wave JS's unresponsive controller check.
"disableCallbackFunctionTypeCheck": [
81, // AssignSUCReturnRoute
85 // DeleteSUCReturnRoute
]
// Workaround for a firmware bug in 500 series controllers
"$import": "~/templates/master_template.json#500_series_controller_compat_flags"
}
}
8 changes: 2 additions & 6 deletions packages/config/config/devices/0x0086/zw090.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@
"manual": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1345/Z%20Stick%20Gen5%20manual%201.pdf"
},
"compat": {
// In some situations, AssignSUCReturnRoute and DeleteSUCReturnRoute get answered with a wrong callback function type,
// triggering Z-Wave JS's unresponsive controller check.
"disableCallbackFunctionTypeCheck": [
81, // AssignSUCReturnRoute
85 // DeleteSUCReturnRoute
]
// Workaround for a firmware bug in 500 series controllers
"$import": "~/templates/master_template.json#500_series_controller_compat_flags"
}
}
4 changes: 4 additions & 0 deletions packages/config/config/devices/0x027a/zst10.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"compat": {
// Workaround for a firmware bug in 500 series controllers
"$import": "~/templates/master_template.json#500_series_controller_compat_flags"
}
}
10 changes: 10 additions & 0 deletions packages/config/config/devices/templates/master_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -675,5 +675,15 @@
"text": "Firmware version 7.19.3 has a bug that causes the controller to randomly hang during transmission until it is restarted. It is currently unclear if this bug is fixed in a later firmware version."
}
]
},
"500_series_controller_compat_flags": {
// It seems that all 500 series controllers have a firmware bug:

// When failing, AssignSUCReturnRoute and DeleteSUCReturnRoute get answered with a wrong callback function type,
// triggering Z-Wave JS's unresponsive controller check.
"disableCallbackFunctionTypeCheck": [
81, // AssignSUCReturnRoute
85 // DeleteSUCReturnRoute
]
}
}

0 comments on commit 9d4316e

Please sign in to comment.