mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
132 lines
3.7 KiB
JSON
132 lines
3.7 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"
|
|
},
|
|
"get_current_brt": {
|
|
"err_code": 0,
|
|
"value": 16
|
|
}
|
|
},
|
|
"smartlife.iot.PIR": {
|
|
"get_config": {
|
|
"array": [
|
|
80,
|
|
50,
|
|
20,
|
|
0
|
|
],
|
|
"cold_time": 120000,
|
|
"enable": 1,
|
|
"err_code": 0,
|
|
"max_adc": 4095,
|
|
"min_adc": 0,
|
|
"trigger_index": 0,
|
|
"version": "1.0"
|
|
}
|
|
},
|
|
"smartlife.iot.dimmer": {
|
|
"get_dimmer_parameters": {
|
|
"bulb_type": 1,
|
|
"err_code": 0,
|
|
"fadeOffTime": 0,
|
|
"fadeOnTime": 0,
|
|
"gentleOffTime": 10000,
|
|
"gentleOnTime": 3000,
|
|
"minThreshold": 17,
|
|
"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": 1,
|
|
"longitude_i": 0,
|
|
"mac": "B0:A7:B9:00:00:00",
|
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
|
"model": "ES20M(US)",
|
|
"next_action": {
|
|
"type": -1
|
|
},
|
|
"obd_src": "tplink",
|
|
"oemId": "00000000000000000000000000000000",
|
|
"on_time": 6,
|
|
"preferred_state": [
|
|
{
|
|
"brightness": 100,
|
|
"index": 0
|
|
},
|
|
{
|
|
"brightness": 75,
|
|
"index": 1
|
|
},
|
|
{
|
|
"brightness": 50,
|
|
"index": 2
|
|
},
|
|
{
|
|
"brightness": 25,
|
|
"index": 3
|
|
}
|
|
],
|
|
"relay_state": 1,
|
|
"rssi": -40,
|
|
"status": "new",
|
|
"sw_ver": "1.0.11 Build 240514 Rel.110351",
|
|
"updating": 0
|
|
}
|
|
}
|
|
}
|