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(config): param 9 for STEINEL devices, rework to templates #4895

Merged
merged 11 commits into from Aug 9, 2022
108 changes: 54 additions & 54 deletions packages/config/config/devices/0x0271/is140-2.json
Expand Up @@ -57,6 +57,60 @@
"maxValue": 1,
"defaultValue": 1
},
{
"#": "9[0x01]",
"label": "External Control",
"description": "Lamp is controlled via Z-Wave and internal sensors are not used.",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x02]",
"label": "Gateway Check",
"description": "",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x04]",
"label": "Permanently On",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "10",
"label": "(OFF_BEHAVIOUR)",
Expand Down Expand Up @@ -119,60 +173,6 @@
"minValue": 0,
"maxValue": 255,
"defaultValue": 0
},
{
"#": "9[0x01]",
"label": "Bit 0: Slave Mode",
"description": "0=Disable, 1=Enable",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x02]",
"label": "Bit 1: Central Unit checking",
"description": "0=Disable, 1=Enable",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x04]",
"label": "Bit 2: Stupid Mode",
"description": "0=Disable, 1=Enable",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
}
]
}
57 changes: 51 additions & 6 deletions packages/config/config/devices/0x0271/l_810_led_ihf.json
Expand Up @@ -78,13 +78,58 @@
"defaultValue": 1
},
{
"#": "9",
"label": "Slave_Mode",
"description": "Disable local control",
"#": "9[0x01]",
"label": "External Control",
"description": "Lamp is controlled via Z-Wave and internal sensors are not used.",
"valueSize": 1,
"minValue": 0,
"maxValue": 4,
"defaultValue": 2
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x02]",
"label": "Gateway Check",
"description": "",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x04]",
"label": "Permanently On",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "10",
Expand Down
39 changes: 33 additions & 6 deletions packages/config/config/devices/0x0271/motionswitch_led.json
Expand Up @@ -75,13 +75,40 @@
"defaultValue": 1
},
{
"#": "9",
"label": "SLAVE_MODE",
"description": "Disable local control",
"#": "9[0x01]",
"label": "Gateway Check",
nechry marked this conversation as resolved.
Show resolved Hide resolved
"description": "",
"valueSize": 1,
"minValue": 0,
"maxValue": 4,
"defaultValue": 2
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x02]",
"label": "Permanently On",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "10",
Expand Down
57 changes: 51 additions & 6 deletions packages/config/config/devices/0x0271/rs_led_d2_z-wave.json
Expand Up @@ -71,13 +71,58 @@
"defaultValue": 1
},
{
"#": "9",
"label": "Disable local control",
"description": "SLAVE_MODE",
"#": "9[0x01]",
"label": "External Control",
"description": "Lamp is controlled via Z-Wave and internal sensors are not used.",
"valueSize": 1,
"minValue": 0,
"maxValue": 4,
"defaultValue": 2
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x02]",
"label": "Gateway Check",
"description": "",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "9[0x04]",
"label": "Permanently On",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
"options": [
{
"label": "Disable",
"value": 0
},
{
"label": "Enable",
"value": 1
}
]
},
{
"#": "10",
Expand Down
8 changes: 4 additions & 4 deletions packages/config/config/devices/0x0271/xled_home_2.json
Expand Up @@ -86,7 +86,7 @@
{
"#": "9[0x01]",
"label": "External Control",
"description": "When enabled, the lamp is controlled externally via Z-Wave and internal sensors are not used.",
"description": "Lamp is controlled via Z-Wave and internal sensors are not used.",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
Expand All @@ -104,9 +104,9 @@
{
"#": "9[0x02]",
"label": "Gateway Check",
"description": "External Control disabled: Lamp signalizes failure to reach the gateway. External Control enabled: Lamp falls back to normal mode after gateway could not be reached repeatedly.",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
Expand All @@ -122,7 +122,7 @@
{
"#": "9[0x04]",
"label": "Permanently On",
"description": "When enabled, overrides the External Control and Gateway Check parameters",
"description": "",
"valueSize": 1,
"defaultValue": 0,
"allowManualEntry": false,
Expand Down