python-kasa/tests/fixtures/iot/ES20M(US)_1.0_1.0.11.json

185 lines
5.0 KiB
JSON
Raw Normal View History

{
"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,
"username": "user@example.com"
},
"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
}
},
"smartlife.iot.LAS": {
"get_adc_value": {
"err_code": 0,
"type": 2,
"value": 0
},
"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"
},
"get_current_brt": {
"err_code": 0,
"value": 0
},
"get_dark_status": {
"bDark": 1,
"err_code": 0
}
},
"smartlife.iot.PIR": {
"get_adc_value": {
"err_code": 0,
"value": 2107
},
"get_config": {
"array": [
80,
50,
20,
0
],
"cold_time": 120000,
"enable": 0,
"err_code": 0,
"max_adc": 4095,
"min_adc": 0,
"trigger_index": 1,
"version": "1.0"
}
},
"smartlife.iot.dimmer": {
"get_default_behavior": {
"double_click": {
"mode": "unknown"
},
"err_code": 0,
"long_press": {
"mode": "unknown"
}
},
"get_dimmer_parameters": {
"bulb_type": 1,
"err_code": 0,
"fadeOffTime": 0,
"fadeOnTime": 0,
"gentleOffTime": 10000,
"gentleOnTime": 3000,
"minThreshold": 5,
"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,
"led_off": 0,
"longitude_i": 0,
"mac": "28:87:BA:00:00:00",
"mic_type": "IOT.SMARTPLUGSWITCH",
"model": "ES20M(US)",
"next_action": {
"type": -1
},
"obd_src": "tplink",
"oemId": "00000000000000000000000000000000",
"on_time": 0,
"preferred_state": [
{
"brightness": 100,
"index": 0
},
{
"brightness": 75,
"index": 1
},
{
"brightness": 50,
"index": 2
},
{
"brightness": 25,
"index": 3
}
],
"relay_state": 0,
"rssi": -57,
"status": "new",
"sw_ver": "1.0.11 Build 240514 Rel.110351",
"updating": 0
}
}
}