mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 22:50:00 +01:00
* [miio] fix channels with invalid names * [miio] allow for readbale friendly names Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
1027 lines
21 KiB
JSON
1027 lines
21 KiB
JSON
{
|
|
"deviceMapping": {
|
|
"id": [
|
|
"zhimi.airpurifier.ma4"
|
|
],
|
|
"propertyMethod": "get_properties",
|
|
"maxProperties": 2,
|
|
"channels": [
|
|
{
|
|
"property": "fault",
|
|
"siid": 2,
|
|
"piid": 1,
|
|
"friendlyName": "Air Purifier - Device Fault",
|
|
"channel": "fault",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "No faults"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "m1_run"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "m1_stuck"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "no_sensor"
|
|
},
|
|
{
|
|
"value": "4",
|
|
"label": "error_hum"
|
|
},
|
|
{
|
|
"value": "5",
|
|
"label": "error_temp"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"No faults\",\"1\"\u003d\"m1_run\",\"2\"\u003d\"m1_stuck\",\"3\"\u003d\"no_sensor\",\"4\"\u003d\"error_hum\",\"5\"\u003d\"error_temp\"]"
|
|
},
|
|
{
|
|
"property": "on",
|
|
"siid": 2,
|
|
"piid": 2,
|
|
"friendlyName": "Air Purifier - Switch Status",
|
|
"channel": "on",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
],
|
|
"category": "switch",
|
|
"tags": [
|
|
"Switch"
|
|
]
|
|
},
|
|
{
|
|
"property": "fan-level",
|
|
"siid": 2,
|
|
"piid": 4,
|
|
"friendlyName": "Air Purifier - Fan Level",
|
|
"channel": "fan-level",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"options": [
|
|
{
|
|
"value": "1",
|
|
"label": "Level1"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Level2"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "Level3"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
],
|
|
"readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\"]"
|
|
},
|
|
{
|
|
"property": "mode",
|
|
"siid": 2,
|
|
"piid": 5,
|
|
"friendlyName": "Air Purifier - Mode",
|
|
"channel": "mode",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "Auto"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "Sleep"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Favorite"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "None"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
],
|
|
"tags": [
|
|
"Control"
|
|
],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"Auto\",\"1\"\u003d\"Sleep\",\"2\"\u003d\"Favorite\",\"3\"\u003d\"None\"]"
|
|
},
|
|
{
|
|
"property": "pm2.5-density",
|
|
"siid": 3,
|
|
"piid": 6,
|
|
"friendlyName": "Environment - Pm2.5 Density",
|
|
"channel": "pm2_5-density",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 600.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "relative-humidity",
|
|
"siid": 3,
|
|
"piid": 7,
|
|
"friendlyName": "Environment - Relative Humidity",
|
|
"channel": "relative-humidity",
|
|
"type": "Number:Dimensionless",
|
|
"unit": "percentage",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 100.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f %unit%",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "temperature",
|
|
"siid": 3,
|
|
"piid": 8,
|
|
"friendlyName": "Environment - Temperature",
|
|
"channel": "temperature",
|
|
"type": "Number:Temperature",
|
|
"unit": "celsius",
|
|
"stateDescription": {
|
|
"minimum": -40.0,
|
|
"maximum": 125.0,
|
|
"pattern": "%.1f %unit%",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "filter-life-level",
|
|
"siid": 4,
|
|
"piid": 3,
|
|
"friendlyName": "Filter - Filter Life Level",
|
|
"channel": "filter-life-level",
|
|
"type": "Number:Dimensionless",
|
|
"unit": "percentage",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 100.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f %unit%",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "filter-used-time",
|
|
"siid": 4,
|
|
"piid": 5,
|
|
"friendlyName": "Filter - Filter Used Time",
|
|
"channel": "filter-used-time",
|
|
"type": "Number:Time",
|
|
"unit": "hours",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 10000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f %unit%",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "alarm",
|
|
"siid": 5,
|
|
"piid": 1,
|
|
"friendlyName": "Alarm - Alarm",
|
|
"channel": "alarm",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
],
|
|
"category": "alarm"
|
|
},
|
|
{
|
|
"property": "brightness",
|
|
"siid": 6,
|
|
"piid": 1,
|
|
"friendlyName": "Indicator Light - Brightness",
|
|
"channel": "brightness",
|
|
"type": "Number:Dimensionless",
|
|
"unit": "percentage",
|
|
"stateDescription": {
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "brightest"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "glimmer"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "led_closed"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
],
|
|
"category": "light",
|
|
"tags": [
|
|
"Control",
|
|
"Light"
|
|
],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"brightest\",\"1\"\u003d\"glimmer\",\"2\"\u003d\"led_closed\"]"
|
|
},
|
|
{
|
|
"property": "on1",
|
|
"siid": 6,
|
|
"piid": 6,
|
|
"friendlyName": "Indicator Light - Switch Status",
|
|
"channel": "on1",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "physical-controls-locked",
|
|
"siid": 7,
|
|
"piid": 1,
|
|
"friendlyName": "Physical Control Locked - Physical Control Locked",
|
|
"channel": "physical-controls-locked",
|
|
"type": "Switch",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "ONOFFBOOL"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "button-pressed",
|
|
"siid": 8,
|
|
"piid": 1,
|
|
"friendlyName": "Button - Button_pressed",
|
|
"channel": "button-pressed",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "filter-max-time",
|
|
"siid": 9,
|
|
"piid": 1,
|
|
"friendlyName": "Filter Time - Filter Max Time",
|
|
"channel": "filter-max-time",
|
|
"type": "Number:Time",
|
|
"unit": "hours",
|
|
"stateDescription": {
|
|
"minimum": 2000.0,
|
|
"maximum": 6000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f %unit%"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "filter-hour-used-debug",
|
|
"siid": 9,
|
|
"piid": 2,
|
|
"friendlyName": "Filter Time - Filter Hour Used Debug",
|
|
"channel": "filter-hour-used-debug",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 5000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-strong",
|
|
"siid": 10,
|
|
"piid": 1,
|
|
"friendlyName": "Motor Speed - M1 Strong",
|
|
"channel": "m1-strong",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300,
|
|
"maximum": 2300,
|
|
"step": 10.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-high",
|
|
"siid": 10,
|
|
"piid": 2,
|
|
"friendlyName": "Motor Speed - M1 High",
|
|
"channel": "m1-high",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300,
|
|
"maximum": 2300,
|
|
"step": 10,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-med",
|
|
"siid": 10,
|
|
"piid": 3,
|
|
"friendlyName": "Motor Speed - M1 Med",
|
|
"channel": "m1-med",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300,
|
|
"maximum": 2300,
|
|
"step": 10,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-med-l",
|
|
"siid": 10,
|
|
"piid": 4,
|
|
"friendlyName": "Motor Speed - M1 Med L",
|
|
"channel": "m1-med-l",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300,
|
|
"maximum": 2300,
|
|
"step": 10,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-low",
|
|
"siid": 10,
|
|
"piid": 5,
|
|
"friendlyName": "Motor Speed - M1 Low",
|
|
"channel": "m1-low",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300.0,
|
|
"maximum": 2300.0,
|
|
"step": 10.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-silent",
|
|
"siid": 10,
|
|
"piid": 6,
|
|
"friendlyName": "Motor Speed - M1 Silent",
|
|
"channel": "m1-silent",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300.0,
|
|
"maximum": 2300.0,
|
|
"step": 10.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "m1-favorite",
|
|
"siid": 10,
|
|
"piid": 7,
|
|
"friendlyName": "Motor Speed - M1 Favorite",
|
|
"channel": "m1-favorite",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 300.0,
|
|
"maximum": 2300.0,
|
|
"step": 10.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "motor1-speed",
|
|
"siid": 10,
|
|
"piid": 8,
|
|
"friendlyName": "Motor Speed - Motor1 Speed",
|
|
"channel": "motor1-speed",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 3000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "motor1-set-speed",
|
|
"siid": 10,
|
|
"piid": 9,
|
|
"friendlyName": "Motor Speed - Motor1 Set Speed",
|
|
"channel": "motor1-set-speed",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 3000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "favorite-fan-level",
|
|
"siid": 10,
|
|
"piid": 10,
|
|
"friendlyName": "Motor Speed - Favorite Fan Level",
|
|
"channel": "favorite-fan-level",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 14.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "use-time",
|
|
"siid": 12,
|
|
"piid": 1,
|
|
"friendlyName": "Use Time - Use Time",
|
|
"channel": "use-time",
|
|
"type": "Number:Time",
|
|
"unit": "seconds",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 2.1474836E+9,
|
|
"step": 1.0,
|
|
"pattern": "%.0f %unit%",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"category": "time"
|
|
},
|
|
{
|
|
"property": "purify-volume",
|
|
"siid": 13,
|
|
"piid": 1,
|
|
"friendlyName": "Aqi - Purify Volume",
|
|
"channel": "purify-volume",
|
|
"type": "Number:Volume",
|
|
"unit": "liter",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 2.1474836E+9,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "average-aqi",
|
|
"siid": 13,
|
|
"piid": 2,
|
|
"friendlyName": "Aqi - Average Aqi",
|
|
"channel": "average-aqi",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 600.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "average-aqi-cnt",
|
|
"siid": 13,
|
|
"piid": 3,
|
|
"friendlyName": "Aqi - Average Aqi Cnt",
|
|
"channel": "average-aqi-cnt",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 2.1474836E+9,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "aqi-zone",
|
|
"siid": 13,
|
|
"piid": 4,
|
|
"friendlyName": "Aqi - Aqi Zone",
|
|
"channel": "aqi-zone",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "sensor-state",
|
|
"siid": 13,
|
|
"piid": 5,
|
|
"friendlyName": "Aqi - Sensor State",
|
|
"channel": "sensor-state",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "aqi-goodh",
|
|
"siid": 13,
|
|
"piid": 6,
|
|
"friendlyName": "Aqi - Aqi Goodh",
|
|
"channel": "aqi-goodh",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 115.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "aqi-runstate",
|
|
"siid": 13,
|
|
"piid": 7,
|
|
"friendlyName": "Aqi - Aqi Runstate",
|
|
"channel": "aqi-runstate",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "continue"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "hold"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "sleep"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"continue\",\"1\"\u003d\"hold\",\"2\"\u003d\"sleep\"]"
|
|
},
|
|
{
|
|
"property": "aqi-state",
|
|
"siid": 13,
|
|
"piid": 8,
|
|
"friendlyName": "Aqi - Aqi State",
|
|
"channel": "aqi-state",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "AQI_GOOD_L"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "AQI_GOOD_H"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "AQI_MID_L"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "AQI_MID_H"
|
|
},
|
|
{
|
|
"value": "4",
|
|
"label": "AQI_BAD_L"
|
|
},
|
|
{
|
|
"value": "5",
|
|
"label": "AQI_BAD_H"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"AQI_GOOD_L\",\"1\"\u003d\"AQI_GOOD_H\",\"2\"\u003d\"AQI_MID_L\",\"3\"\u003d\"AQI_MID_H\",\"4\"\u003d\"AQI_BAD_L\",\"5\"\u003d\"AQI_BAD_H\"]"
|
|
},
|
|
{
|
|
"property": "aqi-updata-heartbeat",
|
|
"siid": 13,
|
|
"piid": 9,
|
|
"friendlyName": "Aqi - Aqi Updata Heartbeat",
|
|
"channel": "aqi-updata-heartbeat",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 65534.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "rfid-tag",
|
|
"siid": 14,
|
|
"piid": 1,
|
|
"friendlyName": "Rfid - Rfid Tag",
|
|
"channel": "rfid-tag",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "rfid-factory-id",
|
|
"siid": 14,
|
|
"piid": 2,
|
|
"friendlyName": "Rfid - Rfid Factory Id",
|
|
"channel": "rfid-factory-id",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "rfid-product-id",
|
|
"siid": 14,
|
|
"piid": 3,
|
|
"friendlyName": "Rfid - Rfid Product Id",
|
|
"channel": "rfid-product-id",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "rfid-time",
|
|
"siid": 14,
|
|
"piid": 4,
|
|
"friendlyName": "Rfid - Rfid Time",
|
|
"channel": "rfid-time",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "rfid-serial-num",
|
|
"siid": 14,
|
|
"piid": 5,
|
|
"friendlyName": "Rfid - Rfid Serial Num",
|
|
"channel": "rfid-serial-num",
|
|
"type": "String",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "app-extra",
|
|
"siid": 15,
|
|
"piid": 1,
|
|
"friendlyName": "Others - App Extra",
|
|
"channel": "app-extra",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 10000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f"
|
|
},
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "NUMBER"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "main-channel",
|
|
"siid": 15,
|
|
"piid": 2,
|
|
"friendlyName": "Others - Main Channel",
|
|
"channel": "main-channel",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 10000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "slave-channel",
|
|
"siid": 15,
|
|
"piid": 3,
|
|
"friendlyName": "Others - Slave Channel",
|
|
"channel": "slave-channel",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 10000.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "cola",
|
|
"siid": 15,
|
|
"piid": 4,
|
|
"friendlyName": "Others - Cola",
|
|
"channel": "cola",
|
|
"type": "String",
|
|
"refresh": true,
|
|
"actions": [
|
|
{
|
|
"command": "set_properties",
|
|
"parameterType": "STRING"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"property": "buttom-door",
|
|
"siid": 15,
|
|
"piid": 5,
|
|
"friendlyName": "Others - Buttom Door",
|
|
"channel": "buttom-door",
|
|
"type": "Switch",
|
|
"stateDescription": {
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "reboot-cause",
|
|
"siid": 15,
|
|
"piid": 6,
|
|
"friendlyName": "Others - Reboot_cause",
|
|
"channel": "reboot-cause",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "0",
|
|
"label": "REASON_HW_BOOT"
|
|
},
|
|
{
|
|
"value": "1",
|
|
"label": "REASON_USER_REBOOT"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "REASON_UPDATE"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "REASON_WDT"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"readmeComment": "Value mapping [\"0\"\u003d\"REASON_HW_BOOT\",\"1\"\u003d\"REASON_USER_REBOOT\",\"2\"\u003d\"REASON_UPDATE\",\"3\"\u003d\"REASON_WDT\"]"
|
|
},
|
|
{
|
|
"property": "hw-version",
|
|
"siid": 15,
|
|
"piid": 8,
|
|
"friendlyName": "Others - Hw Version",
|
|
"channel": "hw-version",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 66535.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "i2c-error-count",
|
|
"siid": 15,
|
|
"piid": 9,
|
|
"friendlyName": "Others - I2c Error Count",
|
|
"channel": "i2c-error-count",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"minimum": 0.0,
|
|
"maximum": 66535.0,
|
|
"step": 1.0,
|
|
"pattern": "%.0f",
|
|
"readOnly": true
|
|
},
|
|
"refresh": true,
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "manual-level",
|
|
"siid": 15,
|
|
"piid": 10,
|
|
"friendlyName": "Others - Manual Level",
|
|
"channel": "manual-level",
|
|
"type": "Number",
|
|
"stateDescription": {
|
|
"readOnly": true,
|
|
"options": [
|
|
{
|
|
"value": "1",
|
|
"label": "Level1"
|
|
},
|
|
{
|
|
"value": "2",
|
|
"label": "Level2"
|
|
},
|
|
{
|
|
"value": "3",
|
|
"label": "Level3"
|
|
}
|
|
]
|
|
},
|
|
"refresh": true,
|
|
"actions": [],
|
|
"readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\"]"
|
|
}
|
|
],
|
|
"readmeComment": "Identified manual actions for execution\u003cbr /\u003e`action{\"did\":\"filter-reset-filter-life\",\"siid\":4,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"button-toggle\",\"siid\":8,\"aiid\":1,\"in\":[]}`\u003cbr /\u003e`action{\"did\":\"button-toggle-mode\",\"siid\":8,\"aiid\":2,\"in\":[]}`\u003cbr /\u003ePlease test and feedback if they are working to they can be linked to a channel.",
|
|
"experimental": true
|
|
}
|
|
}
|