python-kasa/tests/fixtures/iot/KS220(US)_1.0_1.0.13.json

112 lines
3.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": 0,
"err_code": 0,
"rule_list": [],
"version": 2
}
},
"smartlife.iot.dimmer": {
"get_default_behavior": {
"double_click": {
"mode": "gentle_on_off"
},
"err_code": 0,
"hard_on": {
"mode": "last_status"
},
"long_press": {
"mode": "instant_on_off"
},
"soft_on": {
"mode": "last_status"
}
},
"get_dimmer_parameters": {
"bulb_type": 1,
"calibration_type": 1,
"err_code": 0,
"fadeOffTime": 1000,
"fadeOnTime": 1000,
"gentleOffTime": 10000,
"gentleOnTime": 3000,
"minThreshold": 9,
"rampRate": 30
}
},
"system": {
"get_sysinfo": {
"active_mode": "none",
"alias": "#MASKED_NAME#",
"brightness": 100,
"dev_name": "Smart Wi-Fi Dimmer Switch",
"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": "30:DE:4B:00:00:00",
"mic_type": "IOT.SMARTPLUGSWITCH",
"model": "KS220(US)",
"next_action": {
"type": -1
},
"ntc_state": 0,
"obd_src": "apple",
"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": -50,
"status": "configured",
"sw_ver": "1.0.13 Build 240424 Rel.102214",
"updating": 0
}
}
}