Thanks @marcel_verpaalen .
Got the database.
{
"deviceMapping": {
"id": [
"dmaker.fan.p5c"
],
"propertyMethod": "get_properties",
"maxProperties": 1,
"channels": [
{
"property": "",
"friendlyName": "Actions",
"channel": "actions",
"type": "String",
"stateDescription": {
"options": [
{"value": "fan-toggle", "label": "Fan Toggle"},
{"value": "fan-turn-left", "label": "Fan Turn Left"},
{"value": "fan-turn-right", "label": "Fan Turn Right"},
{"value": "dm-service-toggle-mode", "label": "Dm Service Toggle Mode"},
{"value": "dm-service-loop-gear", "label": "Dm Service Loop Gear"}
]
},
"refresh": false,
"actions": [
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 1,
"condition": {"name": "matchValue", "parameters": [{"matchValue": "fan-toggle"}]}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 2,
"condition": {"name": "matchValue", "parameters": [{"matchValue": "fan-turn-left"}]}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 3,
"condition": {"name": "matchValue", "parameters": [{"matchValue": "fan-turn-right"}]}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 8,
"aiid": 1,
"condition": {"name": "matchValue", "parameters": [{"matchValue": "dm-service-toggle-mode"}]}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 8,
"aiid": 2,
"condition": {"name": "matchValue", "parameters": [{"matchValue": "dm-service-loop-gear"}]}
}
]
},
{
"property": "on",
"siid": 2,
"piid": 1,
"friendlyName": "Fan - Switch Status",
"channel": "on",
"type": "Switch",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "ONOFFBOOL"}
]
},
{
"property": "fan-level",
"siid": 2,
"piid": 2,
"friendlyName": "Fan - Fan Level",
"channel": "fan_level",
"type": "Number",
"stateDescription": {
"options": [
{"value": "1", "label": "Level1"},
{"value": "2", "label": "Level2"},
{"value": "3", "label": "Level3"},
{"value": "4", "label": "Level4"}
]
},
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "NUMBER"}
],
"readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\",\"4\"\u003d\"Level4\"]"
},
{
"property": "mode",
"siid": 2,
"piid": 3,
"friendlyName": "Fan - Mode",
"channel": "mode",
"type": "Number",
"stateDescription": {
"options": [
{"value": "0", "label": "Straight Wind"},
{"value": "1", "label": "Natural Wind"}
]
},
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "NUMBER"}
],
"readmeComment": "Value mapping [\"0\"\u003d\"Straight Wind\",\"1\"\u003d\"Natural Wind\"]"
},
{
"property": "horizontal-swing",
"siid": 2,
"piid": 4,
"friendlyName": "Fan - Horizontal Swing",
"channel": "horizontal_swing",
"type": "Switch",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "ONOFFBOOL"}
]
},
{
"property": "horizontal-swing-included-angle",
"siid": 2,
"piid": 5,
"friendlyName": "Fan - Horizontal Swing Included Angle",
"channel": "horizontal_swing_included_angle",
"type": "Number",
"stateDescription": {
"options": [
{"value": "30", "label": "30"},
{"value": "60", "label": "60"},
{"value": "90", "label": "90"},
{"value": "120", "label": "120"},
{"value": "140", "label": "140"}
]
},
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
],
"readmeComment": "Value mapping [\"30\"\u003d\"30\",\"60\"\u003d\"60\",\"90\"\u003d\"90\",\"120\"\u003d\"120\",\"140\"\u003d\"140\"]"
},
{
"property": "status",
"siid": 2,
"piid": 6,
"friendlyName": "Fan - Status",
"channel": "status",
"type": "Number",
"stateDescription": {
"readOnly": true,
"options": [
{"value": "0", "label": "12"},
{"value": "1", "label": "9"},
{"value": "2", "label": "5"}
]
},
"refresh": true,
"actions": [],
"readmeComment": "Value mapping [\"0\"\u003d\"12\",\"1\"\u003d\"9\",\"2\"\u003d\"5\"]"
},
{
"property": "on1",
"siid": 4,
"piid": 1,
"friendlyName": "Indicator Light - Switch Status",
"channel": "on1",
"type": "Switch",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "ONOFFBOOL"}
]
},
{
"property": "alarm",
"siid": 5,
"piid": 1,
"friendlyName": "Alarm - Alarm",
"channel": "alarm",
"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": "off-delay-time",
"siid": 3,
"piid": 1,
"friendlyName": "Off Delay Time - Off Delay Time",
"channel": "off_delay_time",
"type": "Number:Time",
"unit": "minutes",
"stateDescription": {
"minimum": 0,
"maximum": 480,
"step": 1,
"pattern": "%.0f %unit%"
},
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
},
{
"property": "speed-level",
"siid": 8,
"piid": 1,
"friendlyName": "Dm Service - Speed Level",
"channel": "speed_level",
"type": "Number",
"stateDescription": {
"minimum": 1,
"maximum": 100,
"step": 1,
"pattern": "%.0f"
},
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "NUMBER"}
]
},
{
"property": "start-left",
"siid": 8,
"piid": 3,
"friendlyName": "Dm Service - Start Left",
"channel": "start_left",
"type": "Switch",
"refresh": false,
"actions": [
{"command": "set_properties", "parameterType": "ONOFFBOOL"}
]
},
{
"property": "start-right",
"siid": 8,
"piid": 4,
"friendlyName": "Dm Service - Start Right",
"channel": "start_right",
"type": "Switch",
"refresh": false,
"actions": [
{"command": "set_properties", "parameterType": "ONOFFBOOL"}
]
},
{
"property": "natural-list",
"siid": 8,
"piid": 5,
"friendlyName": "Dm Service - Natural List",
"channel": "natural_list",
"type": "String",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
},
{
"property": "natural-e",
"siid": 8,
"piid": 6,
"friendlyName": "Dm Service - Natural E",
"channel": "natural_e",
"type": "String",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
},
{
"property": "natural-f",
"siid": 8,
"piid": 7,
"friendlyName": "Dm Service - Natural F",
"channel": "natural_f",
"type": "String",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
},
{
"property": "natural-g",
"siid": 8,
"piid": 8,
"friendlyName": "Dm Service - Natural G",
"channel": "natural_g",
"type": "String",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
},
{
"property": "natural-h",
"siid": 8,
"piid": 9,
"friendlyName": "Dm Service - Natural H",
"channel": "natural_h",
"type": "String",
"refresh": true,
"actions": [
{"command": "set_properties", "parameterType": "STRING"}
]
}
],
"experimental": true
}
}