Closed RedNo7 closed 2 months ago
@RedNo7 Just to confirm (unrelated), your cameras are running on electricity, not battery or solar right?
For the issue, please post screenshot from the official tapo app of the options available.
@RedNo7 Just to confirm (unrelated), your cameras are running on electricity, not battery or solar right?
My camera are powered but this issue refers to my battery operated DS230 doorbell.
Which one of these is the doorbell? Front, Garage, Hub
Could you please post a screenshot of attributes under developer tools for the doorbell?
For the issue, please post screenshot from the official tapo app of the options available.
Funnily enough, I was checking that just now and cannot actually see a night mode
option that has off
, on
, auto
.
Under 'video and Display, I do have
night mode settings`:
Which one of these is the doorbell? Front, Garage, Hub
none. The doorbell is a device under hub
though.
Do the options On and Off work at all? What do they do?
Could you please post a screenshot of attributes under developer tools for the doorbell?
how do I do this (where is it) or do you mean a list of all the entities for the doorbell?
Nevermind on that, there is no camera entity on doorbell or hub devices at all, all good there. Just check what on/off via integration does out of curiosity.
Do the options On and Off work at all? What do they do?
Honestly, I never noticed this entity before now, and only because it popped up as unknown
. off
and on
do stick but not sure what it does.
Nevermind on that, there is no camera entity on doorbell or hub devices at all, all good there. Just check what on/off via integration does out of curiosity.
OK, got it.
off
sets Night mode Settings
to full colour
on
sets night mode settings
to infrared
...so I assume auto
should set night mode settings
to Doorbell mode
??
Let me get back in about 10 min with further instructions, need to think on this a bit and finish one PR.
Since you have multiple cameras, just post all 3 to be safe. You should see something like this (value will be different, and possibly False):
and
I couldn't find raw update data
, but searching for night vision ode
shows these 4 lines. 2 say hub
so I assume one is the doorbell.
2024-07-20 13:56:08.327 DEBUG (MainThread) [custom_components.tapo_control] {'raw': {'getDeviceInfo': [{'device_info': {'basic_info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}, 'info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}}}], 'getDetectionConfig': [False], 'getPersonDetectionConfig': [False], 'getVehicleDetectionConfig': [False], 'getBCDConfig': [False], 'getPetDetectionConfig': [False], 'getBarkDetectionConfig': [False], 'getMeowDetectionConfig': [False], 'getGlassDetectionConfig': [False], 'getTamperDetectionConfig': [False], 'getLensMaskConfig': [False], 'getLdc': [False], 'getLastAlarmInfo': [False], 'getLedStatus': [{'led': {'config': {'.name': 'config', '.type': 'led', 'enabled': 'on'}}}], 'getTargetTrackConfig': [False], 'getPresetConfig': [False], 'getFirmwareUpdateStatus': [{'cloud_config': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}}], 'getMediaEncrypt': [{'cet': {'media_encrypt': {'enabled': 'on'}}}], 'getConnectionType': [{'link_type': 'ethernet'}], 'getAlarmConfig': [False], 'getAlarmPlan': [False], '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']}, False], 'getSirenConfig': [{'siren_type': 'Doorbell Ring 2', 'volume': '6', 'duration': 5}], 'getLightTypeList': [False], 'getSirenStatus': [{'status': 'off', 'time_left': 0}, False], 'getLightFrequencyInfo': [False], 'getLightFrequencyCapability': [False], 'getChildDeviceList': [{'start_index': 0, 'child_device_list': [{'device_id': '8021B7BCF9B97CD2231768645F13642B21F3B6DD', 'parent_device_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'device_model': 'D230', 'device_name': 'D230 1.0', 'alias': 'Doorbell', 'avatar': 'camera d230', 'sw_ver': '1.1.16 Build 20240617 rel.65780', 'hw_ver': '1.0', 'mac': '5C:E9:31:B5:B6:11', 'device_type': 'SMART.IPCAMERA', 'category': 'camera', 'hw_id': 'FA0B0A09DE3399EB4F20616A92FA7A18', 'oem_id': 'CC76064AF2058DA42D6752DA96D088F6', 'system_time': 1721480167, 'led_status': 'on', 'updating': False, 'online': True, 'firmware_status': 'OK', 'power': 'BATTERY', 'battery_percent': 60, 'battery_charging': 'NO', 'rssi': -48, 'dev_name': 'Tapo Smart Doorbell', 'ipaddr': '172.23.30.2', 'short_addr': 0, 'ext_addr': '5CE931B5B6110000', 'status': 'configured', 'onboarding_timestamp': 1713463117, 'battery_voltage': 3804, 'battery_temperature': 25, 'battery_installed': 1, 'low_battery': False, 'power_save_mode': 'auto', 'power_save_status': 'off', 'uptime': 2189169, 'cam_uptime': 5593, 'subg_cam_rssi': 0, 'subg_hub_rssi': 0, 'region': 'EU', 'anti_theft_status': 0}], 'sum': 1}], 'getRotationStatus': [False], 'getNightVisionModeConfig': [False], 'getWhitelampStatus': [False], 'getWhitelampConfig': [False], 'getMsgPushConfig': [False], 'getSdCardStatus': [{'harddisk_manage': {'hd_info': [{'hd_info_1': {'disk_name': '1', 'loop_record_status': '1', 'rw_attr': 'rw', 'total_space': '476.62 GB', 'write_protect': '0', 'type': 'local', 'status': 'normal', 'detect_status': 'normal', 'percent': '100', 'free_space': '472.33 GB', 'video_total_space': '452.79 GB', 'video_free_space': '448.49 GB'}}]}}], 'getCircularRecordingConfig': [{'harddisk_manage': {'harddisk': {'loop': 'on'}}}], 'getRecordPlan': [False], 'getAudioConfig': [False], 'getFirmwareAutoUpgradeConfig': [{'auto_upgrade': {'common': {'enabled': 'on', 'time': '03:00', 'random_range': 30}}}], 'getVideoQualities': [False], 'getVideoCapability': [False]}, 'user': 'admin', 'basic_info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}, 'motion_detection_enabled': None, 'motion_detection_sensitivity': None, 'motion_detection_digital_sensitivity': None, 'person_detection_enabled': None, 'person_detection_sensitivity': None, 'vehicle_detection_enabled': None, 'vehicle_detection_sensitivity': None, 'babyCry_detection_enabled': None, 'babyCry_detection_sensitivity': None, 'pet_detection_enabled': None, 'pet_detection_sensitivity': None, 'bark_detection_enabled': None, 'bark_detection_sensitivity': None, 'meow_detection_enabled': None, 'meow_detection_sensitivity': None, 'glass_detection_enabled': None, 'glass_detection_sensitivity': None, 'tamper_detection_enabled': None, 'tamper_detection_sensitivity': None, 'privacy_mode': None, 'notifications': None, 'rich_notifications': None, 'lens_distrotion_correction': None, 'light_frequency_mode': None, 'day_night_mode': None, 'force_white_lamp_state': None, 'flip': None, 'alarm': None, 'alarm_mode': None, 'led': 'on', 'auto_track': None, 'presets': {}, 'firmwareUpdateStatus': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}, 'childDevices': {'start_index': 0, 'child_device_list': [{'device_id': '8021B7BCF9B97CD2231768645F13642B21F3B6DD', 'parent_device_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'device_model': 'D230', 'device_name': 'D230 1.0', 'alias': 'Doorbell', 'avatar': 'camera d230', 'sw_ver': '1.1.16 Build 20240617 rel.65780', 'hw_ver': '1.0', 'mac': '5C:E9:31:B5:B6:11', 'device_type': 'SMART.IPCAMERA', 'category': 'camera', 'hw_id': 'FA0B0A09DE3399EB4F20616A92FA7A18', 'oem_id': 'CC76064AF2058DA42D6752DA96D088F6', 'system_time': 1721480167, 'led_status': 'on', 'updating': False, 'online': True, 'firmware_status': 'OK', 'power': 'BATTERY', 'battery_percent': 60, 'battery_charging': 'NO', 'rssi': -48, 'dev_name': 'Tapo Smart Doorbell', 'ipaddr': '172.23.30.2', 'short_addr': 0, 'ext_addr': '5CE931B5B6110000', 'status': 'configured', 'onboarding_timestamp': 1713463117, 'battery_voltage': 3804, 'battery_temperature': 25, 'battery_installed': 1, 'low_battery': False, 'power_save_mode': 'auto', 'power_save_status': 'off', 'uptime': 2189169, 'cam_uptime': 5593, 'subg_cam_rssi': 0, 'subg_hub_rssi': 0, 'region': 'EU', 'anti_theft_status': 0}], 'sum': 1}, 'whitelampConfigForceTime': None, 'whitelampConfigIntensity': None, 'whitelampStatus': None, 'sdCardData': [{'disk_name': '1', 'loop_record_status': '1', 'rw_attr': 'rw', 'total_space': '476.62 GB', 'write_protect': '0', 'type': 'local', 'status': 'normal', 'detect_status': 'normal', 'percent': '100', 'free_space': '472.33 GB', 'video_total_space': '452.79 GB', 'video_free_space': '448.49 GB'}], 'recordPlan': None, 'microphoneVolume': None, 'microphoneMute': None, 'microphoneNoiseCancelling': None, 'speakerVolume': None, 'autoUpgradeEnabled': 'on', 'connectionInformation': {'link_type': 'ethernet'}, 'videoCapability': False, 'videoQualities': False}
2024-07-20 13:56:56.001 DEBUG (MainThread) [custom_components.tapo_control] {'raw': {'getDeviceInfo': [{'device_info': {'basic_info': {'device_type': 'SMART.IPCAMERA', 'device_info': 'C325WB 1.0 IPC', 'features': 3, 'barcode': '', 'device_model': 'C325WB', 'sw_version': '1.1.17 Build 240529 Rel.57938n', 'device_name': 'C325WB 1.0', 'hw_version': '1.0', 'device_alias': 'Garage', 'mobile_access': '0', 'mac': 'F0-A7-31-5B-9C-A7', 'dev_id': '8021FDB31867B6EB820B3DF1957AE30A21DB1F04', 'hw_id': '27E58F86343A05F1F3A90E5F2F7952CA', 'oem_id': '45A364BF130D6772384832DF1C48546B', 'hw_desc': '00000000000000000000000000000000', 'manufacturer_name': 'TP-LINK', 'region': 'EU', 'ffs': False, 'is_cal': True, 'avatar': 'camera c310', 'has_set_location_info': 1, 'longitude': -12276, 'latitude': 518650}}}], 'getDetectionConfig': [{'motion_detection': {'motion_det': {'enabled': 'off', 'sensitivity': 'high', 'digital_sensitivity': '80', 'people_enabled': 'off', 'vehicle_enabled': 'off', 'non_vehicle_enabled': 'off'}}}], 'getPersonDetectionConfig': [{'people_detection': {'detection': {'enabled': 'on', 'sensitivity': '80'}}}], 'getVehicleDetectionConfig': [{'vehicle_detection': {'detection': {'enabled': 'on', 'sensitivity': '70'}}}], 'getBCDConfig': [False], 'getPetDetectionConfig': [{'pet_detection': {'detection': {'enabled': 'off', 'sensitivity': '60'}}}], 'getBarkDetectionConfig': [False], 'getMeowDetectionConfig': [False], 'getGlassDetectionConfig': [False], 'getTamperDetectionConfig': [{'tamper_detection': {'tamper_det': {'enabled': 'on', 'sensitivity': 'medium', 'digital_sensitivity': '50'}}}], 'getLensMaskConfig': [{'lens_mask': {'lens_mask_info': {'enabled': 'off'}}}], 'getLdc': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '15', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}, 'common': {'chroma': '50', 'luma': '50', 'sharpness': '50', 'saturation': '50', 'contrast': '50', 'inf_delay': '5', 'wd_gain': '50', 'exp_gain': '0', 'smartir_level': '0', 'auto_exp_gain_max': '0', 'wb_R_gain': '50', 'wb_B_gain': '50', 'wb_G_gain': '50', 'wtl_sensitivity': '4', 'wtl_delay': '5', 'wtl_sensitivity_day2night': '1400', 'wtl_sensitivity_night2day': '9100', 'iris_level': '160', 'lock_red_gain': '0', 'lock_gr_gain': '0', 'lock_gb_gain': '0', 'lock_blue_gain': '0', 'lock_red_colton': '0', 'lock_green_colton': '0', 'lock_blue_colton': '0', 'focus_limited': '10', 'inf_start_time': '64800', 'inf_end_time': '21600', 'wtl_start_time': '64800', 'wtl_end_time': '21600', 'inf_sensitivity_day2night': '1400', 'inf_sensitivity_night2day': '9100', 'wide_dynamic': 'off', 'high_light_compensation': 'off', 'dehaze': 'off', 'eis': 'off', 'auto_exp_antiflicker': 'off', 'inf_type': 'auto', 'inf_sensitivity': '4', 'wtl_type': 'auto', 'backlight': 'off', 'area_compensation': 'default', 'smartir': 'auto_ir', 'exp_type': 'auto', 'exp_level': '0', 'shutter': '1/25', 'style': 'standard', 'focus_type': 'manual', 'wb_type': 'auto', 'lock_source': 'local', 'smartwtl': 'auto_wtl', 'smartwtl_level': '5', 'smartwtl_digital_level': '100', 'light_freq_mode': 'auto'}}}], 'getLastAlarmInfo': [{'msg_alarm': {'chn1_msg_alarm_info': {'enabled': 'off', 'light_alarm_enabled': 'on', 'alarm_mode': ['sound'], 'alarm_type': '0', 'light_type': '1', 'sound_alarm_enabled': 'on', 'alarm_volume': 'low', 'alarm_duration': '0'}}}], 'getLedStatus': [{'led': {'config': {'enabled': 'on'}}}], 'getTargetTrackConfig': [False], 'getPresetConfig': [False], 'getFirmwareUpdateStatus': [{'cloud_config': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}}], 'getMediaEncrypt': [{'cet': {'media_encrypt': {'enabled': 'on'}}}], 'getConnectionType': [{'link_type': 'ethernet'}], 'getAlarmConfig': [False], 'getAlarmPlan': [False], 'getSirenTypeList': [False, False], 'getSirenConfig': [False], 'getLightTypeList': [False], 'getSirenStatus': [False, False], 'getLightFrequencyInfo': [{'image': {'common': {'chroma': '50', 'luma': '50', 'sharpness': '50', 'saturation': '50', 'contrast': '50', 'inf_delay': '5', 'wd_gain': '50', 'exp_gain': '0', 'smartir_level': '0', 'auto_exp_gain_max': '0', 'wb_R_gain': '50', 'wb_B_gain': '50', 'wb_G_gain': '50', 'wtl_sensitivity': '4', 'wtl_delay': '5', 'wtl_sensitivity_day2night': '1400', 'wtl_sensitivity_night2day': '9100', 'iris_level': '160', 'lock_red_gain': '0', 'lock_gr_gain': '0', 'lock_gb_gain': '0', 'lock_blue_gain': '0', 'lock_red_colton': '0', 'lock_green_colton': '0', 'lock_blue_colton': '0', 'focus_limited': '10', 'inf_start_time': '64800', 'inf_end_time': '21600', 'wtl_start_time': '64800', 'wtl_end_time': '21600', 'inf_sensitivity_day2night': '1400', 'inf_sensitivity_night2day': '9100', 'wide_dynamic': 'off', 'high_light_compensation': 'off', 'dehaze': 'off', 'eis': 'off', 'auto_exp_antiflicker': 'off', 'inf_type': 'auto', 'inf_sensitivity': '4', 'wtl_type': 'auto', 'backlight': 'off', 'area_compensation': 'default', 'smartir': 'auto_ir', 'exp_type': 'auto', 'exp_level': '0', 'shutter': '1/25', 'style': 'standard', 'focus_type': 'manual', 'wb_type': 'auto', 'lock_source': 'local', 'smartwtl': 'auto_wtl', 'smartwtl_level': '5', 'smartwtl_digital_level': '100', 'light_freq_mode': 'auto'}}}], 'getLightFrequencyCapability': [False], 'getChildDeviceList': [False], 'getRotationStatus': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '15', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getNightVisionModeConfig': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '15', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getWhitelampStatus': [{'status': 0, 'rest_time': 0}], 'getWhitelampConfig': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '15', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getMsgPushConfig': [{'msg_push': {'chn1_msg_push_info': {'notification_enabled': 'off', 'rich_notification_enabled': 'off'}}}], 'getSdCardStatus': [{'harddisk_manage': {'hd_info': [{'hd_info_1': {'disk_name': '1', 'rw_attr': 'rw', 'status': 'normal', 'detect_status': 'normal', 'write_protect': '0', 'percent': '100', 'type': 'local', 'record_duration': '0', 'record_free_duration': '0', 'record_start_time': '1707326188', 'loop_record_status': '0', 'total_space': '476.3GB', 'total_space_accurate': '511475220480B', 'free_space': '270.1GB', 'free_space_accurate': '289971618568B', 'video_total_space': '457.0GB', 'video_total_space_accurate': '490700013568B', 'video_free_space': '270.1GB', 'video_free_space_accurate': '289971618568B', 'picture_total_space': '0B', 'picture_total_space_accurate': '0B', 'picture_free_space': '0B', 'picture_free_space_accurate': '0B', 'crossline_total_space': '0B', 'crossline_total_space_accurate': '0B', 'crossline_free_space': '0B', 'crossline_free_space_accurate': '0B', 'msg_push_total_space': '0B', 'msg_push_total_space_accurate': '0B', 'msg_push_free_space': '0B', 'msg_push_free_space_accurate': '0B'}}]}}], 'getCircularRecordingConfig': [{'harddisk_manage': {'harddisk': {'loop': 'on'}}}], 'getRecordPlan': [{'record_plan': {'chn1_channel': {'enabled': 'on', 'monday': '["0000-2400:2"]', 'tuesday': '["0000-2400:2"]', 'wednesday': '["0000-2400:2"]', 'thursday': '["0000-2400:2"]', 'friday': '["0000-2400:2"]', 'saturday': '["0000-2400:2"]', 'sunday': '["0000-2400:2"]'}}}], 'getAudioConfig': [{'audio_config': {'speaker': {'volume': '100', 'mute': 'off', 'output_device_type': 'SpeakerOut'}, 'microphone': {'sampling_rate': '8', 'channels': '1', 'encode_type': 'G711alaw', 'mute': 'off', 'volume': '0', 'input_device_type': 'MicIn', 'noise_cancelling': 'on', 'bitrate': '64', 'echo_cancelling': 'off'}}}], 'getFirmwareAutoUpgradeConfig': [{'auto_upgrade': {'common': {'enabled': 'on', 'time': '08:00', 'random_range': '120'}}}], 'getVideoQualities': [{'video': {'main': {'quality': '3', 'bitrate': '3072', 'frame_rate': '65556', 'smart_codec': 'off', 'encode_type': 'H264', 'resolution': '2688*1520', 'bitrate_type': 'vbr', 'name': 'VideoEncoder_1', 'default_bitrate': '3072', 'hdr': '0'}}}], 'getVideoCapability': [{'video_capability': {'main': {'encode_types': ['H264', 'H265'], 'frame_rates': ['65537', '65546', '65551', '65556'], 'bitrates': ['256', '512', '1024', '1536', '3072'], 'bitrate_types': ['cbr', 'vbr'], 'resolutions': ['2688*1520', '1920*1080', '1280*720'], 'qualitys': ['1', '3', '5'], 'hdrs': ['0', '1'], 'minor_stream_support': '1'}}}]}, 'user': 'admin', 'basic_info': {'device_type': 'SMART.IPCAMERA', 'device_info': 'C325WB 1.0 IPC', 'features': 3, 'barcode': '', 'device_model': 'C325WB', 'sw_version': '1.1.17 Build 240529 Rel.57938n', 'device_name': 'C325WB 1.0', 'hw_version': '1.0', 'device_alias': 'Garage', 'mobile_access': '0', 'mac': 'F0-A7-31-5B-9C-A7', 'dev_id': '8021FDB31867B6EB820B3DF1957AE30A21DB1F04', 'hw_id': '27E58F86343A05F1F3A90E5F2F7952CA', 'oem_id': '45A364BF130D6772384832DF1C48546B', 'hw_desc': '00000000000000000000000000000000', 'manufacturer_name': 'TP-LINK', 'region': 'EU', 'ffs': False, 'is_cal': True, 'avatar': 'camera c310', 'has_set_location_info': 1, 'longitude': -12276, 'latitude': 518650}, 'motion_detection_enabled': 'off', 'motion_detection_sensitivity': 'high', 'motion_detection_digital_sensitivity': '80', 'person_detection_enabled': 'on', 'person_detection_sensitivity': 'high', 'vehicle_detection_enabled': 'on', 'vehicle_detection_sensitivity': 'high', 'babyCry_detection_enabled': None, 'babyCry_detection_sensitivity': None, 'pet_detection_enabled': 'off', 'pet_detection_sensitivity': 'normal', 'bark_detection_enabled': None, 'bark_detection_sensitivity': None, 'meow_detection_enabled': None, 'meow_detection_sensitivity': None, 'glass_detection_enabled': None, 'glass_detection_sensitivity': None, 'tamper_detection_enabled': 'on', 'tamper_detection_sensitivity': 'high', 'privacy_mode': 'off', 'notifications': 'off', 'rich_notifications': 'off', 'lens_distrotion_correction': 'off', 'light_frequency_mode': 'auto', 'day_night_mode': 'auto', 'force_white_lamp_state': None, 'flip': 'off', 'alarm': 'off', 'alarm_mode': ['sound'], 'led': 'on', 'auto_track': None, 'presets': {}, 'firmwareUpdateStatus': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}, 'childDevices': False, 'whitelampConfigForceTime': '300', 'whitelampConfigIntensity': '15', 'whitelampStatus': 0, 'sdCardData': [{'disk_name': '1', 'rw_attr': 'rw', 'status': 'normal', 'detect_status': 'normal', 'write_protect': '0', 'percent': '100', 'type': 'local', 'record_duration': '0', 'record_free_duration': '0', 'record_start_time': '1707326188', 'loop_record_status': '0', 'total_space': '476.3GB', 'total_space_accurate': '511475220480B', 'free_space': '270.1GB', 'free_space_accurate': '289971618568B', 'video_total_space': '457.0GB', 'video_total_space_accurate': '490700013568B', 'video_free_space': '270.1GB', 'video_free_space_accurate': '289971618568B', 'picture_total_space': '0B', 'picture_total_space_accurate': '0B', 'picture_free_space': '0B', 'picture_free_space_accurate': '0B', 'crossline_total_space': '0B', 'crossline_total_space_accurate': '0B', 'crossline_free_space': '0B', 'crossline_free_space_accurate': '0B', 'msg_push_total_space': '0B', 'msg_push_total_space_accurate': '0B', 'msg_push_free_space': '0B', 'msg_push_free_space_accurate': '0B'}], 'recordPlan': {'enabled': 'on', 'monday': '["0000-2400:2"]', 'tuesday': '["0000-2400:2"]', 'wednesday': '["0000-2400:2"]', 'thursday': '["0000-2400:2"]', 'friday': '["0000-2400:2"]', 'saturday': '["0000-2400:2"]', 'sunday': '["0000-2400:2"]'}, 'microphoneVolume': '0', 'microphoneMute': 'off', 'microphoneNoiseCancelling': 'on', 'speakerVolume': '100', 'autoUpgradeEnabled': 'on', 'connectionInformation': {'link_type': 'ethernet'}, 'videoCapability': {'video_capability': {'main': {'encode_types': ['H264', 'H265'], 'frame_rates': ['65537', '65546', '65551', '65556'], 'bitrates': ['256', '512', '1024', '1536', '3072'], 'bitrate_types': ['cbr', 'vbr'], 'resolutions': ['2688*1520', '1920*1080', '1280*720'], 'qualitys': ['1', '3', '5'], 'hdrs': ['0', '1'], 'minor_stream_support': '1'}}}, 'videoQualities': {'video': {'main': {'quality': '3', 'bitrate': '3072', 'frame_rate': '65556', 'smart_codec': 'off', 'encode_type': 'H264', 'resolution': '2688*1520', 'bitrate_type': 'vbr', 'name': 'VideoEncoder_1', 'default_bitrate': '3072', 'hdr': '0'}}}}
2024-07-20 13:57:09.061 DEBUG (MainThread) [custom_components.tapo_control] {'raw': {'getDeviceInfo': [{'device_info': {'basic_info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}, 'info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}}}], 'getDetectionConfig': [False], 'getPersonDetectionConfig': [False], 'getVehicleDetectionConfig': [False], 'getBCDConfig': [False], 'getPetDetectionConfig': [False], 'getBarkDetectionConfig': [False], 'getMeowDetectionConfig': [False], 'getGlassDetectionConfig': [False], 'getTamperDetectionConfig': [False], 'getLensMaskConfig': [False], 'getLdc': [False], 'getLastAlarmInfo': [False], 'getLedStatus': [{'led': {'config': {'.name': 'config', '.type': 'led', 'enabled': 'on'}}}], 'getTargetTrackConfig': [False], 'getPresetConfig': [False], 'getFirmwareUpdateStatus': [{'cloud_config': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}}], 'getMediaEncrypt': [{'cet': {'media_encrypt': {'enabled': 'on'}}}], 'getConnectionType': [{'link_type': 'ethernet'}], 'getAlarmConfig': [False], 'getAlarmPlan': [False], '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']}, False], 'getSirenConfig': [{'siren_type': 'Doorbell Ring 2', 'volume': '6', 'duration': 5}], 'getLightTypeList': [False], 'getSirenStatus': [{'status': 'off', 'time_left': 0}, False], 'getLightFrequencyInfo': [False], 'getLightFrequencyCapability': [False], 'getChildDeviceList': [{'start_index': 0, 'child_device_list': [{'device_id': '8021B7BCF9B97CD2231768645F13642B21F3B6DD', 'parent_device_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'device_model': 'D230', 'device_name': 'D230 1.0', 'alias': 'Doorbell', 'avatar': 'camera d230', 'sw_ver': '1.1.16 Build 20240617 rel.65780', 'hw_ver': '1.0', 'mac': '5C:E9:31:B5:B6:11', 'device_type': 'SMART.IPCAMERA', 'category': 'camera', 'hw_id': 'FA0B0A09DE3399EB4F20616A92FA7A18', 'oem_id': 'CC76064AF2058DA42D6752DA96D088F6', 'system_time': 1721480228, 'led_status': 'on', 'updating': False, 'online': True, 'firmware_status': 'OK', 'power': 'BATTERY', 'battery_percent': 60, 'battery_charging': 'NO', 'rssi': -48, 'dev_name': 'Tapo Smart Doorbell', 'ipaddr': '172.23.30.2', 'short_addr': 0, 'ext_addr': '5CE931B5B6110000', 'status': 'configured', 'onboarding_timestamp': 1713463117, 'battery_voltage': 3804, 'battery_temperature': 25, 'battery_installed': 1, 'low_battery': False, 'power_save_mode': 'auto', 'power_save_status': 'off', 'uptime': 2189230, 'cam_uptime': 5593, 'subg_cam_rssi': 0, 'subg_hub_rssi': 0, 'region': 'EU', 'anti_theft_status': 0}], 'sum': 1}], 'getRotationStatus': [False], 'getNightVisionModeConfig': [False], 'getWhitelampStatus': [False], 'getWhitelampConfig': [False], 'getMsgPushConfig': [False], 'getSdCardStatus': [{'harddisk_manage': {'hd_info': [{'hd_info_1': {'disk_name': '1', 'loop_record_status': '1', 'rw_attr': 'rw', 'total_space': '476.62 GB', 'write_protect': '0', 'type': 'local', 'status': 'normal', 'detect_status': 'normal', 'percent': '100', 'free_space': '472.33 GB', 'video_total_space': '452.79 GB', 'video_free_space': '448.49 GB'}}]}}], 'getCircularRecordingConfig': [{'harddisk_manage': {'harddisk': {'loop': 'on'}}}], 'getRecordPlan': [False], 'getAudioConfig': [False], 'getFirmwareAutoUpgradeConfig': [{'auto_upgrade': {'common': {'enabled': 'on', 'time': '03:00', 'random_range': 30}}}], 'getVideoQualities': [False], 'getVideoCapability': [False]}, 'user': 'admin', 'basic_info': {'device_type': 'SMART.TAPOHUB', 'device_model': 'H200', 'device_name': 'H200 1.0', 'device_info': 'H200 1.0', 'hw_version': '1.0', 'sw_version': '1.3.3 Build 20240604 rel.61598', 'device_alias': 'Hub', 'mac': 'F0-A7-31-98-06-A2', 'dev_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'oem_id': '20BDFF5DD35D9F82C31FC30217AA348D', 'hw_id': '99A36151C79A3A5D72823C98BC0FDA5F', 'status': 'configured', 'bind_status': True, 'child_num': 1, 'avatar': 'hub_h200', 'latitude': 518650, 'longitude': -12276, 'has_set_location_info': 1, 'need_sync_sha1_password': 0, 'product_name': 'Tapo Smart Hub', 'region': 'EU'}, 'motion_detection_enabled': None, 'motion_detection_sensitivity': None, 'motion_detection_digital_sensitivity': None, 'person_detection_enabled': None, 'person_detection_sensitivity': None, 'vehicle_detection_enabled': None, 'vehicle_detection_sensitivity': None, 'babyCry_detection_enabled': None, 'babyCry_detection_sensitivity': None, 'pet_detection_enabled': None, 'pet_detection_sensitivity': None, 'bark_detection_enabled': None, 'bark_detection_sensitivity': None, 'meow_detection_enabled': None, 'meow_detection_sensitivity': None, 'glass_detection_enabled': None, 'glass_detection_sensitivity': None, 'tamper_detection_enabled': None, 'tamper_detection_sensitivity': None, 'privacy_mode': None, 'notifications': None, 'rich_notifications': None, 'lens_distrotion_correction': None, 'light_frequency_mode': None, 'day_night_mode': None, 'force_white_lamp_state': None, 'flip': None, 'alarm': None, 'alarm_mode': None, 'led': 'on', 'auto_track': None, 'presets': {}, 'firmwareUpdateStatus': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}, 'childDevices': {'start_index': 0, 'child_device_list': [{'device_id': '8021B7BCF9B97CD2231768645F13642B21F3B6DD', 'parent_device_id': '802DF8EA1206D2FF2C96F98D9EAC719B21ED0446', 'device_model': 'D230', 'device_name': 'D230 1.0', 'alias': 'Doorbell', 'avatar': 'camera d230', 'sw_ver': '1.1.16 Build 20240617 rel.65780', 'hw_ver': '1.0', 'mac': '5C:E9:31:B5:B6:11', 'device_type': 'SMART.IPCAMERA', 'category': 'camera', 'hw_id': 'FA0B0A09DE3399EB4F20616A92FA7A18', 'oem_id': 'CC76064AF2058DA42D6752DA96D088F6', 'system_time': 1721480228, 'led_status': 'on', 'updating': False, 'online': True, 'firmware_status': 'OK', 'power': 'BATTERY', 'battery_percent': 60, 'battery_charging': 'NO', 'rssi': -48, 'dev_name': 'Tapo Smart Doorbell', 'ipaddr': '172.23.30.2', 'short_addr': 0, 'ext_addr': '5CE931B5B6110000', 'status': 'configured', 'onboarding_timestamp': 1713463117, 'battery_voltage': 3804, 'battery_temperature': 25, 'battery_installed': 1, 'low_battery': False, 'power_save_mode': 'auto', 'power_save_status': 'off', 'uptime': 2189230, 'cam_uptime': 5593, 'subg_cam_rssi': 0, 'subg_hub_rssi': 0, 'region': 'EU', 'anti_theft_status': 0}], 'sum': 1}, 'whitelampConfigForceTime': None, 'whitelampConfigIntensity': None, 'whitelampStatus': None, 'sdCardData': [{'disk_name': '1', 'loop_record_status': '1', 'rw_attr': 'rw', 'total_space': '476.62 GB', 'write_protect': '0', 'type': 'local', 'status': 'normal', 'detect_status': 'normal', 'percent': '100', 'free_space': '472.33 GB', 'video_total_space': '452.79 GB', 'video_free_space': '448.49 GB'}], 'recordPlan': None, 'microphoneVolume': None, 'microphoneMute': None, 'microphoneNoiseCancelling': None, 'speakerVolume': None, 'autoUpgradeEnabled': 'on', 'connectionInformation': {'link_type': 'ethernet'}, 'videoCapability': False, 'videoQualities': False}
2024-07-20 13:57:15.944 DEBUG (MainThread) [custom_components.tapo_control] {'raw': {'getDeviceInfo': [{'device_info': {'basic_info': {'device_type': 'SMART.IPCAMERA', 'device_info': 'C325WB 1.0 IPC', 'features': 3, 'barcode': '', 'device_model': 'C325WB', 'sw_version': '1.1.17 Build 240529 Rel.57938n', 'device_name': 'C325WB 1.0', 'hw_version': '1.0', 'device_alias': 'Front', 'mobile_access': '0', 'mac': 'F0-A7-31-5B-8E-37', 'dev_id': '8021CD2F99F952A42A0985E51D439F5421DA2B4A', 'hw_id': '27E58F86343A05F1F3A90E5F2F7952CA', 'oem_id': '45A364BF130D6772384832DF1C48546B', 'hw_desc': '00000000000000000000000000000000', 'manufacturer_name': 'TP-LINK', 'region': 'EU', 'ffs': False, 'is_cal': True, 'avatar': 'camera c310', 'has_set_location_info': 1, 'longitude': -12276, 'latitude': 518650}}}], 'getDetectionConfig': [{'motion_detection': {'motion_det': {'enabled': 'off', 'sensitivity': 'high', 'digital_sensitivity': '80', 'people_enabled': 'off', 'vehicle_enabled': 'off', 'non_vehicle_enabled': 'off'}}}], 'getPersonDetectionConfig': [{'people_detection': {'detection': {'enabled': 'on', 'sensitivity': '90'}}}], 'getVehicleDetectionConfig': [{'vehicle_detection': {'detection': {'enabled': 'on', 'sensitivity': '70'}}}], 'getBCDConfig': [False], 'getPetDetectionConfig': [{'pet_detection': {'detection': {'enabled': 'off', 'sensitivity': '60'}}}], 'getBarkDetectionConfig': [False], 'getMeowDetectionConfig': [False], 'getGlassDetectionConfig': [False], 'getTamperDetectionConfig': [{'tamper_detection': {'tamper_det': {'enabled': 'on', 'sensitivity': 'high', 'digital_sensitivity': '80'}}}], 'getLensMaskConfig': [{'lens_mask': {'lens_mask_info': {'enabled': 'off'}}}], 'getLdc': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '30', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}, 'common': {'chroma': '50', 'luma': '50', 'sharpness': '50', 'saturation': '50', 'contrast': '50', 'inf_delay': '5', 'wd_gain': '50', 'exp_gain': '0', 'smartir_level': '0', 'auto_exp_gain_max': '0', 'wb_R_gain': '50', 'wb_B_gain': '50', 'wb_G_gain': '50', 'wtl_sensitivity': '4', 'wtl_delay': '5', 'wtl_sensitivity_day2night': '1400', 'wtl_sensitivity_night2day': '9100', 'iris_level': '160', 'lock_red_gain': '0', 'lock_gr_gain': '0', 'lock_gb_gain': '0', 'lock_blue_gain': '0', 'lock_red_colton': '0', 'lock_green_colton': '0', 'lock_blue_colton': '0', 'focus_limited': '10', 'inf_start_time': '64800', 'inf_end_time': '21600', 'wtl_start_time': '64800', 'wtl_end_time': '21600', 'inf_sensitivity_day2night': '1400', 'inf_sensitivity_night2day': '9100', 'wide_dynamic': 'off', 'high_light_compensation': 'off', 'dehaze': 'off', 'eis': 'off', 'auto_exp_antiflicker': 'off', 'inf_type': 'auto', 'inf_sensitivity': '4', 'wtl_type': 'auto', 'backlight': 'off', 'area_compensation': 'default', 'smartir': 'auto_ir', 'exp_type': 'auto', 'exp_level': '0', 'shutter': '1/25', 'style': 'standard', 'focus_type': 'manual', 'wb_type': 'auto', 'lock_source': 'local', 'smartwtl': 'auto_wtl', 'smartwtl_level': '5', 'smartwtl_digital_level': '100', 'light_freq_mode': 'auto'}}}], 'getLastAlarmInfo': [{'msg_alarm': {'chn1_msg_alarm_info': {'enabled': 'off', 'light_alarm_enabled': 'on', 'alarm_mode': ['sound'], 'alarm_type': '0', 'light_type': '1', 'sound_alarm_enabled': 'on', 'alarm_volume': 'low', 'alarm_duration': '0'}}}], 'getLedStatus': [{'led': {'config': {'enabled': 'on'}}}], 'getTargetTrackConfig': [False], 'getPresetConfig': [False], 'getFirmwareUpdateStatus': [{'cloud_config': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}}], 'getMediaEncrypt': [{'cet': {'media_encrypt': {'enabled': 'on'}}}], 'getConnectionType': [{'link_type': 'ethernet'}], 'getAlarmConfig': [False], 'getAlarmPlan': [False], 'getSirenTypeList': [False, False], 'getSirenConfig': [False], 'getLightTypeList': [False], 'getSirenStatus': [False, False], 'getLightFrequencyInfo': [{'image': {'common': {'chroma': '50', 'luma': '50', 'sharpness': '50', 'saturation': '50', 'contrast': '50', 'inf_delay': '5', 'wd_gain': '50', 'exp_gain': '0', 'smartir_level': '0', 'auto_exp_gain_max': '0', 'wb_R_gain': '50', 'wb_B_gain': '50', 'wb_G_gain': '50', 'wtl_sensitivity': '4', 'wtl_delay': '5', 'wtl_sensitivity_day2night': '1400', 'wtl_sensitivity_night2day': '9100', 'iris_level': '160', 'lock_red_gain': '0', 'lock_gr_gain': '0', 'lock_gb_gain': '0', 'lock_blue_gain': '0', 'lock_red_colton': '0', 'lock_green_colton': '0', 'lock_blue_colton': '0', 'focus_limited': '10', 'inf_start_time': '64800', 'inf_end_time': '21600', 'wtl_start_time': '64800', 'wtl_end_time': '21600', 'inf_sensitivity_day2night': '1400', 'inf_sensitivity_night2day': '9100', 'wide_dynamic': 'off', 'high_light_compensation': 'off', 'dehaze': 'off', 'eis': 'off', 'auto_exp_antiflicker': 'off', 'inf_type': 'auto', 'inf_sensitivity': '4', 'wtl_type': 'auto', 'backlight': 'off', 'area_compensation': 'default', 'smartir': 'auto_ir', 'exp_type': 'auto', 'exp_level': '0', 'shutter': '1/25', 'style': 'standard', 'focus_type': 'manual', 'wb_type': 'auto', 'lock_source': 'local', 'smartwtl': 'auto_wtl', 'smartwtl_level': '5', 'smartwtl_digital_level': '100', 'light_freq_mode': 'auto'}}}], 'getLightFrequencyCapability': [False], 'getChildDeviceList': [False], 'getRotationStatus': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '30', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getNightVisionModeConfig': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '30', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getWhitelampStatus': [{'status': 0, 'rest_time': 0}], 'getWhitelampConfig': [{'image': {'switch': {'schedule_end_time': '64800', 'schedule_start_time': '21600', 'clear_licence_plate_mode': 'off', 'switch_mode': 'common', 'rotate_type': 'off', 'flip_type': 'off', 'ldc': 'off', 'night_vision_mode': 'wtl_night_vision', 'full_color_people_enhance': 'off', 'full_color_min_keep_time': '5', 'wtl_intensity_level': '30', 'wtl_force_time': '300', 'overexposure_people_suppression': 'off', 'best_view_distance': '0', 'image_scene_mode': 'normal', 'image_scene_mode_common': 'normal', 'image_scene_mode_shedday': 'normal', 'image_scene_mode_shednight': 'normal', 'image_scene_mode_autoday': 'normal', 'image_scene_mode_autonight': 'normal'}}}], 'getMsgPushConfig': [{'msg_push': {'chn1_msg_push_info': {'notification_enabled': 'off', 'rich_notification_enabled': 'off'}}}], 'getSdCardStatus': [{'harddisk_manage': {'hd_info': [{'hd_info_1': {'disk_name': '1', 'rw_attr': 'rw', 'status': 'normal', 'detect_status': 'normal', 'write_protect': '0', 'percent': '100', 'type': 'local', 'record_duration': '0', 'record_free_duration': '0', 'record_start_time': '1699380261', 'loop_record_status': '0', 'total_space': '476.3GB', 'total_space_accurate': '511475220480B', 'free_space': '269.1GB', 'free_space_accurate': '288988094044B', 'video_total_space': '457.0GB', 'video_total_space_accurate': '490700013568B', 'video_free_space': '269.1GB', 'video_free_space_accurate': '288988094044B', 'picture_total_space': '0B', 'picture_total_space_accurate': '0B', 'picture_free_space': '0B', 'picture_free_space_accurate': '0B', 'crossline_total_space': '0B', 'crossline_total_space_accurate': '0B', 'crossline_free_space': '0B', 'crossline_free_space_accurate': '0B', 'msg_push_total_space': '0B', 'msg_push_total_space_accurate': '0B', 'msg_push_free_space': '0B', 'msg_push_free_space_accurate': '0B'}}]}}], 'getCircularRecordingConfig': [{'harddisk_manage': {'harddisk': {'loop': 'on'}}}], 'getRecordPlan': [{'record_plan': {'chn1_channel': {'enabled': 'on', 'monday': '["0000-2400:2"]', 'tuesday': '["0000-2400:2"]', 'wednesday': '["0000-2400:2"]', 'thursday': '["0000-2400:2"]', 'friday': '["0000-2400:2"]', 'saturday': '["0000-2400:2"]', 'sunday': '["0000-2400:2"]'}}}], 'getAudioConfig': [{'audio_config': {'speaker': {'volume': '100', 'mute': 'off', 'output_device_type': 'SpeakerOut'}, 'microphone': {'sampling_rate': '8', 'channels': '1', 'encode_type': 'G711alaw', 'mute': 'off', 'volume': '0', 'input_device_type': 'MicIn', 'noise_cancelling': 'on', 'bitrate': '64', 'echo_cancelling': 'off'}}}], 'getFirmwareAutoUpgradeConfig': [{'auto_upgrade': {'common': {'enabled': 'on', 'time': '07:00', 'random_range': '120'}}}], 'getVideoQualities': [{'video': {'main': {'quality': '3', 'bitrate': '3072', 'frame_rate': '65556', 'smart_codec': 'off', 'encode_type': 'H264', 'resolution': '2688*1520', 'bitrate_type': 'vbr', 'name': 'VideoEncoder_1', 'default_bitrate': '3072', 'hdr': '0'}}}], 'getVideoCapability': [{'video_capability': {'main': {'encode_types': ['H264', 'H265'], 'frame_rates': ['65537', '65546', '65551', '65556'], 'bitrates': ['256', '512', '1024', '1536', '3072'], 'bitrate_types': ['cbr', 'vbr'], 'resolutions': ['2688*1520', '1920*1080', '1280*720'], 'qualitys': ['1', '3', '5'], 'hdrs': ['0', '1'], 'minor_stream_support': '1'}}}]}, 'user': 'admin', 'basic_info': {'device_type': 'SMART.IPCAMERA', 'device_info': 'C325WB 1.0 IPC', 'features': 3, 'barcode': '', 'device_model': 'C325WB', 'sw_version': '1.1.17 Build 240529 Rel.57938n', 'device_name': 'C325WB 1.0', 'hw_version': '1.0', 'device_alias': 'Front', 'mobile_access': '0', 'mac': 'F0-A7-31-5B-8E-37', 'dev_id': '8021CD2F99F952A42A0985E51D439F5421DA2B4A', 'hw_id': '27E58F86343A05F1F3A90E5F2F7952CA', 'oem_id': '45A364BF130D6772384832DF1C48546B', 'hw_desc': '00000000000000000000000000000000', 'manufacturer_name': 'TP-LINK', 'region': 'EU', 'ffs': False, 'is_cal': True, 'avatar': 'camera c310', 'has_set_location_info': 1, 'longitude': -12276, 'latitude': 518650}, 'motion_detection_enabled': 'off', 'motion_detection_sensitivity': 'high', 'motion_detection_digital_sensitivity': '80', 'person_detection_enabled': 'on', 'person_detection_sensitivity': 'high', 'vehicle_detection_enabled': 'on', 'vehicle_detection_sensitivity': 'high', 'babyCry_detection_enabled': None, 'babyCry_detection_sensitivity': None, 'pet_detection_enabled': 'off', 'pet_detection_sensitivity': 'normal', 'bark_detection_enabled': None, 'bark_detection_sensitivity': None, 'meow_detection_enabled': None, 'meow_detection_sensitivity': None, 'glass_detection_enabled': None, 'glass_detection_sensitivity': None, 'tamper_detection_enabled': 'on', 'tamper_detection_sensitivity': 'high', 'privacy_mode': 'off', 'notifications': 'off', 'rich_notifications': 'off', 'lens_distrotion_correction': 'off', 'light_frequency_mode': 'auto', 'day_night_mode': 'auto', 'force_white_lamp_state': None, 'flip': 'off', 'alarm': 'off', 'alarm_mode': ['sound'], 'led': 'on', 'auto_track': None, 'presets': {}, 'firmwareUpdateStatus': {'upgrade_status': {'state': 'normal', 'lastUpgradingSuccess': True}}, 'childDevices': False, 'whitelampConfigForceTime': '300', 'whitelampConfigIntensity': '30', 'whitelampStatus': 0, 'sdCardData': [{'disk_name': '1', 'rw_attr': 'rw', 'status': 'normal', 'detect_status': 'normal', 'write_protect': '0', 'percent': '100', 'type': 'local', 'record_duration': '0', 'record_free_duration': '0', 'record_start_time': '1699380261', 'loop_record_status': '0', 'total_space': '476.3GB', 'total_space_accurate': '511475220480B', 'free_space': '269.1GB', 'free_space_accurate': '288988094044B', 'video_total_space': '457.0GB', 'video_total_space_accurate': '490700013568B', 'video_free_space': '269.1GB', 'video_free_space_accurate': '288988094044B', 'picture_total_space': '0B', 'picture_total_space_accurate': '0B', 'picture_free_space': '0B', 'picture_free_space_accurate': '0B', 'crossline_total_space': '0B', 'crossline_total_space_accurate': '0B', 'crossline_free_space': '0B', 'crossline_free_space_accurate': '0B', 'msg_push_total_space': '0B', 'msg_push_total_space_accurate': '0B', 'msg_push_free_space': '0B', 'msg_push_free_space_accurate': '0B'}], 'recordPlan': {'enabled': 'on', 'monday': '["0000-2400:2"]', 'tuesday': '["0000-2400:2"]', 'wednesday': '["0000-2400:2"]', 'thursday': '["0000-2400:2"]', 'friday': '["0000-2400:2"]', 'saturday': '["0000-2400:2"]', 'sunday': '["0000-2400:2"]'}, 'microphoneVolume': '0', 'microphoneMute': 'off', 'microphoneNoiseCancelling': 'on', 'speakerVolume': '100', 'autoUpgradeEnabled': 'on', 'connectionInformation': {'link_type': 'ethernet'}, 'videoCapability': {'video_capability': {'main': {'encode_types': ['H264', 'H265'], 'frame_rates': ['65537', '65546', '65551', '65556'], 'bitrates': ['256', '512', '1024', '1536', '3072'], 'bitrate_types': ['cbr', 'vbr'], 'resolutions': ['2688*1520', '1920*1080', '1280*720'], 'qualitys': ['1', '3', '5'], 'hdrs': ['0', '1'], 'minor_stream_support': '1'}}}, 'videoQualities': {'video': {'main': {'quality': '3', 'bitrate': '3072', 'frame_rate': '65556', 'smart_codec': 'off', 'encode_type': 'H264', 'resolution': '2688*1520', 'bitrate_type': 'vbr', 'name': 'VideoEncoder_1', 'default_bitrate': '3072', 'hdr': '0'}}}}
Does this help?
Unfortunately no.
Try to download https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision this version manually, you should see WARN log messages (no need for debug anymore) and the doorbell should be in there somewhere. Keep it running for around 60 min or so and post results please (or as soon as you see doorbell in there -- not hub).
will do that tomorrow - thanks!
edit: down it, but what results do you want me to post (I still cannot set to auto
).
edit: logs: home-assistant_2024-07-20T17-08-24.486Z.log
Thank you for the logs @RedNo7 .
Still no data for doorbell in there I need, but try this https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision_2 should work, same thing, set to the value in the app and then post logs after an hour.
Will do - cheers
@RedNo7 If you haven't yet, download again, I just pushed further changes to https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision_2 based on new version 5.5.0 having even more information, that should help us here.
Will do - not currently at home.
downloading the newer version now.
thanks.
OK, set the value to auto
(per the app) - it didil;t 'stick; as expected and will wait an hour now.
Set it to doorbell mode via the official app please.
FYI - I have a Tapo hub update. I will wait the hour, send you the logs and then do the update (and then retry in just incase it has an effect).
done. It was already in doorbell
mode so moved it to another option and then back.
will upload in ~30 mins....
Thank you, the only thing that is coming up are logs for C325WB. I am not sure how that is possible. Can you confirm you can see the night vision select for the doorbell?
If you have the option to port forward temporarily the hub so that I can try to connect to it and see the issue myself it would be helpful and would speed up resolution of this issue.
I updated your integration to v5.5.3 and now it says it is no longer being provided by the integration.
I can/will re-download your test version and check again if you like?
@RedNo7 That must be caused by a recent update. Could you please download again https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision_2 and see if it is there now?
If it is, the same as before, keep it running for a while, then post logs.
huh. I can no longer see it with the experiment_night_vision2
version installed.
I hope I haven't been messing you about because I didn't clear by browser cache?
@RedNo7 did you re-download the latest version on https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision_2 I pushed before my comment before?
yes, I did.
Interestingly*, now it is saying that number. doorbell_spotlight_intensity
is no longer being provided.
I'll completely delete the integration and add it again to be sure (using https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/tree/experiment_night_vision_2)
Ok in that case download https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/archive/88a8ac1eea00edc462b9a8ce0b3c3c2118ba7ee2.zip this is from before the changes introduced in 5.5.3, there should be an entity there.
In trustingly, now it is saying that number. doorbell_spotlight_intensity is no longer being provided.
That is ok, there should be a select dropdown instead in that case (not on the version I just posted though).
OK, it's back.
Please post logs once you have them
how's this? home-assistant_2024-07-22T11-12-36.075Z.log
Finally I see the doorbell, I will take a look a bit later on a fix. Thank you!
honestly, THANK YOU!
@RedNo7 What night vision modes to you see for C325WB in the app?
@RedNo7 Please test https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/archive/refs/heads/experiment_night_vision_2.zip . You should see either a Night Vision entity or possibly also a Night Vision Switching entity.
@RedNo7 please still let me know what night vision modes you see for C325WB in the app?
@marcosngomezi could you please test this on C420?
@RedNo7 please still let me know what night vision modes you see for C325WB in the app?
I see:
Both C325WBs are set to 'Full-color Mode" at the moment.
@RedNo7 Please test https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/archive/refs/heads/experiment_night_vision_2.zip . You should see either a Night Vision entity or possibly also a Night Vision Switching entity.
Will do this tomorrow - thanks!
Thank you, please let me know also what you see in the integration for C325WB and what it maps to - for the options that are not there, what do they do in the app?
Hi there, works in C420 and names are more similar(and maybe better) to the ones in the app 👍
Thank you, please let me know also what you see in the integration for C325WB and what it maps to - for the options that are not there, what do they do in the app?
I don't knowingly have any issues with the C325WB, my issue was only with the DS230 doorbell.
...will do this later as well though 👍
@JurajNyiri
OK, installed the latest night_vision_2 and I can now see Night Vision
has been correctly populated with Doorbell Mode
!!
Here is everything for your info:
Edit: Changing Night Vision
in HA changed it also in the Tapo app. Changing it in the Tapo app did not change it in HA (but is that a polling issue)?
Edit2: FYI - number.doorbell_spotlight_intensity
is unavailable again
@RedNo7 Thank you! Let me know when you look into the C325WB, what options it has in HA and what it chooses in the app, and the ones that it doesn't, what does it do in the app? Then I will adjust, merge and release this.
Changing Night Vision in HA changed it also in the Tapo app. Changing it in the Tapo app did not change it in HA (but is that a polling issue)?
Polling delay, but I will double check.
FYI - number.doorbell_spotlight_intensity is unavailable again
Expected, it wasn't supposed to be there on this camera. You can safely delete the entity and use select instead.
@RedNo7 Thank you! Let me know when you look into the C325WB, what options it has in HA and what it chooses in the app, and the ones that it doesn't, what does it do in the app? Then I will adjust, merge and release this.
OK, here is part 1 of the answer - just what is in HA - I'll try to match them to what's in the app later this morning. Note that where there are 2 snapshots the bottom entry of the 1st snapshot is duplicated at the top of the 2nd snapshot to ensure I got them all
UI controls:
UI sensors:
UI config:
UI diagnostic:
UI by entity_ID:
Description
I had power outage resulting in most of my doorbell entities being permanently unavailabel - I was unable to remove the device so pulled the plug on the hub, restarted HA and re-added the hub - all good.
However, the doorbell camera night vision is unable to be set to
auto
- setting toon
oroff
is fine.Reproduction Steps
night vision
auto
The following error appears in the UI
Expected behavior
I expect to be able to select
auto
If applicable, add error logs.
I restarted HA after upgrading to v5.4.28
Device Firmware
1.1.16 build 20240617 rel. 65780
Integration Version
5.4.28 (just updated)
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker on Rpi 4 (2GB)
Search for similar issues
Yes
Additional information
No response