extensions/zwave-js-ws/mapping.json
Rama master · réplica de lectura del repositorio original.
{
"title": "$lua: return value.name or value.label",
"description": "${deviceConfig/description} (${deviceConfig/manufacturer})",
"devices": [
{
"manufacturerId": "$ref:/manufacturer/FIBARO",
"productId": 4099,
"productType": 3074,
"capabilities": ["SmokeSensor", "TemperatureSensor"],
"properties": [
"$ref:/property/battery",
"$ref:/property/air-temperature",
{
"commandClass": "$ref:/commandClass/alarm",
"property": "Smoke Alarm",
"propertyKey": "Sensor status",
"name": "smoke",
"adapter": "$lua:return value ~= 0"
}
]
},
{
"manufacturerId": "$ref:/manufacturer/FIBARO",
"productId": 4099,
"productType": 2817,
"capabilities": ["LeakSensor", "TemperatureSensor"],
"properties": [
"$ref:/property/battery",
"$ref:/property/air-temperature",
{
"commandClass": "$ref:/commandClass/alarm",
"property": "Water Alarm",
"propertyKey": "Sensor status",
"name": "leak",
"adapter": "$lua:return value ~= 0"
}
]
},
{
"manufacturerId": "$ref:/manufacturer/Aeotec",
"productId": 9,
"capabilities": ["HumiditySensor", "TemperatureSensor"],
"properties": [
"$ref:/property/battery",
"$ref:/property/air-temperature",
"$ref:/property/humidity"
]
},
{
"manufacturerId": "$ref:/manufacturer/Zooz",
"productId": 57348,
"capabilities": ["HumiditySensor", "TemperatureSensor"],
"properties": [
"$ref:/property/battery",
"$ref:/property/air-temperature",
"$ref:/property/humidity"
]
},
{
"manufacturerId": "$ref:/manufacturer/Qubino",
"productId": 82,
"capabilities": ["MultiLevelSwitch"],
"properties": [
"$ref:/property/signal-order"
]
},
{
"manufacturerId": "$ref:/manufacturer/Qubino",
"productId": 81,
"capabilities": ["MultiLevelSwitch"],
"properties": [
"$ref:/property/signal-order",
"$ref:/property/air-temperature"
]
},
{
"manufacturerId": "$ref:/manufacturer/Shelly",
"productId": 142,
"capabilities": ["OnOffSwitch"],
"properties": [
{
"commandClass": "$ref:/commandClass/binary-switch",
"property": "currentValue",
"setProperty": "targetValue",
"name": "on"
}
]
},
{
"manufacturerId": "$ref:/manufacturer/Aeotec",
"productId": 12,
"capabilities": ["DoorSensor"],
"properties": [
"$ref:/property/battery",
{
"commandClass": "$ref:/commandClass/notification",
"property": "Access Control",
"propertyKey": "Door state (simple)",
"name": "open",
"adapter": "$lua:return value ~= 23"
}
]
}
],
"adapters": {
"mirek": "$lua:return utils.mirekToColorTemperature(value)"
},
"property": {
"battery": {
"commandClass": "$ref:/commandClass/battery",
"property": "level",
"name": "battery"
},
"air-temperature": {
"commandClass": "$ref:/commandClass/sensor-multilevel",
"property": "Air temperature",
"name": "temperature"
},
"humidity": {
"commandClass": "$ref:/commandClass/sensor-multilevel",
"property": "Humidity",
"name": "humidity"
},
"signal-order": {
"commandClass": "$ref:/commandClass/switch-multilevel",
"property": "currentValue",
"setProperty": "targetValue",
"name": "value",
"metadata": "$ref:/metadata/signal-order"
}
},
"manufacturer": {
"Aeotec": 881,
"FIBARO": 271,
"Qubino": 345,
"Shelly": 1120,
"Zooz": 634
},
"commandClass": {
"binary-switch": 37,
"switch-multilevel": 38,
"sensor-multilevel": 49,
"alarm": 113,
"notification": 113,
"battery": 128
},
"metadata": {
"signal-order": {
"@type": "LevelProperty",
"type": "integer",
"title": "Signal Order",
"description": "The signal order as a level, 0, 20, 30, 40, 50, 99 from stop, HG, eco to comfort",
"minimum": 0,
"maximum": 99
}
}
}