Skip to content

Commit

Permalink
fix(config): add warnings about broken controller firmware versions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Sep 20, 2023
1 parent 5e89385 commit 878a895
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 8 deletions.
3 changes: 2 additions & 1 deletion maintenance/schemas/device-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema#",
"$schema": "https://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"$import": { "$ref": "#/definitions/import" },
Expand Down Expand Up @@ -99,6 +99,7 @@
"metadata": {
"type": "object",
"properties": {
"$import": { "$ref": "#/definitions/import" },
"wakeup": {
"$ref": "#/definitions/conditionalString",
"description": "How to wake up the device manually"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@
"max": "255.255"
},
"metadata": {
"comments": [
{
"$if": "firmwareVersion < 7.17.2",
"level": "warning",
"text": "Early firmware revisions had a bug that could cause the mesh to be flooded on some networks and the controller to become unresponsive. It appears that this bug is largely, if not completely, resolved as of firmware version 7.17.2.\nDirections for upgrading the firmware can be found at https://zwave-js.github.io/node-zwave-js/#/troubleshooting/otw-upgrade"
}
]
// 700/800 series firmware bugs that affect multiple controllers
"$import": "~/templates/master_template.json#7xx_firmware_bugs"
}
}
4 changes: 4 additions & 0 deletions packages/config/config/devices/0x027a/zac93.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"metadata": {
// 700/800 series firmware bugs that affect multiple controllers
"$import": "~/templates/master_template.json#7xx_firmware_bugs"
}
}
4 changes: 4 additions & 0 deletions packages/config/config/devices/0x027a/zst10_700.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"metadata": {
// 700/800 series firmware bugs that affect multiple controllers
"$import": "~/templates/master_template.json#7xx_firmware_bugs"
}
}
4 changes: 4 additions & 0 deletions packages/config/config/devices/0x027a/zst39lr.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"firmwareVersion": {
"min": "0.0",
"max": "255.255"
},
"metadata": {
// 700/800 series firmware bugs that affect multiple controllers
"$import": "~/templates/master_template.json#7xx_firmware_bugs"
}
}
19 changes: 19 additions & 0 deletions packages/config/config/devices/templates/master_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,5 +656,24 @@
"value": 1
}
]
},
"7xx_firmware_bugs": {
"comments": [
{
"$if": "firmwareVersion < 7.17.2",
"level": "warning",
"text": "Early firmware revisions had a bug that could cause the mesh to be flooded on some networks and the controller to become unresponsive. It appears that this bug is largely, if not completely, resolved as of firmware version 7.17.2.\nDirections for upgrading the firmware can be found at https://zwave-js.github.io/node-zwave-js/#/troubleshooting/otw-upgrade"
},
{
"$if": "firmwareVersion === 7.19.1",
"level": "warning",
"text": "Firmware version 7.19.1 has a bug that causes the controller to randomly restart. It is strongly recommended to update to firmware 7.19.2, but not later since those firmwares have another bug causing the controller to become unresponsive."
},
{
"$if": "firmwareVersion === 7.19.3",
"level": "warning",
"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."
}
]
}
}

0 comments on commit 878a895

Please sign in to comment.