mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Rename experimental fixtures folder to smartcamera (#1191)
This commit is contained in:
606
kasa/tests/fixtures/smartcamera/C210(EU)_2.0_1.4.2.json
vendored
Normal file
606
kasa/tests/fixtures/smartcamera/C210(EU)_2.0_1.4.2.json
vendored
Normal file
@@ -0,0 +1,606 @@
|
||||
{
|
||||
"discovery_result": {
|
||||
"decrypted_data": {
|
||||
"connect_ssid": "0000000000",
|
||||
"connect_type": "wireless",
|
||||
"device_id": "0000000000000000000000000000000000000000",
|
||||
"http_port": 443,
|
||||
"last_alarm_time": "0",
|
||||
"last_alarm_type": "",
|
||||
"owner": "00000000000000000000000000000000",
|
||||
"sd_status": "offline"
|
||||
},
|
||||
"device_id": "00000000000000000000000000000000",
|
||||
"device_model": "C210",
|
||||
"device_name": "00000 000",
|
||||
"device_type": "SMART.IPCAMERA",
|
||||
"encrypt_info": {
|
||||
"data": "",
|
||||
"key": "",
|
||||
"sym_schm": "AES"
|
||||
},
|
||||
"encrypt_type": [
|
||||
"3"
|
||||
],
|
||||
"factory_default": false,
|
||||
"firmware_version": "1.4.2 Build 240829 Rel.54953n",
|
||||
"hardware_version": "2.0",
|
||||
"ip": "127.0.0.123",
|
||||
"is_support_iot_cloud": true,
|
||||
"mac": "40-AE-30-00-00-00",
|
||||
"mgt_encrypt_schm": {
|
||||
"is_support_https": true
|
||||
}
|
||||
},
|
||||
"getAlertConfig": {
|
||||
"msg_alarm": {
|
||||
"capability": {
|
||||
"alarm_duration_support": "1",
|
||||
"alarm_volume_support": "1",
|
||||
"alert_event_type_support": "1",
|
||||
"usr_def_audio_alarm_max_num": "15",
|
||||
"usr_def_audio_alarm_support": "1",
|
||||
"usr_def_audio_max_duration": "15",
|
||||
"usr_def_audio_type": "0",
|
||||
"usr_def_start_file_id": "8195"
|
||||
},
|
||||
"chn1_msg_alarm_info": {
|
||||
"alarm_duration": "0",
|
||||
"alarm_mode": [
|
||||
"sound",
|
||||
"light"
|
||||
],
|
||||
"alarm_type": "0",
|
||||
"alarm_volume": "high",
|
||||
"enabled": "off",
|
||||
"light_alarm_enabled": "on",
|
||||
"light_type": "1",
|
||||
"sound_alarm_enabled": "on"
|
||||
},
|
||||
"usr_def_audio": []
|
||||
}
|
||||
},
|
||||
"getAlertTypeList": {
|
||||
"msg_alarm": {
|
||||
"alert_type": {
|
||||
"alert_type_list": [
|
||||
"Siren",
|
||||
"Tone"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"getAudioConfig": {
|
||||
"audio_config": {
|
||||
"microphone": {
|
||||
"bitrate": "64",
|
||||
"channels": "1",
|
||||
"echo_cancelling": "off",
|
||||
"encode_type": "G711alaw",
|
||||
"input_device_type": "MicIn",
|
||||
"mute": "off",
|
||||
"noise_cancelling": "on",
|
||||
"sampling_rate": "8",
|
||||
"volume": "100"
|
||||
},
|
||||
"speaker": {
|
||||
"mute": "off",
|
||||
"output_device_type": "SpeakerOut",
|
||||
"volume": "100"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getBCDConfig": {
|
||||
"sound_detection": {
|
||||
"bcd": {
|
||||
"digital_sensitivity": "50",
|
||||
"enabled": "off",
|
||||
"sensitivity": "medium"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getCircularRecordingConfig": {
|
||||
"harddisk_manage": {
|
||||
"harddisk": {
|
||||
"loop": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getConnectionType": {
|
||||
"link_type": "wifi",
|
||||
"rssi": "2",
|
||||
"rssiValue": -64,
|
||||
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||
},
|
||||
"getDetectionConfig": {
|
||||
"motion_detection": {
|
||||
"motion_det": {
|
||||
"digital_sensitivity": "50",
|
||||
"enabled": "on",
|
||||
"non_vehicle_enabled": "off",
|
||||
"people_enabled": "off",
|
||||
"sensitivity": "medium",
|
||||
"vehicle_enabled": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getDeviceInfo": {
|
||||
"device_info": {
|
||||
"basic_info": {
|
||||
"avatar": "Home",
|
||||
"barcode": "",
|
||||
"dev_id": "0000000000000000000000000000000000000000",
|
||||
"device_alias": "#MASKED_NAME#",
|
||||
"device_info": "C210 2.0 IPC",
|
||||
"device_model": "C210",
|
||||
"device_name": "0000 0.0",
|
||||
"device_type": "SMART.IPCAMERA",
|
||||
"features": 3,
|
||||
"ffs": false,
|
||||
"has_set_location_info": 1,
|
||||
"hw_desc": "00000000000000000000000000000000",
|
||||
"hw_id": "00000000000000000000000000000000",
|
||||
"hw_version": "2.0",
|
||||
"is_cal": true,
|
||||
"latitude": 0,
|
||||
"longitude": 0,
|
||||
"mac": "40-AE-30-00-00-00",
|
||||
"manufacturer_name": "TP-LINK",
|
||||
"mobile_access": "0",
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"region": "EU",
|
||||
"sw_version": "1.4.2 Build 240829 Rel.54953n"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getFirmwareAutoUpgradeConfig": {
|
||||
"auto_upgrade": {
|
||||
"common": {
|
||||
"enabled": "on",
|
||||
"random_range": "120",
|
||||
"time": "03:00"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getFirmwareUpdateStatus": {
|
||||
"cloud_config": {
|
||||
"upgrade_status": {
|
||||
"lastUpgradingSuccess": true,
|
||||
"state": "normal"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getLastAlarmInfo": {
|
||||
"msg_alarm": {
|
||||
"chn1_msg_alarm_info": {
|
||||
"alarm_duration": "0",
|
||||
"alarm_mode": [
|
||||
"sound",
|
||||
"light"
|
||||
],
|
||||
"alarm_type": "0",
|
||||
"alarm_volume": "high",
|
||||
"enabled": "off",
|
||||
"light_alarm_enabled": "on",
|
||||
"light_type": "1",
|
||||
"sound_alarm_enabled": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getLdc": {
|
||||
"image": {
|
||||
"common": {
|
||||
"area_compensation": "default",
|
||||
"auto_exp_antiflicker": "off",
|
||||
"auto_exp_gain_max": "0",
|
||||
"backlight": "off",
|
||||
"chroma": "50",
|
||||
"contrast": "50",
|
||||
"dehaze": "off",
|
||||
"eis": "off",
|
||||
"exp_gain": "0",
|
||||
"exp_level": "0",
|
||||
"exp_type": "auto",
|
||||
"focus_limited": "10",
|
||||
"focus_type": "manual",
|
||||
"high_light_compensation": "off",
|
||||
"inf_delay": "5",
|
||||
"inf_end_time": "21600",
|
||||
"inf_sensitivity": "1",
|
||||
"inf_sensitivity_day2night": "1400",
|
||||
"inf_sensitivity_night2day": "9100",
|
||||
"inf_start_time": "64800",
|
||||
"inf_type": "auto",
|
||||
"iris_level": "160",
|
||||
"light_freq_mode": "auto",
|
||||
"lock_blue_colton": "0",
|
||||
"lock_blue_gain": "0",
|
||||
"lock_gb_gain": "0",
|
||||
"lock_gr_gain": "0",
|
||||
"lock_green_colton": "0",
|
||||
"lock_red_colton": "0",
|
||||
"lock_red_gain": "0",
|
||||
"lock_source": "local",
|
||||
"luma": "50",
|
||||
"saturation": "50",
|
||||
"sharpness": "50",
|
||||
"shutter": "1/25",
|
||||
"smartir": "off",
|
||||
"smartir_level": "100",
|
||||
"smartwtl": "auto_wtl",
|
||||
"smartwtl_digital_level": "100",
|
||||
"smartwtl_level": "5",
|
||||
"style": "standard",
|
||||
"wb_B_gain": "50",
|
||||
"wb_G_gain": "50",
|
||||
"wb_R_gain": "50",
|
||||
"wb_type": "auto",
|
||||
"wd_gain": "50",
|
||||
"wide_dynamic": "off",
|
||||
"wtl_delay": "5",
|
||||
"wtl_end_time": "21600",
|
||||
"wtl_sensitivity": "4",
|
||||
"wtl_sensitivity_day2night": "1400",
|
||||
"wtl_sensitivity_night2day": "9100",
|
||||
"wtl_start_time": "64800",
|
||||
"wtl_type": "auto"
|
||||
},
|
||||
"switch": {
|
||||
"best_view_distance": "0",
|
||||
"clear_licence_plate_mode": "off",
|
||||
"flip_type": "off",
|
||||
"full_color_min_keep_time": "5",
|
||||
"full_color_people_enhance": "off",
|
||||
"image_scene_mode": "normal",
|
||||
"image_scene_mode_autoday": "normal",
|
||||
"image_scene_mode_autonight": "normal",
|
||||
"image_scene_mode_common": "normal",
|
||||
"image_scene_mode_shedday": "normal",
|
||||
"image_scene_mode_shednight": "normal",
|
||||
"ldc": "off",
|
||||
"night_vision_mode": "inf_night_vision",
|
||||
"overexposure_people_suppression": "off",
|
||||
"rotate_type": "off",
|
||||
"schedule_end_time": "64800",
|
||||
"schedule_start_time": "21600",
|
||||
"switch_mode": "common",
|
||||
"wtl_force_time": "300",
|
||||
"wtl_intensity_level": "5",
|
||||
"wtl_manual_start_flag": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getLedStatus": {
|
||||
"led": {
|
||||
"config": {
|
||||
"enabled": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getLensMaskConfig": {
|
||||
"lens_mask": {
|
||||
"lens_mask_info": {
|
||||
"enabled": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getLightFrequencyInfo": {
|
||||
"image": {
|
||||
"common": {
|
||||
"area_compensation": "default",
|
||||
"auto_exp_antiflicker": "off",
|
||||
"auto_exp_gain_max": "0",
|
||||
"backlight": "off",
|
||||
"chroma": "50",
|
||||
"contrast": "50",
|
||||
"dehaze": "off",
|
||||
"eis": "off",
|
||||
"exp_gain": "0",
|
||||
"exp_level": "0",
|
||||
"exp_type": "auto",
|
||||
"focus_limited": "10",
|
||||
"focus_type": "manual",
|
||||
"high_light_compensation": "off",
|
||||
"inf_delay": "5",
|
||||
"inf_end_time": "21600",
|
||||
"inf_sensitivity": "1",
|
||||
"inf_sensitivity_day2night": "1400",
|
||||
"inf_sensitivity_night2day": "9100",
|
||||
"inf_start_time": "64800",
|
||||
"inf_type": "auto",
|
||||
"iris_level": "160",
|
||||
"light_freq_mode": "auto",
|
||||
"lock_blue_colton": "0",
|
||||
"lock_blue_gain": "0",
|
||||
"lock_gb_gain": "0",
|
||||
"lock_gr_gain": "0",
|
||||
"lock_green_colton": "0",
|
||||
"lock_red_colton": "0",
|
||||
"lock_red_gain": "0",
|
||||
"lock_source": "local",
|
||||
"luma": "50",
|
||||
"saturation": "50",
|
||||
"sharpness": "50",
|
||||
"shutter": "1/25",
|
||||
"smartir": "off",
|
||||
"smartir_level": "100",
|
||||
"smartwtl": "auto_wtl",
|
||||
"smartwtl_digital_level": "100",
|
||||
"smartwtl_level": "5",
|
||||
"style": "standard",
|
||||
"wb_B_gain": "50",
|
||||
"wb_G_gain": "50",
|
||||
"wb_R_gain": "50",
|
||||
"wb_type": "auto",
|
||||
"wd_gain": "50",
|
||||
"wide_dynamic": "off",
|
||||
"wtl_delay": "5",
|
||||
"wtl_end_time": "21600",
|
||||
"wtl_sensitivity": "4",
|
||||
"wtl_sensitivity_day2night": "1400",
|
||||
"wtl_sensitivity_night2day": "9100",
|
||||
"wtl_start_time": "64800",
|
||||
"wtl_type": "auto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getMediaEncrypt": {
|
||||
"cet": {
|
||||
"media_encrypt": {
|
||||
"enabled": "on"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getMsgPushConfig": {
|
||||
"msg_push": {
|
||||
"chn1_msg_push_info": {
|
||||
"notification_enabled": "on",
|
||||
"rich_notification_enabled": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getNightVisionCapability": {
|
||||
"image_capability": {
|
||||
"supplement_lamp": {
|
||||
"night_vision_mode_range": [
|
||||
"inf_night_vision"
|
||||
],
|
||||
"supplement_lamp_type": [
|
||||
"infrared_lamp"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"getNightVisionModeConfig": {
|
||||
"image": {
|
||||
"switch": {
|
||||
"best_view_distance": "0",
|
||||
"clear_licence_plate_mode": "off",
|
||||
"flip_type": "off",
|
||||
"full_color_min_keep_time": "5",
|
||||
"full_color_people_enhance": "off",
|
||||
"image_scene_mode": "normal",
|
||||
"image_scene_mode_autoday": "normal",
|
||||
"image_scene_mode_autonight": "normal",
|
||||
"image_scene_mode_common": "normal",
|
||||
"image_scene_mode_shedday": "normal",
|
||||
"image_scene_mode_shednight": "normal",
|
||||
"ldc": "off",
|
||||
"night_vision_mode": "inf_night_vision",
|
||||
"overexposure_people_suppression": "off",
|
||||
"rotate_type": "off",
|
||||
"schedule_end_time": "64800",
|
||||
"schedule_start_time": "21600",
|
||||
"switch_mode": "common",
|
||||
"wtl_force_time": "300",
|
||||
"wtl_intensity_level": "5",
|
||||
"wtl_manual_start_flag": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getPersonDetectionConfig": {
|
||||
"people_detection": {
|
||||
"detection": {
|
||||
"enabled": "on",
|
||||
"sensitivity": "50"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getPresetConfig": {
|
||||
"preset": {
|
||||
"preset": {
|
||||
"id": [],
|
||||
"name": [],
|
||||
"position_pan": [],
|
||||
"position_tilt": [],
|
||||
"position_zoom": [],
|
||||
"read_only": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"getRecordPlan": {
|
||||
"record_plan": {
|
||||
"chn1_channel": {
|
||||
"enabled": "on",
|
||||
"friday": "[\"0000-2400:2\"]",
|
||||
"monday": "[\"0000-2400:2\"]",
|
||||
"saturday": "[\"0000-2400:2\"]",
|
||||
"sunday": "[\"0000-2400:2\"]",
|
||||
"thursday": "[\"0000-2400:2\"]",
|
||||
"tuesday": "[\"0000-2400:2\"]",
|
||||
"wednesday": "[\"0000-2400:2\"]"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getRotationStatus": {
|
||||
"image": {
|
||||
"switch": {
|
||||
"best_view_distance": "0",
|
||||
"clear_licence_plate_mode": "off",
|
||||
"flip_type": "off",
|
||||
"full_color_min_keep_time": "5",
|
||||
"full_color_people_enhance": "off",
|
||||
"image_scene_mode": "normal",
|
||||
"image_scene_mode_autoday": "normal",
|
||||
"image_scene_mode_autonight": "normal",
|
||||
"image_scene_mode_common": "normal",
|
||||
"image_scene_mode_shedday": "normal",
|
||||
"image_scene_mode_shednight": "normal",
|
||||
"ldc": "off",
|
||||
"night_vision_mode": "inf_night_vision",
|
||||
"overexposure_people_suppression": "off",
|
||||
"rotate_type": "off",
|
||||
"schedule_end_time": "64800",
|
||||
"schedule_start_time": "21600",
|
||||
"switch_mode": "common",
|
||||
"wtl_force_time": "300",
|
||||
"wtl_intensity_level": "5",
|
||||
"wtl_manual_start_flag": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getSdCardStatus": {
|
||||
"harddisk_manage": {
|
||||
"hd_info": [
|
||||
{
|
||||
"hd_info_1": {
|
||||
"crossline_free_space": "0B",
|
||||
"crossline_free_space_accurate": "0B",
|
||||
"crossline_total_space": "0B",
|
||||
"crossline_total_space_accurate": "0B",
|
||||
"detect_status": "offline",
|
||||
"disk_name": "1",
|
||||
"free_space": "0B",
|
||||
"free_space_accurate": "0B",
|
||||
"loop_record_status": "0",
|
||||
"msg_push_free_space": "0B",
|
||||
"msg_push_free_space_accurate": "0B",
|
||||
"msg_push_total_space": "0B",
|
||||
"msg_push_total_space_accurate": "0B",
|
||||
"percent": "0",
|
||||
"picture_free_space": "0B",
|
||||
"picture_free_space_accurate": "0B",
|
||||
"picture_total_space": "0B",
|
||||
"picture_total_space_accurate": "0B",
|
||||
"record_duration": "0",
|
||||
"record_free_duration": "0",
|
||||
"record_start_time": "0",
|
||||
"rw_attr": "r",
|
||||
"status": "offline",
|
||||
"total_space": "0B",
|
||||
"total_space_accurate": "0B",
|
||||
"type": "local",
|
||||
"video_free_space": "0B",
|
||||
"video_free_space_accurate": "0B",
|
||||
"video_total_space": "0B",
|
||||
"video_total_space_accurate": "0B",
|
||||
"write_protect": "0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"getTamperDetectionConfig": {
|
||||
"tamper_detection": {
|
||||
"tamper_det": {
|
||||
"digital_sensitivity": "50",
|
||||
"enabled": "off",
|
||||
"sensitivity": "medium"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getTargetTrackConfig": {
|
||||
"target_track": {
|
||||
"target_track_info": {
|
||||
"back_time": "30",
|
||||
"enabled": "off",
|
||||
"track_mode": "pantilt",
|
||||
"track_time": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getVideoCapability": {
|
||||
"video_capability": {
|
||||
"main": {
|
||||
"bitrate_types": [
|
||||
"cbr",
|
||||
"vbr"
|
||||
],
|
||||
"bitrates": [
|
||||
"256",
|
||||
"512",
|
||||
"1024",
|
||||
"1382",
|
||||
"2048"
|
||||
],
|
||||
"change_fps_support": "1",
|
||||
"encode_types": [
|
||||
"H264",
|
||||
"H265"
|
||||
],
|
||||
"frame_rates": [
|
||||
"65551",
|
||||
"65556",
|
||||
"65561"
|
||||
],
|
||||
"minor_stream_support": "0",
|
||||
"qualitys": [
|
||||
"1",
|
||||
"3",
|
||||
"5"
|
||||
],
|
||||
"resolutions": [
|
||||
"2304*1296",
|
||||
"1920*1080",
|
||||
"1280*720"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"getVideoQualities": {
|
||||
"video": {
|
||||
"main": {
|
||||
"bitrate": "1382",
|
||||
"bitrate_type": "vbr",
|
||||
"default_bitrate": "1382",
|
||||
"encode_type": "H264",
|
||||
"frame_rate": "65551",
|
||||
"name": "VideoEncoder_1",
|
||||
"quality": "3",
|
||||
"resolution": "1920*1080",
|
||||
"smart_codec": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getWhitelampConfig": {
|
||||
"image": {
|
||||
"switch": {
|
||||
"best_view_distance": "0",
|
||||
"clear_licence_plate_mode": "off",
|
||||
"flip_type": "off",
|
||||
"full_color_min_keep_time": "5",
|
||||
"full_color_people_enhance": "off",
|
||||
"image_scene_mode": "normal",
|
||||
"image_scene_mode_autoday": "normal",
|
||||
"image_scene_mode_autonight": "normal",
|
||||
"image_scene_mode_common": "normal",
|
||||
"image_scene_mode_shedday": "normal",
|
||||
"image_scene_mode_shednight": "normal",
|
||||
"ldc": "off",
|
||||
"night_vision_mode": "inf_night_vision",
|
||||
"overexposure_people_suppression": "off",
|
||||
"rotate_type": "off",
|
||||
"schedule_end_time": "64800",
|
||||
"schedule_start_time": "21600",
|
||||
"switch_mode": "common",
|
||||
"wtl_force_time": "300",
|
||||
"wtl_intensity_level": "5",
|
||||
"wtl_manual_start_flag": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"getWhitelampStatus": {
|
||||
"rest_time": 0,
|
||||
"status": 0
|
||||
}
|
||||
}
|
292
kasa/tests/fixtures/smartcamera/H200(US)_1.0_1.3.6.json
vendored
Normal file
292
kasa/tests/fixtures/smartcamera/H200(US)_1.0_1.3.6.json
vendored
Normal file
@@ -0,0 +1,292 @@
|
||||
{
|
||||
"getAlertConfig": {},
|
||||
"getChildDeviceList": {
|
||||
"child_device_list": [
|
||||
{
|
||||
"at_low_battery": false,
|
||||
"avatar": "sensor_t310",
|
||||
"bind_count": 1,
|
||||
"category": "subg.trigger.temp-hmdt-sensor",
|
||||
"current_humidity": 51,
|
||||
"current_humidity_exception": 0,
|
||||
"current_temp": 19.4,
|
||||
"current_temp_exception": -0.6,
|
||||
"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": -113,
|
||||
"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": -36,
|
||||
"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": 53,
|
||||
"current_humidity_exception": 0,
|
||||
"current_temp": 18.3,
|
||||
"current_temp_exception": -0.7,
|
||||
"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": -114,
|
||||
"jamming_signal_level": 1,
|
||||
"lastOnboardingTimestamp": 1724637369,
|
||||
"mac": "202351000000",
|
||||
"model": "T315",
|
||||
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||
"region": "Australia/Canberra",
|
||||
"report_interval": 16,
|
||||
"rssi": -50,
|
||||
"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": -116,
|
||||
"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": -55,
|
||||
"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": -114,
|
||||
"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": -38,
|
||||
"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": -104,
|
||||
"jamming_signal_level": 2,
|
||||
"lastOnboardingTimestamp": 1724636886,
|
||||
"mac": "98254A000000",
|
||||
"model": "S200B",
|
||||
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||
"region": "Australia/Canberra",
|
||||
"report_interval": 16,
|
||||
"rssi": -36,
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": "0000 0.0",
|
||||
"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": "0000 0.0",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user