node-zwave-js
node-zwave-js copied to clipboard
Missing device configuration: MH5-4a
Checklist
-
[X] It is not in the configuration DB
-
[X] It was not merged recently or has a pending PR
-
[X] The device was interviewed completely and has no missing or
undefined
IDs
Which device is missing?
MH5-4A
Manufacturer ID
0x015f
Product Type
0xf523
Product ID
0x7101
Firmware Version
2.60
Is the device listed on the Z-Wave Alliance website?
Could not find
Do you have a manual?
So my question is that how can I add the Configuration V4 Parameters to the device json ?
This is what I see after interview:
And while based on the Manual I can set the params, but would be more user friendly if I can set their name and values accordingly. Can I get please an example how would it look like in the device's json ?
I already copied the MH5-2A.json and renamed it to MH5-4A.json and it works, but these Configuration parameters I have no clue how shall I label them in the json file.
Thanks in advance.
Did you delete the paramInformation from the MH5-2A? If not follow the pattern and the manual to adjust the labels and units.
"paramInformation": [
{
"#": "1",
"label": "Temperature Unit",
"valueSize": 1,
"defaultValue": 1,
"allowManualEntry": false,
"options": [
{
"label": "Celsius",
"value": 0
},
{
"label": "Fahrenheit",
"value": 1
}
]
},
{
"#": "2",
"label": "Temperature Reporting Threshold",
"description": "Valid range: 3-255; Variation in temperature to induce automatic report",
"valueSize": 2,
"unit": "0.1 °F/C",
"minValue": 0,
"maxValue": 255,
"defaultValue": 5,
"options": [
{
"label": "Disable",
"value": 0
}
]
},