mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-05-28 01:32:21 +00:00

Some checks are pending
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Waiting to run
557 lines
17 KiB
JSON
557 lines
17 KiB
JSON
{
|
|
"discovery_result": {
|
|
"error_code": 0,
|
|
"result": {
|
|
"decrypted_data": {
|
|
"connect_ssid": "#MASKED_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": "F0-09-0D-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": [
|
|
{
|
|
"name": "sdCard",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "timezone",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamSystem",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "led",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "playback",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "detection",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "firmware",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "video",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "lensMask",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "lightFrequency",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "dayNightMode",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "nightVisionMode",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "batCamOsd",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "record",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "personDetection",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "vehicleDetection",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "petDetection",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "msgPush",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "deviceShare",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "tapoCare",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "pir",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "battery",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "clips",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamRelay",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamP2p",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "needSubscriptionServiceList",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "iotCloud",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "blockZone",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "whiteLamp",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "infLamp",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "packageDetection",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "wakeUp",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "ring",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "antiTheft",
|
|
"version": 3
|
|
},
|
|
{
|
|
"name": "quickResponse",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "doorbellNightVision",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "dataDownload",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "detectionRegion",
|
|
"version": 2
|
|
},
|
|
{
|
|
"name": "streamGrab",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "recordDownload",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamPreRelay",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamStatistics",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamNodeRelay",
|
|
"version": 1
|
|
},
|
|
{
|
|
"name": "batCamRtsp",
|
|
"version": 2
|
|
}
|
|
],
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1"
|
|
}
|
|
],
|
|
"start_index": 0,
|
|
"sum": 1
|
|
},
|
|
"getChildDeviceList": {
|
|
"child_device_list": [
|
|
{
|
|
"alias": "#MASKED_NAME#",
|
|
"anti_theft_status": 0,
|
|
"avatar": "camera d210",
|
|
"battery_charging": "NO",
|
|
"battery_installed": 1,
|
|
"battery_percent": 90,
|
|
"battery_temperature": 3,
|
|
"battery_voltage": 4022,
|
|
"cam_uptime": 5378,
|
|
"category": "camera",
|
|
"dev_name": "Tapo Smart Doorbell",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1",
|
|
"device_model": "D230",
|
|
"device_name": "#MASKED_NAME#",
|
|
"device_type": "SMART.TAPODOORBELL",
|
|
"ext_addr": "0000000000000000",
|
|
"firmware_status": "OK",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.20",
|
|
"ipaddr": "172.23.30.2",
|
|
"led_status": "on",
|
|
"low_battery": false,
|
|
"mac": "F0:09:0D:00:00:00",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"onboarding_timestamp": 1732920657,
|
|
"online": true,
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"power": "BATTERY",
|
|
"power_save_mode": "off",
|
|
"power_save_status": "off",
|
|
"region": "EU",
|
|
"rssi": -46,
|
|
"short_addr": 0,
|
|
"status": "configured",
|
|
"subg_cam_rssi": 0,
|
|
"subg_hub_rssi": 0,
|
|
"sw_ver": "1.1.19 Build 20241011 rel.67020",
|
|
"system_time": 1735995953,
|
|
"updating": false,
|
|
"uptime": 3061186
|
|
}
|
|
],
|
|
"start_index": 0,
|
|
"sum": 1
|
|
},
|
|
"getCircularRecordingConfig": {
|
|
"harddisk_manage": {
|
|
"harddisk": {
|
|
"loop": "on"
|
|
}
|
|
}
|
|
},
|
|
"getClockStatus": {
|
|
"system": {
|
|
"clock_status": {
|
|
"local_time": "2025-01-04 14:05:53",
|
|
"seconds_from_1970": 1735995953
|
|
}
|
|
}
|
|
},
|
|
"getConnectionType": {
|
|
"link_type": "ethernet"
|
|
},
|
|
"getDeviceInfo": {
|
|
"device_info": {
|
|
"basic_info": {
|
|
"avatar": "hub_h200",
|
|
"bind_status": true,
|
|
"child_num": 1,
|
|
"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": "F0-09-0D-00-00-00",
|
|
"need_sync_sha1_password": 0,
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"product_name": "Tapo Smart Hub",
|
|
"region": "EU",
|
|
"status": "configured",
|
|
"sw_version": "1.3.6 Build 20240829 rel.71119"
|
|
},
|
|
"info": {
|
|
"avatar": "hub_h200",
|
|
"bind_status": true,
|
|
"child_num": 1,
|
|
"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": "F0-09-0D-00-00-00",
|
|
"need_sync_sha1_password": 0,
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"product_name": "Tapo Smart Hub",
|
|
"region": "EU",
|
|
"status": "configured",
|
|
"sw_version": "1.3.6 Build 20240829 rel.71119"
|
|
}
|
|
}
|
|
},
|
|
"getFirmwareAutoUpgradeConfig": {
|
|
"auto_upgrade": {
|
|
"common": {
|
|
"enabled": "on",
|
|
"random_range": 30,
|
|
"time": "03:00"
|
|
}
|
|
}
|
|
},
|
|
"getFirmwareUpdateStatus": {
|
|
"cloud_config": {
|
|
"upgrade_status": {
|
|
"lastUpgradingSuccess": true,
|
|
"state": "normal"
|
|
}
|
|
}
|
|
},
|
|
"getLedStatus": {
|
|
"led": {
|
|
"config": {
|
|
".name": "config",
|
|
".type": "led",
|
|
"enabled": "on"
|
|
}
|
|
}
|
|
},
|
|
"getMatterSetupInfo": {
|
|
"setup_code": "00000000000",
|
|
"setup_payload": "00:0000000000000000000"
|
|
},
|
|
"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": 30,
|
|
"siren_type": "Doorbell Ring 3",
|
|
"volume": "10"
|
|
},
|
|
"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+01:00",
|
|
"zone_id": "Europe/Amsterdam"
|
|
}
|
|
}
|
|
}
|
|
}
|