mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-01-01 09:22:42 +00:00
Rename smartcamera to smartcam (#1300)
This commit is contained in:
390
tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json
vendored
Normal file
390
tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json
vendored
Normal file
@@ -0,0 +1,390 @@
|
||||
{
|
||||
"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.2 Build 20240424 rel.75425",
|
||||
"hardware_version": "1.0",
|
||||
"ip": "127.0.0.123",
|
||||
"is_support_iot_cloud": true,
|
||||
"mac": "A8-6E-84-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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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": "double_click",
|
||||
"ver_code": 1
|
||||
}
|
||||
],
|
||||
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1"
|
||||
}
|
||||
],
|
||||
"start_index": 0,
|
||||
"sum": 1
|
||||
},
|
||||
"getChildDeviceList": {
|
||||
"child_device_list": [
|
||||
{
|
||||
"at_low_battery": false,
|
||||
"avatar": "button",
|
||||
"bind_count": 2,
|
||||
"category": "subg.trigger.button",
|
||||
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1",
|
||||
"fw_ver": "1.11.0 Build 230821 Rel.113553",
|
||||
"hw_id": "00000000000000000000000000000000",
|
||||
"hw_ver": "1.0",
|
||||
"jamming_rssi": -108,
|
||||
"jamming_signal_level": 2,
|
||||
"lastOnboardingTimestamp": 1714016798,
|
||||
"mac": "202351000000",
|
||||
"model": "S200B",
|
||||
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||
"region": "Europe/London",
|
||||
"report_interval": 16,
|
||||
"rssi": -66,
|
||||
"signal_level": 3,
|
||||
"specs": "EU",
|
||||
"status": "online",
|
||||
"status_follow_edge": false,
|
||||
"type": "SMART.TAPOSENSOR"
|
||||
}
|
||||
],
|
||||
"start_index": 0,
|
||||
"sum": 1
|
||||
},
|
||||
"getCircularRecordingConfig": {
|
||||
"harddisk_manage": {
|
||||
"harddisk": {
|
||||
"loop": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getClockStatus": {
|
||||
"system": {
|
||||
"clock_status": {
|
||||
"local_time": "2024-11-01 13:56:27",
|
||||
"seconds_from_1970": 1730469387
|
||||
}
|
||||
}
|
||||
},
|
||||
"getConnectionType": {
|
||||
"link_type": "ethernet"
|
||||
},
|
||||
"getDeviceInfo": {
|
||||
"device_info": {
|
||||
"basic_info": {
|
||||
"avatar": "gateway",
|
||||
"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,
|
||||
"longitude": 0,
|
||||
"mac": "A8-6E-84-00-00-00",
|
||||
"need_sync_sha1_password": 0,
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"product_name": "Tapo Smart Hub",
|
||||
"region": "EU",
|
||||
"status": "configured",
|
||||
"sw_version": "1.3.2 Build 20240424 rel.75425"
|
||||
},
|
||||
"info": {
|
||||
"avatar": "gateway",
|
||||
"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,
|
||||
"longitude": 0,
|
||||
"mac": "A8-6E-84-00-00-00",
|
||||
"need_sync_sha1_password": 0,
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"product_name": "Tapo Smart Hub",
|
||||
"region": "EU",
|
||||
"status": "configured",
|
||||
"sw_version": "1.3.2 Build 20240424 rel.75425"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getFirmwareAutoUpgradeConfig": {
|
||||
"auto_upgrade": {
|
||||
"common": {
|
||||
"enabled": "off",
|
||||
"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 1",
|
||||
"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+00:00",
|
||||
"zone_id": "Europe/London"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user