mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
857a706649
Fixtures for the following new firmware versions on existing devices: - ES20M(US)_1.0_1.0.11 - HS200(US)_3.0_1.1.5 - HS200(US)_5.0_1.0.11 - HS210(US)_2.0_1.1.5 - KP303(US)_2.0_1.0.9 - KS200M(US)_1.0_1.0.10 - KP125M(US)_1.0_1.2.3 - KS240(US)_1.0_1.0.7
128 lines
3.6 KiB
JSON
128 lines
3.6 KiB
JSON
{
|
|
"smartlife.iot.LAS": {
|
|
"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"
|
|
}
|
|
},
|
|
"smartlife.iot.PIR": {
|
|
"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_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": -54,
|
|
"status": "new",
|
|
"sw_ver": "1.0.11 Build 240514 Rel.110351",
|
|
"updating": 0
|
|
}
|
|
}
|
|
}
|