2024-11-09 07:16:41 +00:00
|
|
|
{
|
2024-11-22 07:59:17 +00:00
|
|
|
"cnCloud": {
|
|
|
|
"get_info": {
|
|
|
|
"binded": 1,
|
|
|
|
"cld_connection": 1,
|
|
|
|
"err_code": 0,
|
|
|
|
"fwDlPage": "",
|
|
|
|
"fwNotifyType": -1,
|
|
|
|
"illegalType": 0,
|
|
|
|
"server": "n-devs.tplinkcloud.com",
|
|
|
|
"stopConnect": 0,
|
|
|
|
"tcspInfo": "",
|
|
|
|
"tcspStatus": 1,
|
2024-12-11 13:18:44 +00:00
|
|
|
"username": "user@example.com"
|
2024-11-22 07:59:17 +00:00
|
|
|
},
|
|
|
|
"get_intl_fw_list": {
|
|
|
|
"err_code": 0,
|
|
|
|
"fw_list": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schedule": {
|
|
|
|
"get_next_action": {
|
|
|
|
"err_code": 0,
|
|
|
|
"type": -1
|
|
|
|
},
|
|
|
|
"get_rules": {
|
|
|
|
"enable": 1,
|
|
|
|
"err_code": 0,
|
|
|
|
"rule_list": [],
|
|
|
|
"version": 2
|
|
|
|
}
|
|
|
|
},
|
2024-11-09 07:16:41 +00:00
|
|
|
"smartlife.iot.LAS": {
|
2024-11-22 07:59:17 +00:00
|
|
|
"get_adc_value": {
|
|
|
|
"err_code": 0,
|
|
|
|
"type": 2,
|
|
|
|
"value": 0
|
|
|
|
},
|
2024-11-09 07:16:41 +00:00
|
|
|
"get_config": {
|
|
|
|
"devs": [
|
|
|
|
{
|
|
|
|
"dark_index": 0,
|
|
|
|
"enable": 1,
|
|
|
|
"hw_id": 0,
|
|
|
|
"level_array": [
|
|
|
|
{
|
|
|
|
"adc": 390,
|
|
|
|
"name": "cloudy",
|
|
|
|
"value": 15
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adc": 300,
|
|
|
|
"name": "overcast",
|
|
|
|
"value": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adc": 222,
|
|
|
|
"name": "dawn",
|
|
|
|
"value": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adc": 222,
|
|
|
|
"name": "twilight",
|
|
|
|
"value": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adc": 111,
|
|
|
|
"name": "total darkness",
|
|
|
|
"value": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adc": 2400,
|
|
|
|
"name": "custom",
|
|
|
|
"value": 94
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max_adc": 2550,
|
|
|
|
"min_adc": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"err_code": 0,
|
|
|
|
"ver": "1.0"
|
2024-11-11 09:31:13 +00:00
|
|
|
},
|
|
|
|
"get_current_brt": {
|
|
|
|
"err_code": 0,
|
2024-11-22 07:59:17 +00:00
|
|
|
"value": 0
|
|
|
|
},
|
|
|
|
"get_dark_status": {
|
|
|
|
"bDark": 1,
|
|
|
|
"err_code": 0
|
2024-11-09 07:16:41 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"smartlife.iot.PIR": {
|
2024-11-22 07:59:17 +00:00
|
|
|
"get_adc_value": {
|
|
|
|
"err_code": 0,
|
|
|
|
"value": 2107
|
|
|
|
},
|
2024-11-09 07:16:41 +00:00
|
|
|
"get_config": {
|
|
|
|
"array": [
|
|
|
|
80,
|
|
|
|
50,
|
|
|
|
20,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"cold_time": 120000,
|
2024-11-22 07:59:17 +00:00
|
|
|
"enable": 0,
|
2024-11-09 07:16:41 +00:00
|
|
|
"err_code": 0,
|
|
|
|
"max_adc": 4095,
|
|
|
|
"min_adc": 0,
|
2024-11-22 07:59:17 +00:00
|
|
|
"trigger_index": 1,
|
2024-11-09 07:16:41 +00:00
|
|
|
"version": "1.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"smartlife.iot.dimmer": {
|
2024-11-22 07:59:17 +00:00
|
|
|
"get_default_behavior": {
|
|
|
|
"double_click": {
|
|
|
|
"mode": "unknown"
|
|
|
|
},
|
|
|
|
"err_code": 0,
|
|
|
|
"long_press": {
|
|
|
|
"mode": "unknown"
|
|
|
|
}
|
|
|
|
},
|
2024-11-09 07:16:41 +00:00
|
|
|
"get_dimmer_parameters": {
|
|
|
|
"bulb_type": 1,
|
|
|
|
"err_code": 0,
|
|
|
|
"fadeOffTime": 0,
|
|
|
|
"fadeOnTime": 0,
|
|
|
|
"gentleOffTime": 10000,
|
|
|
|
"gentleOnTime": 3000,
|
2024-11-22 07:59:17 +00:00
|
|
|
"minThreshold": 5,
|
2024-11-09 07:16:41 +00:00
|
|
|
"rampRate": 30
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"system": {
|
|
|
|
"get_sysinfo": {
|
|
|
|
"active_mode": "none",
|
|
|
|
"alias": "#MASKED_NAME#",
|
|
|
|
"brightness": 100,
|
|
|
|
"dev_name": "Wi-Fi Smart Dimmer with sensor",
|
|
|
|
"deviceId": "0000000000000000000000000000000000000000",
|
|
|
|
"err_code": 0,
|
|
|
|
"feature": "TIM",
|
|
|
|
"hwId": "00000000000000000000000000000000",
|
|
|
|
"hw_ver": "1.0",
|
|
|
|
"icon_hash": "",
|
|
|
|
"latitude_i": 0,
|
2024-11-22 07:59:17 +00:00
|
|
|
"led_off": 0,
|
2024-11-09 07:16:41 +00:00
|
|
|
"longitude_i": 0,
|
2024-11-22 07:59:17 +00:00
|
|
|
"mac": "28:87:BA:00:00:00",
|
2024-11-09 07:16:41 +00:00
|
|
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
|
|
|
"model": "ES20M(US)",
|
|
|
|
"next_action": {
|
|
|
|
"type": -1
|
|
|
|
},
|
|
|
|
"obd_src": "tplink",
|
|
|
|
"oemId": "00000000000000000000000000000000",
|
2024-11-22 07:59:17 +00:00
|
|
|
"on_time": 0,
|
2024-11-09 07:16:41 +00:00
|
|
|
"preferred_state": [
|
|
|
|
{
|
|
|
|
"brightness": 100,
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"brightness": 75,
|
|
|
|
"index": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"brightness": 50,
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"brightness": 25,
|
|
|
|
"index": 3
|
|
|
|
}
|
|
|
|
],
|
2024-11-22 07:59:17 +00:00
|
|
|
"relay_state": 0,
|
|
|
|
"rssi": -57,
|
2024-11-09 07:16:41 +00:00
|
|
|
"status": "new",
|
|
|
|
"sw_ver": "1.0.11 Build 240514 Rel.110351",
|
|
|
|
"updating": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|