@apollon77
vom device:
{
"from": "system.adapter.tuya.0",
"ts": zensur?,
"common": {
"name": "Deckenlicht",
"read": true,
"write": false
},
"native": {
"lon": "zensur",
"uuid": "zensur",
"iconUrl": "https://images.tuyaeu.com/smart/product_icon2/dj_1.png",
"lat": "zensur",
"runtimeEnv": "prod",
"devId": "zensur",
"productId": "laI556gLUEUkFd7T",
"name": "Deckenlicht",
"timezoneId": "Europe/Berlin",
"localKey": "zensur",
"productKey": "laI556gLUEUkFd7T",
"dpMaxTime": 1550942379053,
"activeTime": 1550941012,
"devAttribute": 0,
"virtual": false,
"moduleMap": {
"wifi": {
"upgradeStatus": 0,
"bv": "5.28",
"cdv": "1.0.0",
"pv": "2.1",
"verSw": "1.0.2",
"isOnline": true,
"id": 6050749,
"cadv": ""
},
"mcu": {
"upgradeStatus": 0,
"cdv": "",
"verSw": "1.0.2",
"isOnline": true,
"id": 6050750,
"cadv": ""
}
},
"schema": [
{
"mode": "rw",
"code": "led_switch",
"name": "开关",
"property": {
"type": "bool"
},
"iconname": "icon-dp_power2",
"id": 1,
"type": "obj",
"desc": ""
},
{
"mode": "rw",
"code": "bright_value",
"name": "亮度",
"property": {
"unit": "",
"min": 25,
"max": 255,
"scale": 0,
"step": 1,
"type": "value"
},
"iconname": "icon-dp_light",
"id": 3,
"type": "obj",
"desc": ""
},
{
"mode": "rw",
"code": "temp_value",
"name": "冷暖",
"property": {
"unit": "",
"min": 0,
"max": 255,
"scale": 0,
"step": 1,
"type": "value"
},
"iconname": "icon-dp_sun",
"id": 4,
"type": "obj",
"desc": ""
}
],
"schemaExt": [
{
"id": 1,
"inputType": " "
},
{
"id": 3,
"inputType": " "
},
{
"id": 4,
"inputType": " "
}
]
},
"acl": {
"object": 1636,
"owner": "system.user.admin",
"ownerGroup": "system.group.administrator"
},
"_id": "tuya.0.zensur?",
"type": "device"
}
vom attribut ip:
{
"from": "system.adapter.tuya.0",
"ts": 1551007268272,
"common": {
"name": "Device IP",
"type": "string",
"role": "info.ip",
"read": true,
"write": false
},
"native": {},
"acl": {
"object": 1636,
"owner": "system.user.admin",
"ownerGroup": "system.group.administrator",
"state": 1636
},
"_id": "tuya.0.zensur?.ip",
"type": "state"
}