mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
786 lines
25 KiB
JSON
786 lines
25 KiB
JSON
{
|
|
"discovery_result": {
|
|
"decrypted_data": {
|
|
"connect_ssid": "",
|
|
"connect_type": "wired",
|
|
"device_id": "0000000000000000000000000000000000000000",
|
|
"http_port": 443,
|
|
"owner": "00000000000000000000000000000000",
|
|
"sd_status": "offline"
|
|
},
|
|
"device_id": "00000000000000000000000000000000",
|
|
"device_model": "H200",
|
|
"device_name": "#MASKED_NAME#",
|
|
"device_type": "SMART.TAPOHUB",
|
|
"encrypt_info": {
|
|
"data": "",
|
|
"key": "",
|
|
"sym_schm": "AES"
|
|
},
|
|
"encrypt_type": [
|
|
"3"
|
|
],
|
|
"factory_default": false,
|
|
"firmware_version": "1.3.6 Build 20240829 rel.71119",
|
|
"hardware_version": "1.0",
|
|
"ip": "127.0.0.123",
|
|
"isResetWiFi": false,
|
|
"is_support_iot_cloud": true,
|
|
"mac": "24-2F-D0-00-00-00",
|
|
"mgt_encrypt_schm": {
|
|
"is_support_https": true
|
|
}
|
|
},
|
|
"getAlertConfig": {},
|
|
"getAppComponentList": {
|
|
"app_component": {
|
|
"app_component_list": [
|
|
{
|
|
"name": "sdCard",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "dateTime",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "system",
|
|
"version": 4
|
|
},
|
|
{
|
|
"name": "led",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "firmware",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "account",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "quickSetup",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "hubRecord",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "deviceShare",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "siren",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "childControl",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "childQuickSetup",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "childInherit",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "deviceLoad",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "subg",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "iotCloud",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "diagnose",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "preWakeUp",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "supportRE",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "testSignal",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "dataDownload",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "testChildSignal",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "ringLog",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "matter",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "localSmart",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "generalCameraManage",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "playback",
|
|
"version": 6
|
|
},
|
|
{
|
|
"name": "hubPlayback",
|
|
"version": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"getChildDeviceComponentList": {
|
|
"child_component_list": [
|
|
{
|
|
"component_list": [
|
|
{
|
|
"id": "device",
|
|
"ver_code": 2
|
|
},
|
|
{
|
|
"id": "quick_setup",
|
|
"ver_code": 3
|
|
},
|
|
{
|
|
"id": "trigger_log",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "device_local_time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "account",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "synchronize",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "cloud_connect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "iot_cloud",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "firmware",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "localSmart",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "battery_detect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "temperature",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "humidity",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "temp_humidity_record",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "comfort_temperature",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "comfort_humidity",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "report_mode",
|
|
"ver_code": 1
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1"
|
|
},
|
|
{
|
|
"component_list": [
|
|
{
|
|
"id": "device",
|
|
"ver_code": 2
|
|
},
|
|
{
|
|
"id": "quick_setup",
|
|
"ver_code": 3
|
|
},
|
|
{
|
|
"id": "trigger_log",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "device_local_time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "account",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "synchronize",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "cloud_connect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "iot_cloud",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "firmware",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "localSmart",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "battery_detect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "temperature",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "humidity",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "temp_humidity_record",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "comfort_temperature",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "comfort_humidity",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "report_mode",
|
|
"ver_code": 1
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2"
|
|
},
|
|
{
|
|
"component_list": [
|
|
{
|
|
"id": "device",
|
|
"ver_code": 2
|
|
},
|
|
{
|
|
"id": "quick_setup",
|
|
"ver_code": 3
|
|
},
|
|
{
|
|
"id": "trigger_log",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "device_local_time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "account",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "synchronize",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "cloud_connect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "iot_cloud",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "firmware",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "localSmart",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "battery_detect",
|
|
"ver_code": 1
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_3"
|
|
},
|
|
{
|
|
"component_list": [
|
|
{
|
|
"id": "device",
|
|
"ver_code": 2
|
|
},
|
|
{
|
|
"id": "quick_setup",
|
|
"ver_code": 3
|
|
},
|
|
{
|
|
"id": "trigger_log",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "device_local_time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "account",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "synchronize",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "cloud_connect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "iot_cloud",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "firmware",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "localSmart",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "battery_detect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "double_click",
|
|
"ver_code": 1
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_4"
|
|
},
|
|
{
|
|
"component_list": [
|
|
{
|
|
"id": "device",
|
|
"ver_code": 2
|
|
},
|
|
{
|
|
"id": "quick_setup",
|
|
"ver_code": 3
|
|
},
|
|
{
|
|
"id": "trigger_log",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "device_local_time",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "account",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "synchronize",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "cloud_connect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "iot_cloud",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "firmware",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "localSmart",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "battery_detect",
|
|
"ver_code": 1
|
|
},
|
|
{
|
|
"id": "double_click",
|
|
"ver_code": 1
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_5"
|
|
}
|
|
],
|
|
"start_index": 0,
|
|
"sum": 5
|
|
},
|
|
"getChildDeviceList": {
|
|
"child_device_list": [
|
|
{
|
|
"at_low_battery": false,
|
|
"avatar": "sensor_t310",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.temp-hmdt-sensor",
|
|
"current_humidity": 56,
|
|
"current_humidity_exception": 0,
|
|
"current_temp": 21.7,
|
|
"current_temp_exception": 0,
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1",
|
|
"fw_ver": "1.5.0 Build 230105 Rel.180832",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -111,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1724637745,
|
|
"mac": "F0A731000000",
|
|
"model": "T310",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Australia/Canberra",
|
|
"report_interval": 16,
|
|
"rssi": -43,
|
|
"signal_level": 3,
|
|
"specs": "US",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"temp_unit": "celsius",
|
|
"type": "SMART.TAPOSENSOR"
|
|
},
|
|
{
|
|
"at_low_battery": false,
|
|
"avatar": "sensor_t315",
|
|
"battery_percentage": 100,
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.temp-hmdt-sensor",
|
|
"current_humidity": 58,
|
|
"current_humidity_exception": 0,
|
|
"current_temp": 21.6,
|
|
"current_temp_exception": 0,
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2",
|
|
"fw_ver": "1.8.0 Build 230921 Rel.091519",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -107,
|
|
"jamming_signal_level": 2,
|
|
"lastOnboardingTimestamp": 1724637369,
|
|
"mac": "202351000000",
|
|
"model": "T315",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Australia/Canberra",
|
|
"report_interval": 16,
|
|
"rssi": -42,
|
|
"signal_level": 3,
|
|
"specs": "US",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"temp_unit": "celsius",
|
|
"type": "SMART.TAPOSENSOR"
|
|
},
|
|
{
|
|
"at_low_battery": false,
|
|
"avatar": "outdoor",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.contact-sensor",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_3",
|
|
"fw_ver": "1.9.0 Build 230704 Rel.154559",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -112,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1724635267,
|
|
"mac": "A86E84000000",
|
|
"model": "T110",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"open": false,
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Australia/Canberra",
|
|
"report_interval": 16,
|
|
"rssi": -47,
|
|
"signal_level": 3,
|
|
"specs": "US",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"type": "SMART.TAPOSENSOR"
|
|
},
|
|
{
|
|
"at_low_battery": false,
|
|
"avatar": "button",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.button",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_4",
|
|
"fw_ver": "1.12.0 Build 231121 Rel.092508",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -115,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1724636047,
|
|
"mac": "3C52A1000000",
|
|
"model": "S200B",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Australia/Canberra",
|
|
"report_interval": 16,
|
|
"rssi": -45,
|
|
"signal_level": 3,
|
|
"specs": "US",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"type": "SMART.TAPOSENSOR"
|
|
},
|
|
{
|
|
"at_low_battery": false,
|
|
"avatar": "button",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.button",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_5",
|
|
"fw_ver": "1.12.0 Build 231121 Rel.092508",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -114,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1724636886,
|
|
"mac": "98254A000000",
|
|
"model": "S200B",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Australia/Canberra",
|
|
"report_interval": 16,
|
|
"rssi": -57,
|
|
"signal_level": 3,
|
|
"specs": "US",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"type": "SMART.TAPOSENSOR"
|
|
}
|
|
],
|
|
"start_index": 0,
|
|
"sum": 5
|
|
},
|
|
"getCircularRecordingConfig": {
|
|
"harddisk_manage": {
|
|
"harddisk": {
|
|
"loop": "on"
|
|
}
|
|
}
|
|
},
|
|
"getClockStatus": {
|
|
"system": {
|
|
"clock_status": {
|
|
"local_time": "2024-11-13 09:26:28",
|
|
"seconds_from_1970": 1731450388
|
|
}
|
|
}
|
|
},
|
|
"getConnectionType": {
|
|
"link_type": "ethernet"
|
|
},
|
|
"getDeviceInfo": {
|
|
"device_info": {
|
|
"basic_info": {
|
|
"avatar": "hub_h200",
|
|
"bind_status": true,
|
|
"child_num": 0,
|
|
"dev_id": "0000000000000000000000000000000000000000",
|
|
"device_alias": "#MASKED_NAME#",
|
|
"device_info": "H200 1.0",
|
|
"device_model": "H200",
|
|
"device_name": "#MASKED_NAME#",
|
|
"device_type": "SMART.TAPOHUB",
|
|
"has_set_location_info": 1,
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_version": "1.0",
|
|
"latitude": 0,
|
|
"local_ip": "127.0.0.123",
|
|
"longitude": 0,
|
|
"mac": "24-2F-D0-00-00-00",
|
|
"need_sync_sha1_password": 0,
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"product_name": "Tapo Smart Hub",
|
|
"region": "US",
|
|
"status": "configured",
|
|
"sw_version": "1.3.6 Build 20240829 rel.71119"
|
|
},
|
|
"info": {
|
|
"avatar": "hub_h200",
|
|
"bind_status": true,
|
|
"child_num": 0,
|
|
"dev_id": "0000000000000000000000000000000000000000",
|
|
"device_alias": "#MASKED_NAME#",
|
|
"device_info": "H200 1.0",
|
|
"device_model": "H200",
|
|
"device_name": "#MASKED_NAME#",
|
|
"device_type": "SMART.TAPOHUB",
|
|
"has_set_location_info": 1,
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_version": "1.0",
|
|
"latitude": 0,
|
|
"local_ip": "127.0.0.123",
|
|
"longitude": 0,
|
|
"mac": "24-2F-D0-00-00-00",
|
|
"need_sync_sha1_password": 0,
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"product_name": "Tapo Smart Hub",
|
|
"region": "US",
|
|
"status": "configured",
|
|
"sw_version": "1.3.6 Build 20240829 rel.71119"
|
|
}
|
|
}
|
|
},
|
|
"getFirmwareAutoUpgradeConfig": {
|
|
"auto_upgrade": {
|
|
"common": {
|
|
"enabled": "on",
|
|
"random_range": 120,
|
|
"time": "03:00"
|
|
}
|
|
}
|
|
},
|
|
"getFirmwareUpdateStatus": {
|
|
"cloud_config": {
|
|
"upgrade_status": {
|
|
"lastUpgradingSuccess": true,
|
|
"state": "normal"
|
|
}
|
|
}
|
|
},
|
|
"getLedStatus": {
|
|
"led": {
|
|
"config": {
|
|
".name": "config",
|
|
".type": "led",
|
|
"enabled": "on"
|
|
}
|
|
}
|
|
},
|
|
"getMediaEncrypt": {
|
|
"cet": {
|
|
"media_encrypt": {
|
|
"enabled": "on"
|
|
}
|
|
}
|
|
},
|
|
"getSdCardStatus": {
|
|
"harddisk_manage": {
|
|
"hd_info": [
|
|
{
|
|
"hd_info_1": {
|
|
"detect_status": "offline",
|
|
"disk_name": "1",
|
|
"loop_record_status": "1",
|
|
"status": "offline"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"getSirenConfig": {
|
|
"duration": 300,
|
|
"siren_type": "Doorbell Ring 3",
|
|
"volume": "6"
|
|
},
|
|
"getSirenStatus": {
|
|
"status": "off",
|
|
"time_left": 0
|
|
},
|
|
"getSirenTypeList": {
|
|
"siren_type_list": [
|
|
"Doorbell Ring 1",
|
|
"Doorbell Ring 2",
|
|
"Doorbell Ring 3",
|
|
"Doorbell Ring 4",
|
|
"Doorbell Ring 5",
|
|
"Doorbell Ring 6",
|
|
"Doorbell Ring 7",
|
|
"Doorbell Ring 8",
|
|
"Doorbell Ring 9",
|
|
"Doorbell Ring 10",
|
|
"Phone Ring",
|
|
"Alarm 1",
|
|
"Alarm 2",
|
|
"Alarm 3",
|
|
"Alarm 4",
|
|
"Dripping Tap",
|
|
"Alarm 5",
|
|
"Connection 1",
|
|
"Connection 2"
|
|
]
|
|
},
|
|
"getTimezone": {
|
|
"system": {
|
|
"basic": {
|
|
"timezone": "UTC+10:00",
|
|
"zone_id": "Australia/Canberra"
|
|
}
|
|
}
|
|
}
|
|
}
|