mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 19:53:34 +00:00
176 lines
4.4 KiB
JSON
176 lines
4.4 KiB
JSON
|
{
|
||
|
"component_nego": {
|
||
|
"component_list": [
|
||
|
{
|
||
|
"id": "device",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "firmware",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "quick_setup",
|
||
|
"ver_code": 3
|
||
|
},
|
||
|
{
|
||
|
"id": "time",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "wireless",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "schedule",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "countdown",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "antitheft",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "account",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "synchronize",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "sunrise_sunset",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "led",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "cloud_connect",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "iot_cloud",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "device_local_time",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "default_states",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "auto_off",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "energy_monitoring",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "power_protection",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "homekit",
|
||
|
"ver_code": 2
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"discovery_result": {
|
||
|
"device_id": "00000000000000000000000000000000",
|
||
|
"device_model": "EP25(US)",
|
||
|
"device_type": "SMART.KASAPLUG",
|
||
|
"factory_default": false,
|
||
|
"ip": "127.0.0.123",
|
||
|
"is_support_iot_cloud": true,
|
||
|
"mac": "00-00-00-00-00-00",
|
||
|
"mgt_encrypt_schm": {
|
||
|
"encrypt_type": "AES",
|
||
|
"http_port": 80,
|
||
|
"is_support_https": false,
|
||
|
"lv": 2
|
||
|
},
|
||
|
"obd_src": "apple",
|
||
|
"owner": "00000000000000000000000000000000"
|
||
|
},
|
||
|
"get_current_power": {
|
||
|
"current_power": 715
|
||
|
},
|
||
|
"get_device_info": {
|
||
|
"auto_off_remain_time": 0,
|
||
|
"auto_off_status": "off",
|
||
|
"avatar": "plug",
|
||
|
"default_states": {
|
||
|
"state": {},
|
||
|
"type": "last_states"
|
||
|
},
|
||
|
"device_id": "0000000000000000000000000000000000000000",
|
||
|
"device_on": true,
|
||
|
"fw_id": "00000000000000000000000000000000",
|
||
|
"fw_ver": "1.0.1 Build 230614 Rel.150219",
|
||
|
"has_set_location_info": false,
|
||
|
"hw_id": "00000000000000000000000000000000",
|
||
|
"hw_ver": "2.6",
|
||
|
"ip": "127.0.0.123",
|
||
|
"lang": "en_US",
|
||
|
"latitude": 0,
|
||
|
"longitude": 0,
|
||
|
"mac": "00-00-00-00-00-00",
|
||
|
"model": "EP25",
|
||
|
"nickname": "emVlaw==",
|
||
|
"oem_id": "00000000000000000000000000000000",
|
||
|
"on_time": 177938,
|
||
|
"overheated": false,
|
||
|
"power_protection_status": "normal",
|
||
|
"region": "America/Los_Angeles",
|
||
|
"rssi": -58,
|
||
|
"signal_level": 2,
|
||
|
"specs": "",
|
||
|
"ssid": "IyNNQVNLRUROQU1FIyM=",
|
||
|
"time_diff": -480,
|
||
|
"type": "SMART.KASAPLUG"
|
||
|
},
|
||
|
"get_device_time": {
|
||
|
"region": "America/Los_Angeles",
|
||
|
"time_diff": -480,
|
||
|
"timestamp": 1701455103
|
||
|
},
|
||
|
"get_device_usage": {
|
||
|
"power_usage": {
|
||
|
"past30": 100856,
|
||
|
"past7": 56030,
|
||
|
"today": 3965
|
||
|
},
|
||
|
"saved_power": {
|
||
|
"past30": 0,
|
||
|
"past7": 0,
|
||
|
"today": 0
|
||
|
},
|
||
|
"time_usage": {
|
||
|
"past30": 19678,
|
||
|
"past7": 9265,
|
||
|
"today": 625
|
||
|
}
|
||
|
},
|
||
|
"get_energy_usage": {
|
||
|
"current_power": 715092,
|
||
|
"electricity_charge": [
|
||
|
0,
|
||
|
0,
|
||
|
0
|
||
|
],
|
||
|
"local_time": "2023-12-01 10:25:03",
|
||
|
"month_energy": 3965,
|
||
|
"month_runtime": 625,
|
||
|
"today_energy": 3965,
|
||
|
"today_runtime": 625
|
||
|
}
|
||
|
}
|