mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
222 lines
5.5 KiB
JSON
222 lines
5.5 KiB
JSON
|
{
|
||
|
"component_nego": {
|
||
|
"component_list": [
|
||
|
{
|
||
|
"id": "device",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "firmware",
|
||
|
"ver_code": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "quick_setup",
|
||
|
"ver_code": 3
|
||
|
},
|
||
|
{
|
||
|
"id": "inherit",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "time",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "wireless",
|
||
|
"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": "child_device",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "child_quick_setup",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "child_inherit",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "control_child",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "alarm",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "device_load",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "device_local_time",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "alarm_logs",
|
||
|
"ver_code": 1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"discovery_result": {
|
||
|
"device_id": "00000000000000000000000000000000",
|
||
|
"device_model": "H100(EU)",
|
||
|
"device_type": "SMART.TAPOHUB",
|
||
|
"factory_default": true,
|
||
|
"ip": "127.0.0.123",
|
||
|
"is_support_iot_cloud": true,
|
||
|
"mac": "3C-52-A1-00-00-00",
|
||
|
"mgt_encrypt_schm": {
|
||
|
"encrypt_type": "AES",
|
||
|
"http_port": 80,
|
||
|
"is_support_https": false,
|
||
|
"lv": 2
|
||
|
},
|
||
|
"obd_src": "tplink",
|
||
|
"owner": ""
|
||
|
},
|
||
|
"get_auto_update_info": {
|
||
|
"enable": true,
|
||
|
"random_range": 120,
|
||
|
"time": 180
|
||
|
},
|
||
|
"get_child_device_component_list": {
|
||
|
"child_component_list": [],
|
||
|
"start_index": 0,
|
||
|
"sum": 0
|
||
|
},
|
||
|
"get_child_device_list": {
|
||
|
"child_device_list": [],
|
||
|
"start_index": 0,
|
||
|
"sum": 0
|
||
|
},
|
||
|
"get_connect_cloud_state": {
|
||
|
"status": 1
|
||
|
},
|
||
|
"get_device_info": {
|
||
|
"avatar": "",
|
||
|
"device_id": "0000000000000000000000000000000000000000",
|
||
|
"fw_id": "00000000000000000000000000000000",
|
||
|
"fw_ver": "1.2.3 Build 221012 Rel.103821",
|
||
|
"has_set_location_info": false,
|
||
|
"hw_id": "00000000000000000000000000000000",
|
||
|
"hw_ver": "1.0",
|
||
|
"in_alarm": false,
|
||
|
"in_alarm_source": "",
|
||
|
"ip": "127.0.0.123",
|
||
|
"lang": "",
|
||
|
"latitude": 0,
|
||
|
"longitude": 0,
|
||
|
"mac": "3C-52-A1-00-00-00",
|
||
|
"model": "H100",
|
||
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||
|
"oem_id": "00000000000000000000000000000000",
|
||
|
"overheated": false,
|
||
|
"region": "",
|
||
|
"rssi": -30,
|
||
|
"signal_level": 3,
|
||
|
"specs": "EU",
|
||
|
"ssid": "I01BU0tFRF9TU0lEIw==",
|
||
|
"time_diff": 0,
|
||
|
"type": "SMART.TAPOHUB"
|
||
|
},
|
||
|
"get_device_time": {
|
||
|
"region": "",
|
||
|
"time_diff": 0,
|
||
|
"timestamp": 946771480
|
||
|
},
|
||
|
"get_fw_download_state": {
|
||
|
"auto_upgrade": false,
|
||
|
"download_progress": 0,
|
||
|
"reboot_time": 5,
|
||
|
"status": 0,
|
||
|
"upgrade_time": 5
|
||
|
},
|
||
|
"get_inherit_info": null,
|
||
|
"get_led_info": {
|
||
|
"led_rule": "always",
|
||
|
"led_status": true,
|
||
|
"night_mode": {
|
||
|
"end_time": 420,
|
||
|
"night_mode_type": "sunrise_sunset",
|
||
|
"start_time": 1140,
|
||
|
"sunrise_offset": 0,
|
||
|
"sunset_offset": 0
|
||
|
}
|
||
|
},
|
||
|
"get_wireless_scan_info": {
|
||
|
"ap_list": [
|
||
|
{
|
||
|
"bssid": "000000000000",
|
||
|
"channel": 0,
|
||
|
"cipher_type": 2,
|
||
|
"key_type": "wpa2_psk",
|
||
|
"signal_level": 2,
|
||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||
|
},
|
||
|
{
|
||
|
"bssid": "000000000000",
|
||
|
"channel": 0,
|
||
|
"cipher_type": 2,
|
||
|
"key_type": "wpa2_psk",
|
||
|
"signal_level": 2,
|
||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||
|
}
|
||
|
],
|
||
|
"wep_supported": false
|
||
|
},
|
||
|
"qs_component_nego": {
|
||
|
"component_list": [
|
||
|
{
|
||
|
"id": "quick_setup",
|
||
|
"ver_code": 3
|
||
|
},
|
||
|
{
|
||
|
"id": "sunrise_sunset",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "iot_cloud",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "inherit",
|
||
|
"ver_code": 1
|
||
|
},
|
||
|
{
|
||
|
"id": "firmware",
|
||
|
"ver_code": 2
|
||
|
}
|
||
|
],
|
||
|
"extra_info": {
|
||
|
"device_model": "H100",
|
||
|
"device_type": "SMART.TAPOHUB"
|
||
|
}
|
||
|
}
|
||
|
}
|